Class ChestMinecartEntity

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

public class ChestMinecartEntity extends StorageMinecartEntity
Mappings:
Namespace Name
official byn
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> Lbdr;<init>(Lbdv;Lcjw;)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> Lbyn;<init>(Lcjw;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

    • getItem

      protected Item getItem()
      Specified by:
      getItem in class AbstractMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lbyg;h()Lcdp;
      intermediary method_42670 Lnet/minecraft/class_1688;method_42670()Lnet/minecraft/class_1792;
      named getItem Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;getItem()Lnet/minecraft/item/Item;
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      official b Lbcf;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 r Lbyg;r()Lbyg$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 t Lbyg;t()Lcyt;
      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 w Lbyg;w()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 Lbyh;a(ILbwo;)Lbzg;
      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;