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 WordPackedArray
blockStateMap
protected com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>>>
field_5693
protected int
field_5694
private com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>>
field_5695
protected 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 void
computeFixableBlockStates(com.mojang.serialization.Dynamic<?> dynamic)
protected int
computeFlags(String leafBlockName, boolean persistent, int int2)
boolean
isFixed()
(package private) int
method_5077()
com.mojang.datafixers.Typed<?>
method_5083(com.mojang.datafixers.Typed<?> typed)
protected abstract boolean
needsFix()
int
needsFix(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()
-