Class LeavesFix

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

public class LeavesFix extends com.mojang.datafixers.DataFix
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int
     
    private static final int[][]
     
    private static final int
     
    (package private) static final it.unimi.dsi.fastutil.objects.Object2IntMap<String>
     
    (package private) static final Set<String>
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    LeavesFix(com.mojang.datafixers.schemas.Schema p_16205_, boolean p_16206_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    getIndex(int pX, int pY, int pZ)
     
    static int
    getSideMask(boolean pWest, boolean pEast, boolean pNorth, boolean pSouth)
     
    private int
    getX(int pIndex)
     
    private int
    getY(int pIndex)
     
    private int
    getZ(int pIndex)
     
    protected com.mojang.datafixers.TypeRewriteRule
     

    Methods inherited from class com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • LeavesFix

      public LeavesFix(com.mojang.datafixers.schemas.Schema p_16205_, boolean p_16206_)
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • getIndex

      public static int getIndex(int pX, int pY, int pZ)
    • getX

      private int getX(int pIndex)
    • getY

      private int getY(int pIndex)
    • getZ

      private int getZ(int pIndex)
    • getSideMask

      public static int getSideMask(boolean pWest, boolean pEast, boolean pNorth, boolean pSouth)