Package net.minecraft.util.datafix.fixes
Class LeavesFix.Section
java.lang.Object
net.minecraft.util.datafix.fixes.LeavesFix.Section
- Direct Known Subclasses:
- LeavesFix.LeavesSection,- TrappedChestBlockEntityFix.TrappedChestSection
- Enclosing class:
- LeavesFix
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final Stringprivate final com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>> protected final intprotected static final Stringprotected final List<com.mojang.serialization.Dynamic<?>>protected final com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>>> protected static final Stringprotected PackedBitStorage
- 
Constructor SummaryConstructorsConstructorDescriptionSection(com.mojang.datafixers.Typed<?> p_16286_, com.mojang.datafixers.schemas.Schema p_16287_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetBlock(int p_16303_) (package private) intgetIndex()protected intgetStateId(String p_16293_, boolean p_16294_, int p_16295_) booleanprotected voidreadStorage(com.mojang.serialization.Dynamic<?> p_16291_) protected abstract booleancom.mojang.datafixers.Typed<?>write(com.mojang.datafixers.Typed<?> p_16289_) 
- 
Field Details- 
BLOCK_STATES_TAG- See Also:
 
- 
NAME_TAG- See Also:
 
- 
PROPERTIES_TAG- See Also:
 
- 
blockStateTypeprivate final com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>> blockStateType
- 
paletteFinder
- 
palette
- 
indexprotected final int index
- 
storage
 
- 
- 
Constructor Details- 
Sectionpublic Section(com.mojang.datafixers.Typed<?> p_16286_, com.mojang.datafixers.schemas.Schema p_16287_) 
 
- 
- 
Method Details- 
readStorageprotected void readStorage(com.mojang.serialization.Dynamic<?> p_16291_) 
- 
writepublic com.mojang.datafixers.Typed<?> write(com.mojang.datafixers.Typed<?> p_16289_) 
- 
isSkippablepublic boolean isSkippable()
- 
getBlockpublic int getBlock(int p_16303_) 
- 
getStateId
- 
getIndexint getIndex()
- 
skippableprotected abstract boolean skippable()
 
-