Package net.minecraft.util.datafix.fixes
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
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private static int[][]
private static int
(package private) static it.unimi.dsi.fastutil.objects.Object2IntMap<String>
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getIndex(int p_16211_, int p_16212_, int p_16213_)
static int
getSideMask(boolean p_16237_, boolean p_16238_, boolean p_16239_, boolean p_16240_)
private int
getX(int p_16209_)
private int
getY(int p_16246_)
private int
getZ(int p_16248_)
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
Field Details
-
NORTH_WEST_MASK
private static final int NORTH_WEST_MASK- See Also:
- Constant Field Values
-
WEST_MASK
private static final int WEST_MASK- See Also:
- Constant Field Values
-
SOUTH_WEST_MASK
private static final int SOUTH_WEST_MASK- See Also:
- Constant Field Values
-
SOUTH_MASK
private static final int SOUTH_MASK- See Also:
- Constant Field Values
-
SOUTH_EAST_MASK
private static final int SOUTH_EAST_MASK- See Also:
- Constant Field Values
-
EAST_MASK
private static final int EAST_MASK- See Also:
- Constant Field Values
-
NORTH_EAST_MASK
private static final int NORTH_EAST_MASK- See Also:
- Constant Field Values
-
NORTH_MASK
private static final int NORTH_MASK- See Also:
- Constant Field Values
-
DIRECTIONS
private static final int[][] DIRECTIONS -
DECAY_DISTANCE
private static final int DECAY_DISTANCE- See Also:
- Constant Field Values
-
SIZE_BITS
private static final int SIZE_BITS- See Also:
- Constant Field Values
-
SIZE
private static final int SIZE- See Also:
- Constant Field Values
-
LEAVES
-
LOGS
-
-
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 classcom.mojang.datafixers.DataFix
-
getIndex
public static int getIndex(int p_16211_, int p_16212_, int p_16213_) -
getX
private int getX(int p_16209_) -
getY
private int getY(int p_16246_) -
getZ
private int getZ(int p_16248_) -
getSideMask
public static int getSideMask(boolean p_16237_, boolean p_16238_, boolean p_16239_, boolean p_16240_)
-