类 LeavesFix.Section
java.lang.Object
net.minecraft.util.datafix.fixes.LeavesFix.Section
- 封闭类:
- LeavesFix
-
字段概要
字段修饰符和类型字段说明protected static final String
private final com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<String,
com.mojang.serialization.Dynamic<?>>> protected final int
protected static final String
protected 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 String
protected PackedBitStorage
-
构造器概要
构造器构造器说明Section
(com.mojang.datafixers.Typed<?> p_16286_, com.mojang.datafixers.schemas.Schema pSchema) -
方法概要
修饰符和类型方法说明int
getBlock
(int pIndex) (专用程序包) int
getIndex()
protected int
getStateId
(String pName, boolean pPersistent, int pDistance) boolean
protected void
readStorage
(com.mojang.serialization.Dynamic<?> pDynamic) protected abstract boolean
com.mojang.datafixers.Typed<?>
write
(com.mojang.datafixers.Typed<?> p_16289_)
-
字段详细资料
-
构造器详细资料
-
Section
public Section(com.mojang.datafixers.Typed<?> p_16286_, com.mojang.datafixers.schemas.Schema pSchema)
-
-
方法详细资料
-
readStorage
protected void readStorage(com.mojang.serialization.Dynamic<?> pDynamic) -
write
public com.mojang.datafixers.Typed<?> write(com.mojang.datafixers.Typed<?> p_16289_) -
isSkippable
public boolean isSkippable() -
getBlock
public int getBlock(int pIndex) -
getStateId
-
getIndex
int getIndex() -
skippable
protected abstract boolean skippable()
-