Class DropperBlockEntity

All Implemented Interfaces:
Inventory, NamedScreenHandlerFactory, ScreenHandlerFactory, Clearable, Nameable

public class DropperBlockEntity extends DispenserBlockEntity
Mappings:
Namespace Name
official del
intermediary net/minecraft/class_2608
named net/minecraft/block/entity/DropperBlockEntity
  • Field Details

    • field_44244

      private boolean field_44244
      Mappings:
      Namespace Name Mixin selector
      official f Ldel;f:Z
      intermediary field_44244 Lnet/minecraft/class_2608;field_44244:Z
      named field_44244 Lnet/minecraft/block/entity/DropperBlockEntity;field_44244:Z
  • Constructor Details

    • DropperBlockEntity

      public DropperBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldek;<init>(Lgt;Ldgh;)V
      intermediary <init> Lnet/minecraft/class_2601;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/block/entity/DispenserBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
  • Method Details

    • getContainerName

      protected Text getContainerName()
      Overrides:
      getContainerName in class DispenserBlockEntity
      Mappings:
      Namespace Name Mixin selector
      official g Lddn;g()Lsw;
      intermediary method_17823 Lnet/minecraft/class_2624;method_17823()Lnet/minecraft/class_2561;
      named getContainerName Lnet/minecraft/block/entity/LockableContainerBlockEntity;getContainerName()Lnet/minecraft/text/Text;
    • readNbt

      public void readNbt(NbtCompound nbt)
      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 DispenserBlockEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lddt;a(Lqr;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_50888

      public void method_50888()
      Mappings:
      Namespace Name Mixin selector
      official i Ldel;i()V
      intermediary method_50888 Lnet/minecraft/class_2608;method_50888()V
      named method_50888 Lnet/minecraft/block/entity/DropperBlockEntity;method_50888()V
    • method_50889

      public boolean method_50889()
      Mappings:
      Namespace Name Mixin selector
      official j Ldel;j()Z
      intermediary method_50889 Lnet/minecraft/class_2608;method_50889()Z
      named method_50889 Lnet/minecraft/block/entity/DropperBlockEntity;method_50889()Z
    • writeNbt

      protected void writeNbt(NbtCompound nbt)
      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 DispenserBlockEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lddt;b(Lqr;)V
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V