Package net.minecraft.util.datafix.fixes
Class LeavesFix.LeavesSection
- java.lang.Object
-
- net.minecraft.util.datafix.fixes.LeavesFix.Section
-
- net.minecraft.util.datafix.fixes.LeavesFix.LeavesSection
-
- Enclosing class:
- LeavesFix
public static final class LeavesFix.LeavesSection extends LeavesFix.Section
-
-
Field Summary
Fields Modifier and Type Field Description private it.unimi.dsi.fastutil.ints.IntSet
leaveIds
private it.unimi.dsi.fastutil.ints.IntSet
logIds
private it.unimi.dsi.fastutil.ints.Int2IntMap
stateToIdMap
-
Fields inherited from class net.minecraft.util.datafix.fixes.LeavesFix.Section
index, palette, paletteFinder, storage
-
-
Constructor Summary
Constructors Constructor Description LeavesSection(com.mojang.datafixers.Typed<?> p_i49851_1_, com.mojang.datafixers.schemas.Schema p_i49851_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
getDistance(int p_208459_1_)
boolean
isLeaf(int p_208460_1_)
boolean
isLog(int p_208457_1_)
private com.mojang.serialization.Dynamic<?>
makeLeafTag(com.mojang.serialization.Dynamic<?> p_209770_1_, java.lang.String p_209770_2_, boolean p_209770_3_, int p_209770_4_)
private void
setDistance(int p_208454_1_, int p_208454_2_, int p_208454_3_)
protected boolean
skippable()
-
Methods inherited from class net.minecraft.util.datafix.fixes.LeavesFix.Section
getBlock, getIndex, getStateId, isSkippable, readStorage, write
-
-
-
-
Method Detail
-
skippable
protected boolean skippable()
- Specified by:
skippable
in classLeavesFix.Section
-
makeLeafTag
private com.mojang.serialization.Dynamic<?> makeLeafTag(com.mojang.serialization.Dynamic<?> p_209770_1_, java.lang.String p_209770_2_, boolean p_209770_3_, int p_209770_4_)
-
isLog
public boolean isLog(int p_208457_1_)
-
isLeaf
public boolean isLeaf(int p_208460_1_)
-
getDistance
private int getDistance(int p_208459_1_)
-
setDistance
private void setDistance(int p_208454_1_, int p_208454_2_, int p_208454_3_)
-
-