类 LeavesFix.LeavesSection
java.lang.Object
net.minecraft.util.datafix.fixes.LeavesFix.Section
net.minecraft.util.datafix.fixes.LeavesFix.LeavesSection
- 封闭类:
- LeavesFix
-
字段概要
字段修饰符和类型字段说明private static final String
private static final String
private it.unimi.dsi.fastutil.ints.IntSet
private it.unimi.dsi.fastutil.ints.IntSet
private static final String
private it.unimi.dsi.fastutil.ints.Int2IntMap
从类继承的字段 net.minecraft.util.datafix.fixes.LeavesFix.Section
BLOCK_STATES_TAG, index, NAME_TAG, palette, paletteFinder, PROPERTIES_TAG, storage
-
构造器概要
构造器构造器说明LeavesSection
(com.mojang.datafixers.Typed<?> p_16254_, com.mojang.datafixers.schemas.Schema pSchema) -
方法概要
修饰符和类型方法说明(专用程序包) int
getDistance
(int p_16279_) boolean
isLeaf
(int pId) boolean
isLog
(int pId) private com.mojang.serialization.Dynamic<?>
makeLeafTag
(com.mojang.serialization.Dynamic<?> pDynamic, String pName, boolean pPersistent, int pDistance) (专用程序包) void
setDistance
(int pIndex, int pBlock, int pDistance) protected boolean
从类继承的方法 net.minecraft.util.datafix.fixes.LeavesFix.Section
getBlock, getIndex, getStateId, isSkippable, readStorage, write
-
字段详细资料
-
构造器详细资料
-
LeavesSection
public LeavesSection(com.mojang.datafixers.Typed<?> p_16254_, com.mojang.datafixers.schemas.Schema pSchema)
-
-
方法详细资料
-
skippable
protected boolean skippable()- 指定者:
skippable
在类中LeavesFix.Section
-
makeLeafTag
private com.mojang.serialization.Dynamic<?> makeLeafTag(com.mojang.serialization.Dynamic<?> pDynamic, String pName, boolean pPersistent, int pDistance) -
isLog
public boolean isLog(int pId) -
isLeaf
public boolean isLeaf(int pId) -
getDistance
int getDistance(int p_16279_) -
setDistance
void setDistance(int pIndex, int pBlock, int pDistance)
-