Class LeavesFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.LeavesFix

public class LeavesFix extends DataFix
  • Field Details

  • Constructor Details

    • LeavesFix

      public LeavesFix(Schema outputSchema, boolean changesType)
  • Method Details

    • makeRule

      protected TypeRewriteRule makeRule()
      Specified by:
      makeRule in class DataFix
    • getIndex

      public static int getIndex(int x, int y, int z)
    • getX

      private int getX(int index)
    • getY

      private int getY(int index)
    • getZ

      private int getZ(int index)
    • getSideMask

      public static int getSideMask(boolean west, boolean east, boolean north, boolean south)