net.minecraft.world.level.chunk

public class UpgradeData

dzq
net.minecraft.world.level.chunk.UpgradeData
net.minecraft.class_2843
net.minecraft.world.chunk.UpgradeData
net.minecraft.world.level.chunk.ChunkConverter

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_12956
LOGGER
public static final UpgradeData
a
EMPTY
field_12950
NO_UPGRADE_DATA
private static final String
c
TAG_INDICES
field_31412
INDICES_KEY
private static final Direction8[]
d
DIRECTIONS
field_12952
EIGHT_WAYS
private final EnumSet<Direction8>
e
sides
field_12951
sidesToUpgrade
private final List<SavedTick<Block>>
f
neighborBlockTicks
field_36538
blockTicks
private final List<SavedTick<Fluid>>
g
neighborFluidTicks
field_36539
fluidTicks
private final int[][]
h
index
field_12955
centerIndicesToUpgrade
static final Map<Block, UpgradeData$BlockFixer>
i
MAP
field_12953
BLOCK_TO_LOGIC
static final Set<UpgradeData$BlockFixer>
j
CHUNKY_FIXERS
field_12954
CALLBACK_LOGICS

Constructor summary

ModifierConstructor
private (LevelHeightAccessor world)
public (CompoundTag nbt, LevelHeightAccessor world)
private (UpgradeData data)

Method summary

Modifier and TypeMethod
private static <T> void
a(tq arg0, String arg1, Function<String, Optional<T>> arg2, List<fcs<T>> arg3)
loadTicks(CompoundTag arg0, String arg1, Function<String, Optional<T>> arg2, List<SavedTick<T>> arg3)
method_40456(class_2487 arg0, String arg1, Function<String, Optional<T>> arg2, List<class_6759<T>> arg3)
addNeighborTicks(NbtCompound nbt, String key, Function<String, Optional<T>> nameToType, List<Tick<T>> ticks)
public void
a(dzd arg0)
upgrade(LevelChunk arg0)
method_12356(class_2818 arg0)
upgrade(WorldChunk chunk)
private static void
a(dzd arg0, jo arg1)
upgradeSides(LevelChunk arg0, Direction8 arg1)
method_12352(class_2818 arg0, class_2355 arg1)
upgradeSide(WorldChunk chunk, EightWayDirection side)
private static BlockState
a(dwy arg0, jn arg1, dgk arg2, ji arg3, ji arg4)
updateState(BlockState arg0, Direction arg1, LevelAccessor arg2, BlockPos arg3, BlockPos arg4)
method_12351(class_2680 arg0, class_2350 arg1, class_1936 arg2, class_2338 arg3, class_2338 arg4)
applyAdjacentBlock(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos)
private void
b(dzd arg0)
upgradeInside(LevelChunk arg0)
method_12348(class_2818 arg0)
upgradeCenter(WorldChunk chunk)
public boolean
a()
isEmpty()
method_12349()
isDone()
public CompoundTag
b()
write()
method_12350()
toNbt()
public UpgradeData
c()
copy()
method_61772()
copy()