Package net.minecraft.util.palette
Class UpgradeData
- java.lang.Object
-
- net.minecraft.util.palette.UpgradeData
-
public class UpgradeData extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
UpgradeData.BlockFixers
static interface
UpgradeData.IBlockFixer
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Set<UpgradeData.IBlockFixer>
CHUNKY_FIXERS
private static Direction8[]
DIRECTIONS
static UpgradeData
EMPTY
private int[][]
index
private static org.apache.logging.log4j.Logger
LOGGER
private static java.util.Map<Block,UpgradeData.IBlockFixer>
MAP
private java.util.EnumSet<Direction8>
sides
-
Constructor Summary
Constructors Modifier Constructor Description private
UpgradeData()
UpgradeData(CompoundNBT p_i47714_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
private static BlockState
updateState(BlockState p_196987_0_, Direction p_196987_1_, IWorld p_196987_2_, BlockPos p_196987_3_, BlockPos p_196987_4_)
void
upgrade(Chunk p_196990_1_)
private void
upgradeInside(Chunk p_196989_1_)
private static void
upgradeSides(Chunk p_196991_0_, Direction8 p_196991_1_)
CompoundNBT
write()
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
EMPTY
public static final UpgradeData EMPTY
-
DIRECTIONS
private static final Direction8[] DIRECTIONS
-
sides
private final java.util.EnumSet<Direction8> sides
-
index
private final int[][] index
-
MAP
private static final java.util.Map<Block,UpgradeData.IBlockFixer> MAP
-
CHUNKY_FIXERS
private static final java.util.Set<UpgradeData.IBlockFixer> CHUNKY_FIXERS
-
-
Constructor Detail
-
UpgradeData
private UpgradeData()
-
UpgradeData
public UpgradeData(CompoundNBT p_i47714_1_)
-
-
Method Detail
-
upgrade
public void upgrade(Chunk p_196990_1_)
-
upgradeSides
private static void upgradeSides(Chunk p_196991_0_, Direction8 p_196991_1_)
-
updateState
private static BlockState updateState(BlockState p_196987_0_, Direction p_196987_1_, IWorld p_196987_2_, BlockPos p_196987_3_, BlockPos p_196987_4_)
-
upgradeInside
private void upgradeInside(Chunk p_196989_1_)
-
isEmpty
public boolean isEmpty()
-
write
public CompoundNBT write()
-
-