Package net.minecraft.world.chunk
Class UpgradeData
java.lang.Object
net.minecraft.world.chunk.UpgradeData
public class UpgradeData extends Object
- Mappings:
Namespace Name official ckgintermediary net/minecraft/class_2843named net/minecraft/world/chunk/UpgradeData
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classUpgradeData.BuiltinLogicstatic interfaceUpgradeData.Logic -
Field Summary
Fields Modifier and Type Field Description private static Map<Block,UpgradeData.Logic>BLOCK_TO_LOGICprivate static Set<UpgradeData.Logic>CALLBACK_LOGICSprivate int[][]centerIndicesToUpgradeprivate static EightWayDirection[]EIGHT_WAYSprivate static LoggerLOGGERstatic UpgradeDataNO_UPGRADE_DATAprivate EnumSet<EightWayDirection>sidesToUpgrade -
Constructor Summary
Constructors Modifier Constructor Description UpgradeData(CompoundTag tag, HeightLimitView world)privateUpgradeData(HeightLimitView world) -
Method Summary
Modifier and Type Method Description private static BlockStateapplyAdjacentBlock(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos)booleanisDone()CompoundTagtoTag()voidupgrade(WorldChunk chunk)private voidupgradeCenter(WorldChunk chunk)private static voidupgradeSide(WorldChunk chunk, EightWayDirection side)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLckg;b:Lorg/apache/logging/log4j/Logger;intermediary field_12956Lnet/minecraft/class_2843;field_12956:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/chunk/UpgradeData;LOGGER:Lorg/apache/logging/log4j/Logger;
-
NO_UPGRADE_DATA
- Mappings:
Namespace Name Mixin selector official aLckg;a:Lckg;intermediary field_12950Lnet/minecraft/class_2843;field_12950:Lnet/minecraft/class_2843;named NO_UPGRADE_DATALnet/minecraft/world/chunk/UpgradeData;NO_UPGRADE_DATA:Lnet/minecraft/world/chunk/UpgradeData;
-
EIGHT_WAYS
- Mappings:
Namespace Name Mixin selector official cLckg;c:[Lgd;intermediary field_12952Lnet/minecraft/class_2843;field_12952:[Lnet/minecraft/class_2355;named EIGHT_WAYSLnet/minecraft/world/chunk/UpgradeData;EIGHT_WAYS:[Lnet/minecraft/util/EightWayDirection;
-
BLOCK_TO_LOGIC
- Mappings:
Namespace Name Mixin selector official fLckg;f:Ljava/util/Map;intermediary field_12953Lnet/minecraft/class_2843;field_12953:Ljava/util/Map;named BLOCK_TO_LOGICLnet/minecraft/world/chunk/UpgradeData;BLOCK_TO_LOGIC:Ljava/util/Map;
-
CALLBACK_LOGICS
- Mappings:
Namespace Name Mixin selector official gLckg;g:Ljava/util/Set;intermediary field_12954Lnet/minecraft/class_2843;field_12954:Ljava/util/Set;named CALLBACK_LOGICSLnet/minecraft/world/chunk/UpgradeData;CALLBACK_LOGICS:Ljava/util/Set;
-
sidesToUpgrade
- Mappings:
Namespace Name Mixin selector official dLckg;d:Ljava/util/EnumSet;intermediary field_12951Lnet/minecraft/class_2843;field_12951:Ljava/util/EnumSet;named sidesToUpgradeLnet/minecraft/world/chunk/UpgradeData;sidesToUpgrade:Ljava/util/EnumSet;
-
centerIndicesToUpgrade
private final int[][] centerIndicesToUpgrade- Mappings:
Namespace Name Mixin selector official eLckg;e:[[Iintermediary field_12955Lnet/minecraft/class_2843;field_12955:[[Inamed centerIndicesToUpgradeLnet/minecraft/world/chunk/UpgradeData;centerIndicesToUpgrade:[[I
-
-
Constructor Details
-
UpgradeData
- Mappings:
Namespace Name Mixin selector official <init>Lckg;<init>(Lbtx;)Vintermediary <init>Lnet/minecraft/class_2843;<init>(Lnet/minecraft/class_5539;)Vnamed <init>Lnet/minecraft/world/chunk/UpgradeData;<init>(Lnet/minecraft/world/HeightLimitView;)V
-
UpgradeData
- Mappings:
Namespace Name Mixin selector official <init>Lckg;<init>(Lmq;Lbtx;)Vintermediary <init>Lnet/minecraft/class_2843;<init>(Lnet/minecraft/class_2487;Lnet/minecraft/class_5539;)Vnamed <init>Lnet/minecraft/world/chunk/UpgradeData;<init>(Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/HeightLimitView;)V
-
-
Method Details
-
upgrade
- Mappings:
Namespace Name Mixin selector official aLckg;a(Lcjw;)Vintermediary method_12356Lnet/minecraft/class_2843;method_12356(Lnet/minecraft/class_2818;)Vnamed upgradeLnet/minecraft/world/chunk/UpgradeData;upgrade(Lnet/minecraft/world/chunk/WorldChunk;)V
-
upgradeSide
- Mappings:
Namespace Name Mixin selector official aLckg;a(Lcjw;Lgd;)Vintermediary method_12352Lnet/minecraft/class_2843;method_12352(Lnet/minecraft/class_2818;Lnet/minecraft/class_2355;)Vnamed upgradeSideLnet/minecraft/world/chunk/UpgradeData;upgradeSide(Lnet/minecraft/world/chunk/WorldChunk;Lnet/minecraft/util/EightWayDirection;)V
-
applyAdjacentBlock
private static BlockState applyAdjacentBlock(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos)- Mappings:
Namespace Name Mixin selector official aLckg;a(Lcht;Lgc;Lbtw;Lfx;Lfx;)Lcht;intermediary method_12351Lnet/minecraft/class_2843;method_12351(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named applyAdjacentBlockLnet/minecraft/world/chunk/UpgradeData;applyAdjacentBlock(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
upgradeCenter
- Mappings:
Namespace Name Mixin selector official bLckg;b(Lcjw;)Vintermediary method_12348Lnet/minecraft/class_2843;method_12348(Lnet/minecraft/class_2818;)Vnamed upgradeCenterLnet/minecraft/world/chunk/UpgradeData;upgradeCenter(Lnet/minecraft/world/chunk/WorldChunk;)V
-
isDone
public boolean isDone()- Mappings:
Namespace Name Mixin selector official aLckg;a()Zintermediary method_12349Lnet/minecraft/class_2843;method_12349()Znamed isDoneLnet/minecraft/world/chunk/UpgradeData;isDone()Z
-
toTag
- Mappings:
Namespace Name Mixin selector official bLckg;b()Lmq;intermediary method_12350Lnet/minecraft/class_2843;method_12350()Lnet/minecraft/class_2487;named toTagLnet/minecraft/world/chunk/UpgradeData;toTag()Lnet/minecraft/nbt/CompoundTag;
-