Class SculkCatalystBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.SculkCatalystBlockEntity
All Implemented Interfaces:
GameEventListener.Holder<SculkCatalystBlockEntity.Listener>

public class SculkCatalystBlockEntity extends BlockEntity implements GameEventListener.Holder<SculkCatalystBlockEntity.Listener>
Mappings:
Namespace Name
named net/minecraft/block/entity/SculkCatalystBlockEntity
intermediary net/minecraft/class_7132
official drm
  • Field Details

    • eventListener

      private final SculkCatalystBlockEntity.Listener eventListener
      Mappings:
      Namespace Name Mixin selector
      named eventListener Lnet/minecraft/block/entity/SculkCatalystBlockEntity;eventListener:Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;
      intermediary field_44610 Lnet/minecraft/class_7132;field_44610:Lnet/minecraft/class_7132$class_8510;
      official a Ldrm;a:Ldrm$a;
  • Constructor Details

    • SculkCatalystBlockEntity

      public SculkCatalystBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/entity/SculkCatalystBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary <init> Lnet/minecraft/class_7132;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official <init> Ldrm;<init>(Ljd;Ldta;)V
  • Method Details

    • tick

      public static void tick(World world, BlockPos pos, BlockState state, SculkCatalystBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/block/entity/SculkCatalystBlockEntity;tick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/SculkCatalystBlockEntity;)V
      intermediary method_41517 Lnet/minecraft/class_7132;method_41517(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_7132;)V
      official a Ldrm;a(Ldcu;Ljd;Ldta;Ldrm;)V
    • readNbt

      protected void readNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup)
      Reads data from nbt. Subclasses should override this if they store a persistent data.

      NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readNbt in class BlockEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
      official a Ldqf;a(Lua;Ljo$a;)V
    • writeNbt

      protected void writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup)
      Writes data to nbt. Subclasses should override this if they store a persistent data.

      NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.

      Overrides:
      writeNbt in class BlockEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
      official b Ldqf;b(Lua;Ljo$a;)V
    • getEventListener

      public SculkCatalystBlockEntity.Listener getEventListener()
      Specified by:
      getEventListener in interface GameEventListener.Holder<SculkCatalystBlockEntity.Listener>
      Mappings:
      Namespace Name Mixin selector
      named getEventListener Lnet/minecraft/block/entity/SculkCatalystBlockEntity;getEventListener()Lnet/minecraft/block/entity/SculkCatalystBlockEntity$Listener;
      intermediary method_51357 Lnet/minecraft/class_7132;method_51357()Lnet/minecraft/class_7132$class_8510;
      official b Ldrm;b()Ldrm$a;