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 enum
-
Field Summary
Modifier and TypeFieldDescription(package private) static final Set<UpgradeData.BlockFixer>
private static final Direction8[]
static final UpgradeData
private final int[][]
private static final org.slf4j.Logger
(package private) static final Map<Block,
UpgradeData.BlockFixer> private final EnumSet<Direction8>
private static final String
-
Constructor Summary
ModifierConstructorDescriptionUpgradeData
(CompoundTag p_156508_, LevelHeightAccessor p_156509_) private
UpgradeData
(LevelHeightAccessor p_156506_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
private static <T> void
loadTicks
(CompoundTag p_208133_, String p_208134_, Function<String, Optional<T>> p_208135_, List<SavedTick<T>> p_208136_) 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.slf4j.Logger LOGGER -
EMPTY
-
TAG_INDICES
- See Also:
-
DIRECTIONS
-
sides
-
neighborBlockTicks
-
neighborFluidTicks
-
index
private final int[][] index -
MAP
-
CHUNKY_FIXERS
-
-
Constructor Details
-
UpgradeData
-
UpgradeData
-
-
Method Details
-
loadTicks
-
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
-