Class LeavesFix.Section
java.lang.Object
net.minecraft.util.datafix.fixes.LeavesFix.Section
- Direct Known Subclasses:
LeavesFix.LeavesSection, TrappedChestBlockEntityFix.TrappedChestSection
- Enclosing class:
LeavesFix
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected final intprotected static final Stringprotected final OpticFinder<List<Pair<String, Dynamic<?>>>> protected static final Stringprotected @Nullable PackedBitStorage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBlock(int pos) (package private) intgetIndex()protected intgetStateId(String blockName, boolean persistent, int distance) booleanprotected voidreadStorage(Dynamic<?> tag) protected abstract booleanTyped<?>
-
Field Details
-
BLOCK_STATES_TAG
- See Also:
-
NAME_TAG
- See Also:
-
PROPERTIES_TAG
- See Also:
-
blockStateType
-
paletteFinder
-
palette
-
index
protected final int index -
storage
-
-
Constructor Details
-
Section
-
-
Method Details
-
readStorage
-
write
-
isSkippable
public boolean isSkippable() -
getBlock
public int getBlock(int pos) -
getStateId
-
getIndex
int getIndex() -
skippable
protected abstract boolean skippable()
-