Class ChestMinecartEntity

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

public class ChestMinecartEntity extends StorageMinecartEntity
Mappings:
Namespace Name
official bpe
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> Lawm;<init>(Lawq;Lbzw;)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> Lbpe;<init>(Lbzw;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 Lboz;a(Lavw;)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 Lavc;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 Lboz;q()Lboz$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 Lboz;s()Lcnv;
      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 Lboz;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 Lbpa;a(ILbnj;)Lbpq;
      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;