Package net.minecraft.datafixer.fix
Class LeavesFix.ListFixer
java.lang.Object
net.minecraft.datafixer.fix.LeavesFix.ListFixer
- Direct Known Subclasses:
AddTrappedChestFix.ListFixer,LeavesFix.LeavesLogFixer
- Enclosing class:
- LeavesFix
public abstract static class LeavesFix.ListFixer extends Object
-
Field Summary
Fields Modifier and Type Field Description protected WordPackedArrayblockStateMapprotected com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>>>field_5693protected intfield_5694private com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>>field_5695protected List<com.mojang.serialization.Dynamic<?>>properties -
Constructor Summary
Constructors Constructor Description ListFixer(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.schemas.Schema schema) -
Method Summary
Modifier and Type Method Description protected voidcomputeFixableBlockStates(com.mojang.serialization.Dynamic<?> dynamic)protected intcomputeFlags(String leafBlockName, boolean persistent, int int2)booleanisFixed()(package private) intmethod_5077()com.mojang.datafixers.Typed<?>method_5083(com.mojang.datafixers.Typed<?> typed)protected abstract booleanneedsFix()intneedsFix(int int2)
-
Field Details
-
field_5695
private final com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>> field_5695 -
field_5693
-
properties
-
field_5694
protected final int field_5694 -
blockStateMap
-
-
Constructor Details
-
ListFixer
public ListFixer(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.schemas.Schema schema)
-
-
Method Details
-
computeFixableBlockStates
protected void computeFixableBlockStates(com.mojang.serialization.Dynamic<?> dynamic) -
method_5083
public com.mojang.datafixers.Typed<?> method_5083(com.mojang.datafixers.Typed<?> typed) -
isFixed
public boolean isFixed() -
needsFix
public int needsFix(int int2) -
computeFlags
-
method_5077
int method_5077() -
needsFix
protected abstract boolean needsFix()
-