[1.19.x] Apply general renames, A SRG is provided for modders. (#8840)

See https://gist.github.com/SizableShrimp/882a671ff74256d150776da08c89ef72
This commit is contained in:
SizableShrimp authored and GitHub committed 2022-07-11 18:27:48 -07:00
1 parent 5e8c786406
commit b8b40e1f54
140 files changed
+1138 -1149

No files matched your search

@@ -18,7 +18,7 @@ import net.minecraftforge.fml.LogicalSide;
public class TickEvent extends Event
{
public enum Type {
WORLD, PLAYER, CLIENT, SERVER, RENDER;
LEVEL, PLAYER, CLIENT, SERVER, RENDER;
}
public enum Phase {
@@ -71,14 +71,14 @@ public class TickEvent extends Event
}
}
public static class WorldTickEvent extends TickEvent {
public final Level world;
public static class LevelTickEvent extends TickEvent {
public final Level level;
private final BooleanSupplier haveTime;
public WorldTickEvent(LogicalSide side, Phase phase, Level world, BooleanSupplier haveTime)
public LevelTickEvent(LogicalSide side, Phase phase, Level level, BooleanSupplier haveTime)
{
super(Type.WORLD, side, phase);
this.world = world;
super(Type.LEVEL, side, phase);
this.level = level;
this.haveTime = haveTime;
}