aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/graphs
AgeCommit message (Collapse)Author
2022-07-23add(api/enums): particle and sound effect enumerations (#1154)Léa Gris
* add(api/enums): particle and sound effect enumerations - Adds new GregTech API enumerations: - `ParticleFX`: Enumerates known EntityFX particles. - `SoundResource`: Enumerates known sounds with, id and ResourceLocation. - Refactors code to use the new enumerations instead of string literals. - Uses `ParticleFX` and `onRandomDisplayTick` to improve or implement new particle effects for these machines: - BBF: Adds random flames in front of the firebox. - Steam machines: Changes pressure-exhaust particles to white vapour, rather than dark smoke. - Magic Energy Absorber: Adds random effect, of absorbed magical purple particles, by the EnderDragon Egg siphon. - Forge Hammer: Adds sparse random sparks, ejected from the main face.
2022-05-03bandaid fix for the enet npe (#1041)Yang Xizhi
honestly i don't understand how bot's code works, but this initize fix the npe spamming and the shuttler still works https://discord.com/channels/181078474394566657/658620984714067968/968906808670445568
2022-03-02add locks to the node graph so paths can block power transfer #25 (#950)Martin Robertz
Co-authored-by: bot <Krampus.sack.never@gmail.com>
2021-12-10Overflows overflows everywhere (#791)Jason Mitchell
* Reformat * Stop energy calcs from overflowing by switching int->long in several places in the new graph code to be consistent with how they're used elsewhere.
2021-11-23centralized pollution for GT multiesboubou_19
2021-08-16Merge pull request #642 from GTNewHorizons/beter-power-netboubou19
fix wierd burning cable
2021-08-16remove importkorneel vandamme
2021-08-16a better way to stop wierd burningkorneel vandamme
2021-08-16atempt to fix wierd burning cable bugkorneel vandamme
2021-07-05Merge pull request #590 from GTNewHorizons/beter-power-netMartin Robertz
fix overvolatage null crach
2021-07-05fix overvolatage null crachkorneel vandamme
2021-07-03Merge pull request #587 from GTNewHorizons/beter-power-netboubou19
Beter power net
2021-07-03fix extra {korneel vandamme
2021-07-03prevent crach in case getBase is nullkorneel vandamme
2021-07-03nake rest rf actualy workkorneel vandamme
2021-07-03Merge pull request #586 from GTNewHorizons/beter-power-netboubou19
Beter power net
2021-07-03fix ae p2p not workingkorneel vandamme
2021-07-03and actualy push if it is not full amountkorneel vandamme
2021-07-03store rest of RF to later push itkorneel vandamme
2021-07-03fix typos in enet implementationGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-07-02remove debug codekorneel vandamme
2021-06-22change side to from int to bytekorneel vandamme
2021-06-21fix NPE/infinit loop and small refractoringkorneel vandamme
2021-06-16add graph network to pipes and implement it for powerkorneel vandamme