public class LeavesFix
extends com.mojang.datafixers.DataFix
Modifier and Type | Class and Description |
---|---|
static class |
LeavesFix.LeavesSection |
static class |
LeavesFix.Section |
Modifier and Type | Field and Description |
---|---|
private static int[][] |
DIRECTIONS |
private static it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> |
LEAVES |
private static java.util.Set<java.lang.String> |
LOGS |
Constructor and Description |
---|
LeavesFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
static int |
getIndex(int p_208411_0_,
int p_208411_1_,
int p_208411_2_) |
static int |
getSideMask(boolean p_210537_0_,
boolean p_210537_1_,
boolean p_210537_2_,
boolean p_210537_3_) |
private int |
getX(int p_208412_1_) |
private int |
getY(int p_208421_1_) |
private int |
getZ(int p_208409_1_) |
protected com.mojang.datafixers.TypeRewriteRule |
makeRule() |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
private static final int[][] DIRECTIONS
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<java.lang.String> LEAVES
private static final java.util.Set<java.lang.String> LOGS
public LeavesFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
protected com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
public static int getIndex(int p_208411_0_, int p_208411_1_, int p_208411_2_)
private int getX(int p_208412_1_)
private int getY(int p_208421_1_)
private int getZ(int p_208409_1_)
public static int getSideMask(boolean p_210537_0_, boolean p_210537_1_, boolean p_210537_2_, boolean p_210537_3_)