Class SpawnerMinecartEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class SpawnerMinecartEntity extends AbstractMinecartEntity
Mappings:
Namespace Name
official bvh
intermediary net/minecraft/class_1699
named net/minecraft/entity/vehicle/SpawnerMinecartEntity
  • Field Details

    • logic

      private final MobSpawnerLogic logic
      Mappings:
      Namespace Name Mixin selector
      official c Lbvh;c:Lcfc;
      intermediary field_7746 Lnet/minecraft/class_1699;field_7746:Lnet/minecraft/class_1917;
      named logic Lnet/minecraft/entity/vehicle/SpawnerMinecartEntity;logic:Lnet/minecraft/world/MobSpawnerLogic;
    • ticker

      private final Runnable ticker
      Mappings:
      Namespace Name Mixin selector
      official d Lbvh;d:Ljava/lang/Runnable;
      intermediary field_27012 Lnet/minecraft/class_1699;field_27012:Ljava/lang/Runnable;
      named ticker Lnet/minecraft/entity/vehicle/SpawnerMinecartEntity;ticker:Ljava/lang/Runnable;
  • Constructor Details

    • SpawnerMinecartEntity

      public SpawnerMinecartEntity(EntityType<? extends SpawnerMinecartEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbaq;<init>(Lbau;Lcga;)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
    • SpawnerMinecartEntity

      public SpawnerMinecartEntity(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvh;<init>(Lcga;DDD)V
      intermediary <init> Lnet/minecraft/class_1699;<init>(Lnet/minecraft/class_1937;DDD)V
      named <init> Lnet/minecraft/entity/vehicle/SpawnerMinecartEntity;<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 Lbuw;h()Lbzw;
      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;
    • getTicker

      private Runnable getTicker(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvh;a(Lcga;)Ljava/lang/Runnable;
      intermediary method_31553 Lnet/minecraft/class_1699;method_31553(Lnet/minecraft/class_1937;)Ljava/lang/Runnable;
      named getTicker Lnet/minecraft/entity/vehicle/SpawnerMinecartEntity;getTicker(Lnet/minecraft/world/World;)Ljava/lang/Runnable;
    • getMinecartType

      public AbstractMinecartEntity.Type getMinecartType()
      Specified by:
      getMinecartType in class AbstractMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbuw;r()Lbuw$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 Lbuw;t()Lcur;
      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;
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class AbstractMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(Lpj;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AbstractMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbaq;b(Lpj;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • handleStatus

      public void handleStatus(byte status)
      Overrides:
      handleStatus in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • tick

      public void tick()
      Overrides:
      tick in class AbstractMinecartEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lbaq;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • getLogic

      public MobSpawnerLogic getLogic()
      Mappings:
      Namespace Name Mixin selector
      official y Lbvh;y()Lcfc;
      intermediary method_35216 Lnet/minecraft/class_1699;method_35216()Lnet/minecraft/class_1917;
      named getLogic Lnet/minecraft/entity/vehicle/SpawnerMinecartEntity;getLogic()Lnet/minecraft/world/MobSpawnerLogic;
    • entityDataRequiresOperator

      public boolean entityDataRequiresOperator()
      Overrides:
      entityDataRequiresOperator in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cG Lbaq;cG()Z
      intermediary method_5833 Lnet/minecraft/class_1297;method_5833()Z
      named entityDataRequiresOperator Lnet/minecraft/entity/Entity;entityDataRequiresOperator()Z