Class ChestMinecartEntity

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

public class ChestMinecartEntity extends StorageMinecartEntity
Mappings:
Namespace Name
official bpl
intermediary net/minecraft/class_1694
named net/minecraft/entity/vehicle/ChestMinecartEntity
  • Constructor Details

    • ChestMinecartEntity

      public ChestMinecartEntity(EntityType<? extends ChestMinecartEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawt;<init>(Lawx;Lcad;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • ChestMinecartEntity

      public ChestMinecartEntity(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpl;<init>(Lcad;DDD)V
      intermediary <init> Lnet/minecraft/class_1694;<init>(Lnet/minecraft/class_1937;DDD)V
      named <init> Lnet/minecraft/entity/vehicle/ChestMinecartEntity;<init>(Lnet/minecraft/world/World;DDD)V
  • Method Details

    • dropItems

      public void dropItems(DamageSource damageSource)
      Overrides:
      dropItems in class StorageMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbpg;a(Lawd;)V
      intermediary method_7516 Lnet/minecraft/class_1688;method_7516(Lnet/minecraft/class_1282;)V
      named dropItems Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;dropItems(Lnet/minecraft/entity/damage/DamageSource;)V
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      official b Lavj;b()I
      intermediary method_5439 Lnet/minecraft/class_1263;method_5439()I
      named size Lnet/minecraft/inventory/Inventory;size()I
    • getMinecartType

      public AbstractMinecartEntity.Type getMinecartType()
      Specified by:
      getMinecartType in class AbstractMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official q Lbpg;q()Lbpg$a;
      intermediary method_7518 Lnet/minecraft/class_1688;method_7518()Lnet/minecraft/class_1688$class_1689;
      named getMinecartType Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;getMinecartType()Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
    • getDefaultContainedBlock

      public BlockState getDefaultContainedBlock()
      Overrides:
      getDefaultContainedBlock in class AbstractMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official s Lbpg;s()Lcoc;
      intermediary method_7517 Lnet/minecraft/class_1688;method_7517()Lnet/minecraft/class_2680;
      named getDefaultContainedBlock Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultContainedBlock()Lnet/minecraft/block/BlockState;
    • getDefaultBlockOffset

      public int getDefaultBlockOffset()
      Overrides:
      getDefaultBlockOffset in class AbstractMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lbpg;u()I
      intermediary method_7526 Lnet/minecraft/class_1688;method_7526()I
      named getDefaultBlockOffset Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultBlockOffset()I
    • getScreenHandler

      public ScreenHandler getScreenHandler(int syncId, PlayerInventory playerInventory)
      Specified by:
      getScreenHandler in class StorageMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a(ILbnq;)Lbpx;
      intermediary method_17357 Lnet/minecraft/class_1693;method_17357(ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;
      named getScreenHandler Lnet/minecraft/entity/vehicle/StorageMinecartEntity;getScreenHandler(ILnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/screen/ScreenHandler;