Class UpgradeData

java.lang.Object
net.minecraft.world.chunk.UpgradeData

public class UpgradeData extends Object
Mappings:
Namespace Name
official cng
intermediary net/minecraft/class_2843
named net/minecraft/world/chunk/UpgradeData
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lcng;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_12956 Lnet/minecraft/class_2843;field_12956:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/UpgradeData;LOGGER:Lorg/apache/logging/log4j/Logger;
    • NO_UPGRADE_DATA

      public static final UpgradeData NO_UPGRADE_DATA
      Mappings:
      Namespace Name Mixin selector
      official a Lcng;a:Lcng;
      intermediary field_12950 Lnet/minecraft/class_2843;field_12950:Lnet/minecraft/class_2843;
      named NO_UPGRADE_DATA Lnet/minecraft/world/chunk/UpgradeData;NO_UPGRADE_DATA:Lnet/minecraft/world/chunk/UpgradeData;
    • INDICES_KEY

      private static final String INDICES_KEY
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lcng;c:Ljava/lang/String;
      intermediary field_31412 Lnet/minecraft/class_2843;field_31412:Ljava/lang/String;
      named INDICES_KEY Lnet/minecraft/world/chunk/UpgradeData;INDICES_KEY:Ljava/lang/String;
    • EIGHT_WAYS

      private static final EightWayDirection[] EIGHT_WAYS
      Mappings:
      Namespace Name Mixin selector
      official d Lcng;d:[Lgm;
      intermediary field_12952 Lnet/minecraft/class_2843;field_12952:[Lnet/minecraft/class_2355;
      named EIGHT_WAYS Lnet/minecraft/world/chunk/UpgradeData;EIGHT_WAYS:[Lnet/minecraft/util/EightWayDirection;
    • BLOCK_TO_LOGIC

      static final Map<Block,​UpgradeData.Logic> BLOCK_TO_LOGIC
      Mappings:
      Namespace Name Mixin selector
      official g Lcng;g:Ljava/util/Map;
      intermediary field_12953 Lnet/minecraft/class_2843;field_12953:Ljava/util/Map;
      named BLOCK_TO_LOGIC Lnet/minecraft/world/chunk/UpgradeData;BLOCK_TO_LOGIC:Ljava/util/Map;
    • CALLBACK_LOGICS

      static final Set<UpgradeData.Logic> CALLBACK_LOGICS
      Mappings:
      Namespace Name Mixin selector
      official h Lcng;h:Ljava/util/Set;
      intermediary field_12954 Lnet/minecraft/class_2843;field_12954:Ljava/util/Set;
      named CALLBACK_LOGICS Lnet/minecraft/world/chunk/UpgradeData;CALLBACK_LOGICS:Ljava/util/Set;
    • sidesToUpgrade

      private final EnumSet<EightWayDirection> sidesToUpgrade
      Mappings:
      Namespace Name Mixin selector
      official e Lcng;e:Ljava/util/EnumSet;
      intermediary field_12951 Lnet/minecraft/class_2843;field_12951:Ljava/util/EnumSet;
      named sidesToUpgrade Lnet/minecraft/world/chunk/UpgradeData;sidesToUpgrade:Ljava/util/EnumSet;
    • centerIndicesToUpgrade

      private final int[][] centerIndicesToUpgrade
      Mappings:
      Namespace Name Mixin selector
      official f Lcng;f:[[I
      intermediary field_12955 Lnet/minecraft/class_2843;field_12955:[[I
      named centerIndicesToUpgrade Lnet/minecraft/world/chunk/UpgradeData;centerIndicesToUpgrade:[[I
  • Constructor Details

    • UpgradeData

      private UpgradeData(HeightLimitView world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcng;<init>(Lbwr;)V
      intermediary <init> Lnet/minecraft/class_2843;<init>(Lnet/minecraft/class_5539;)V
      named <init> Lnet/minecraft/world/chunk/UpgradeData;<init>(Lnet/minecraft/world/HeightLimitView;)V
    • UpgradeData

      public UpgradeData(NbtCompound nbt, HeightLimitView world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcng;<init>(Lna;Lbwr;)V
      intermediary <init> Lnet/minecraft/class_2843;<init>(Lnet/minecraft/class_2487;Lnet/minecraft/class_5539;)V
      named <init> Lnet/minecraft/world/chunk/UpgradeData;<init>(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/HeightLimitView;)V
  • Method Details

    • upgrade

      public void upgrade(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lcng;a(Lcmw;)V
      intermediary method_12356 Lnet/minecraft/class_2843;method_12356(Lnet/minecraft/class_2818;)V
      named upgrade Lnet/minecraft/world/chunk/UpgradeData;upgrade(Lnet/minecraft/world/chunk/WorldChunk;)V
    • upgradeSide

      private static void upgradeSide(WorldChunk chunk, EightWayDirection side)
      Mappings:
      Namespace Name Mixin selector
      official a Lcng;a(Lcmw;Lgm;)V
      intermediary method_12352 Lnet/minecraft/class_2843;method_12352(Lnet/minecraft/class_2818;Lnet/minecraft/class_2355;)V
      named upgradeSide Lnet/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 a Lcng;a(Lcks;Lgl;Lbwq;Lgg;Lgg;)Lcks;
      intermediary method_12351 Lnet/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 applyAdjacentBlock Lnet/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

      private void upgradeCenter(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official b Lcng;b(Lcmw;)V
      intermediary method_12348 Lnet/minecraft/class_2843;method_12348(Lnet/minecraft/class_2818;)V
      named upgradeCenter Lnet/minecraft/world/chunk/UpgradeData;upgradeCenter(Lnet/minecraft/world/chunk/WorldChunk;)V
    • isDone

      public boolean isDone()
      Mappings:
      Namespace Name Mixin selector
      official a Lcng;a()Z
      intermediary method_12349 Lnet/minecraft/class_2843;method_12349()Z
      named isDone Lnet/minecraft/world/chunk/UpgradeData;isDone()Z
    • toNbt

      public NbtCompound toNbt()
      Mappings:
      Namespace Name Mixin selector
      official b Lcng;b()Lna;
      intermediary method_12350 Lnet/minecraft/class_2843;method_12350()Lnet/minecraft/class_2487;
      named toNbt Lnet/minecraft/world/chunk/UpgradeData;toNbt()Lnet/minecraft/nbt/NbtCompound;