net.minecraft.world.level.chunk

public class UpgradeData

cyf
net.minecraft.world.level.chunk.UpgradeData
net.minecraft.class_2843
net.minecraft.world.chunk.UpgradeData
net.minecraft.src.C_2149_
net.minecraft.world.level.chunk.ChunkConverter

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private static <T> void
a(pj arg0, String arg1, Function<String, Optional<T>> arg2, List<dxz<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)
m_208132_(C_4917_ p_208133_, String p_208134_, Function<String, Optional<T>> p_208135_, List<C_183045_<T>> p_208136_)
public void
a(cxt arg0)
upgrade(LevelChunk arg0)
method_12356(class_2818 arg0)
upgrade(WorldChunk chunk)
m_63341_(C_2137_ arg0)
private static void
a(cxt arg0, gz arg1)
upgradeSides(LevelChunk arg0, Direction8 arg1)
method_12352(class_2818 arg0, class_2355 arg1)
upgradeSide(WorldChunk chunk, EightWayDirection side)
m_63343_(C_2137_ p_63344_, C_4695_ p_63345_)
private static BlockState
a(cvo arg0, gy arg1, cgy arg2, gt arg3, gt 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)
m_63335_(C_2064_ p_63336_, C_4687_ p_63337_, C_1598_ p_63338_, C_4675_ p_63339_, C_4675_ p_63340_)
private void
b(cxt arg0)
upgradeInside(LevelChunk arg0)
method_12348(class_2818 arg0)
upgradeCenter(WorldChunk chunk)
m_63347_(C_2137_ arg0)
public boolean
a()
isEmpty()
method_12349()
isDone()
m_63331_()
public CompoundTag
b()
write()
method_12350()
toNbt()
m_63346_()