Package net.minecraft.world.level.chunk
Class UpgradeData
java.lang.Object
net.minecraft.world.level.chunk.UpgradeData
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
(package private) static class
-
Field Summary
Modifier and TypeFieldDescription(package private) static Set<UpgradeData.BlockFixer>
private static Direction8[]
static UpgradeData
private int[][]
private static org.apache.logging.log4j.Logger
(package private) static Map<Block,UpgradeData.BlockFixer>
private EnumSet<Direction8>
private static String
-
Constructor Summary
ModifierConstructorDescriptionUpgradeData(CompoundTag p_156508_, LevelHeightAccessor p_156509_)
private
UpgradeData(LevelHeightAccessor p_156506_)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
private static BlockState
updateState(BlockState p_63336_, Direction p_63337_, LevelAccessor p_63338_, BlockPos p_63339_, BlockPos p_63340_)
void
upgrade(LevelChunk p_63342_)
private void
upgradeInside(LevelChunk p_63348_)
private static void
upgradeSides(LevelChunk p_63344_, Direction8 p_63345_)
write()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
EMPTY
-
TAG_INDICES
- See Also:
- Constant Field Values
-
DIRECTIONS
-
sides
-
index
private final int[][] index -
MAP
-
CHUNKY_FIXERS
-
-
Constructor Details
-
UpgradeData
-
UpgradeData
-
-
Method Details
-
upgrade
-
upgradeSides
-
updateState
private static BlockState updateState(BlockState p_63336_, Direction p_63337_, LevelAccessor p_63338_, BlockPos p_63339_, BlockPos p_63340_) -
upgradeInside
-
isEmpty
public boolean isEmpty() -
write
-