Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
|
|
git and diff tools will complain if text file does not end with a newline.
Fixed all text files in the repository with Linux bash shell:
```sh
git ls-files -z |
while IFS= read -rd '' f; do
mime="$(file --brief --mime "$f")";
if [ -z "${mime##text/*}" ]; then
tail -c1 "$f" |
read -r _ || printf '\n' >>"$f";
fi;
done
```
|
|
|
|
|
|
|
|
|
|
|
|
* Conditionally trigger an update on front facing (Needed for pipelines)
* Use a queue instead of recursion
|
|
attempt to fix a concurentModificationexeption crash when having large gt block updates
|
|
|
|
|
|
This reverts commit c40ad6aecab563410ad68fde6e39bcc0e3121469.
|
|
This reverts commit 8b93a2909d7285f6506a56889929039c41882845.
|
|
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
https://github.com/GTNewHorizons/GT5-Unofficial into experimentalMogballThreading
# Conflicts:
# src/main/java/gregtech/api/threads/GT_Runnable_MachineBlockUpdate.java
|
|
Use actually something made for this task...
|
|
Use actually something made for this task...
|
|
+ Added a new Thread every time a world is loaded
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
|
|
+ by using toUpdate as sync object
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
|
|
+ shortened "causeMachineUpdate" method
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
|
|
+ actually use the right method (and not the old one lol)
+ Interrupted the Thread onServerAboutToStop
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
|
|
|
|
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|