Class UpgradeData

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

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

    • LOGGER

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

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

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

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

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

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

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

      private final List<Tick<Block>> blockTicks
      Mappings:
      Namespace Name Mixin selector
      named blockTicks Lnet/minecraft/world/chunk/UpgradeData;blockTicks:Ljava/util/List;
      intermediary field_36538 Lnet/minecraft/class_2843;field_36538:Ljava/util/List;
      official f Leam;f:Ljava/util/List;
    • fluidTicks

      private final List<Tick<Fluid>> fluidTicks
      Mappings:
      Namespace Name Mixin selector
      named fluidTicks Lnet/minecraft/world/chunk/UpgradeData;fluidTicks:Ljava/util/List;
      intermediary field_36539 Lnet/minecraft/class_2843;field_36539:Ljava/util/List;
      official g Leam;g:Ljava/util/List;
    • centerIndicesToUpgrade

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

    • UpgradeData

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

      public UpgradeData(NbtCompound nbt, HeightLimitView world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/chunk/UpgradeData;<init>(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/HeightLimitView;)V
      intermediary <init> Lnet/minecraft/class_2843;<init>(Lnet/minecraft/class_2487;Lnet/minecraft/class_5539;)V
      official <init> Leam;<init>(Lux;Ldhj;)V
    • UpgradeData

      private UpgradeData(UpgradeData data)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/chunk/UpgradeData;<init>(Lnet/minecraft/world/chunk/UpgradeData;)V
      intermediary <init> Lnet/minecraft/class_2843;<init>(Lnet/minecraft/class_2843;)V
      official <init> Leam;<init>(Leam;)V
  • Method Details

    • addNeighborTicks

      private static <T> void addNeighborTicks(NbtCompound nbt, String key, Function<String,Optional<T>> nameToType, List<Tick<T>> ticks)
      Mappings:
      Namespace Name Mixin selector
      named addNeighborTicks Lnet/minecraft/world/chunk/UpgradeData;addNeighborTicks(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;Ljava/util/function/Function;Ljava/util/List;)V
      intermediary method_40456 Lnet/minecraft/class_2843;method_40456(Lnet/minecraft/class_2487;Ljava/lang/String;Ljava/util/function/Function;Ljava/util/List;)V
      official a Leam;a(Lux;Ljava/lang/String;Ljava/util/function/Function;Ljava/util/List;)V
    • upgrade

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

      private static void upgradeSide(WorldChunk chunk, EightWayDirection side)
      Mappings:
      Namespace Name Mixin selector
      named upgradeSide Lnet/minecraft/world/chunk/UpgradeData;upgradeSide(Lnet/minecraft/world/chunk/WorldChunk;Lnet/minecraft/util/math/EightWayDirection;)V
      intermediary method_12352 Lnet/minecraft/class_2843;method_12352(Lnet/minecraft/class_2818;Lnet/minecraft/class_2355;)V
      official a Leam;a(Ldzz;Ljn;)V
    • applyAdjacentBlock

      private static BlockState applyAdjacentBlock(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Leam;a(Ldxu;Ljm;Ldhi;Ljh;Ljh;)Ldxu;
    • upgradeCenter

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

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

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

      public UpgradeData copy()
      Mappings:
      Namespace Name Mixin selector
      named copy Lnet/minecraft/world/chunk/UpgradeData;copy()Lnet/minecraft/world/chunk/UpgradeData;
      intermediary method_61772 Lnet/minecraft/class_2843;method_61772()Lnet/minecraft/class_2843;
      official c Leam;c()Leam;