Class MobSpawnerBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.MobSpawnerBlockEntity

public class MobSpawnerBlockEntity extends BlockEntity
Mappings:
Namespace Name
intermediary net/minecraft/class_104
glue class_73
server bx
client cy
named net/minecraft/block/entity/MobSpawnerBlockEntity
  • Field Details

    • spawnDelay

      public int spawnDelay
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2681 Lnet/minecraft/class_104;field_2681:I
      glue field_160 Lclass_73;field_160:I
      server a Lbx;a:I
      client a Lcy;a:I
      named spawnDelay Lnet/minecraft/block/entity/MobSpawnerBlockEntity;spawnDelay:I
    • spawnedEntityId

      private String spawnedEntityId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2684 Lnet/minecraft/class_104;field_2684:Ljava/lang/String;
      glue field_163 Lclass_73;field_163:Ljava/lang/String;
      server i Lbx;i:Ljava/lang/String;
      client i Lcy;i:Ljava/lang/String;
      named spawnedEntityId Lnet/minecraft/block/entity/MobSpawnerBlockEntity;spawnedEntityId:Ljava/lang/String;
    • rotation

      public double rotation
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2682 Lnet/minecraft/class_104;field_2682:D
      glue field_161 Lclass_73;field_161:D
      server b Lbx;b:D
      client b Lcy;b:D
      named rotation Lnet/minecraft/block/entity/MobSpawnerBlockEntity;rotation:D
    • lastRotation

      public double lastRotation
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2683 Lnet/minecraft/class_104;field_2683:D
      glue field_162 Lclass_73;field_162:D
      server c Lbx;c:D
      client c Lcy;c:D
      named lastRotation Lnet/minecraft/block/entity/MobSpawnerBlockEntity;lastRotation:D
  • Constructor Details

    • MobSpawnerBlockEntity

      public MobSpawnerBlockEntity()
  • Method Details

    • getSpawnedEntityId

      @Environment(CLIENT) public String getSpawnedEntityId()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2037 Lnet/minecraft/class_104;method_2037()Ljava/lang/String;
      glue method_383 Lclass_73;method_383()Ljava/lang/String;
      server method_2037 Lbx;method_2037()Ljava/lang/String;
      client a Lcy;a()Ljava/lang/String;
      named getSpawnedEntityId Lnet/minecraft/block/entity/MobSpawnerBlockEntity;getSpawnedEntityId()Ljava/lang/String;
    • setSpawnedEntityId

      public void setSpawnedEntityId(String spawnedEntityId)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2035 Lnet/minecraft/class_104;method_2035(Ljava/lang/String;)V
      glue method_230 Lclass_73;method_230(Ljava/lang/String;)V
      server a Lbx;a(Ljava/lang/String;)V
      client a Lcy;a(Ljava/lang/String;)V
      named setSpawnedEntityId Lnet/minecraft/block/entity/MobSpawnerBlockEntity;setSpawnedEntityId(Ljava/lang/String;)V
    • isPlayerInRange

      public boolean isPlayerInRange()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2034 Lnet/minecraft/class_104;method_2034()Z
      glue method_229 Lclass_73;method_229()Z
      server a Lbx;a()Z
      client b Lcy;b()Z
      named isPlayerInRange Lnet/minecraft/block/entity/MobSpawnerBlockEntity;isPlayerInRange()Z
    • tick

      public void tick()
      Overrides:
      tick in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1076 Lnet/minecraft/class_55;method_1076()V
      glue method_232 Lclass_356;method_232()V
      server g_ Ljh;g_()V
      client n_ Low;n_()V
      named tick Lnet/minecraft/block/entity/BlockEntity;tick()V
    • resetDelay

      private void resetDelay()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2036 Lnet/minecraft/class_104;method_2036()V
      glue method_231 Lclass_73;method_231()V
      server c Lbx;c()V
      client d Lcy;d()V
      named resetDelay Lnet/minecraft/block/entity/MobSpawnerBlockEntity;resetDelay()V
    • readNbt

      public void readNbt(NbtCompound nbt)
      Overrides:
      readNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1077 Lnet/minecraft/class_55;method_1077(Lnet/minecraft/class_8;)V
      glue method_52 Lclass_356;method_52(Lclass_333;)V
      server a Ljh;a(Liq;)V
      client a Low;a(Lnu;)V
      named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeNbt

      public void writeNbt(NbtCompound nbt)
      Overrides:
      writeNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1078 Lnet/minecraft/class_55;method_1078(Lnet/minecraft/class_8;)V
      glue method_55 Lclass_356;method_55(Lclass_333;)V
      server b Ljh;b(Liq;)V
      client b Low;b(Lnu;)V
      named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V