Class MobSpawnerLogic

java.lang.Object
net.minecraft.block.spawner.MobSpawnerLogic

public abstract class MobSpawnerLogic extends Object
Mappings:
Namespace Name
named net/minecraft/block/spawner/MobSpawnerLogic
intermediary net/minecraft/class_1917
official dlu
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/block/spawner/MobSpawnerLogic;LOGGER:Lorg/slf4j/Logger;
      intermediary field_60369 Lnet/minecraft/class_1917;field_60369:Lorg/slf4j/Logger;
      official a Ldlu;a:Lorg/slf4j/Logger;
    • SPAWN_DATA_KEY

      public static final String SPAWN_DATA_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SPAWN_DATA_KEY Lnet/minecraft/block/spawner/MobSpawnerLogic;SPAWN_DATA_KEY:Ljava/lang/String;
      intermediary field_40877 Lnet/minecraft/class_1917;field_40877:Ljava/lang/String;
      official b Ldlu;b:Ljava/lang/String;
    • field_30951

      private static final int field_30951
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30951 Lnet/minecraft/block/spawner/MobSpawnerLogic;field_30951:I
      intermediary field_30951 Lnet/minecraft/class_1917;field_30951:I
      official c Ldlu;c:I
    • field_57757

      private static final int field_57757
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_57757 Lnet/minecraft/block/spawner/MobSpawnerLogic;field_57757:I
      intermediary field_57757 Lnet/minecraft/class_1917;field_57757:I
      official d Ldlu;d:I
    • DEFAULT_MIN_SPAWN_DELAY

      private static final int DEFAULT_MIN_SPAWN_DELAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_MIN_SPAWN_DELAY Lnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_MIN_SPAWN_DELAY:I
      intermediary field_57758 Lnet/minecraft/class_1917;field_57758:I
      official e Ldlu;e:I
    • DEFAULT_MAX_SPAWN_DELAY

      private static final int DEFAULT_MAX_SPAWN_DELAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_MAX_SPAWN_DELAY Lnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_MAX_SPAWN_DELAY:I
      intermediary field_57759 Lnet/minecraft/class_1917;field_57759:I
      official f Ldlu;f:I
    • DEFAULT_SPAWN_COUNT

      private static final int DEFAULT_SPAWN_COUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SPAWN_COUNT Lnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_SPAWN_COUNT:I
      intermediary field_57760 Lnet/minecraft/class_1917;field_57760:I
      official g Ldlu;g:I
    • DEFAULT_MAX_NEARBY_ENTITIES

      private static final int DEFAULT_MAX_NEARBY_ENTITIES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_MAX_NEARBY_ENTITIES Lnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_MAX_NEARBY_ENTITIES:I
      intermediary field_57761 Lnet/minecraft/class_1917;field_57761:I
      official h Ldlu;h:I
    • DEFAULT_REQUIRED_PLAYER_RANGE

      private static final int DEFAULT_REQUIRED_PLAYER_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_REQUIRED_PLAYER_RANGE Lnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_REQUIRED_PLAYER_RANGE:I
      intermediary field_57762 Lnet/minecraft/class_1917;field_57762:I
      official i Ldlu;i:I
    • DEFAULT_SPAWN_RANGE

      private static final int DEFAULT_SPAWN_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SPAWN_RANGE Lnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_SPAWN_RANGE:I
      intermediary field_57763 Lnet/minecraft/class_1917;field_57763:I
      official j Ldlu;j:I
    • spawnDelay

      private int spawnDelay
      Mappings:
      Namespace Name Mixin selector
      named spawnDelay Lnet/minecraft/block/spawner/MobSpawnerLogic;spawnDelay:I
      intermediary field_9154 Lnet/minecraft/class_1917;field_9154:I
      official k Ldlu;k:I
    • spawnPotentials

      private Pool<MobSpawnerEntry> spawnPotentials
      Mappings:
      Namespace Name Mixin selector
      named spawnPotentials Lnet/minecraft/block/spawner/MobSpawnerLogic;spawnPotentials:Lnet/minecraft/util/collection/Pool;
      intermediary field_9152 Lnet/minecraft/class_1917;field_9152:Lnet/minecraft/class_6012;
      official l Ldlu;l:Lbvt;
    • spawnEntry

      @Nullable private @Nullable MobSpawnerEntry spawnEntry
      Mappings:
      Namespace Name Mixin selector
      named spawnEntry Lnet/minecraft/block/spawner/MobSpawnerLogic;spawnEntry:Lnet/minecraft/block/spawner/MobSpawnerEntry;
      intermediary field_9155 Lnet/minecraft/class_1917;field_9155:Lnet/minecraft/class_1952;
      official m Ldlu;m:Ldno;
    • rotation

      private double rotation
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/block/spawner/MobSpawnerLogic;rotation:D
      intermediary field_9161 Lnet/minecraft/class_1917;field_9161:D
      official n Ldlu;n:D
    • lastRotation

      private double lastRotation
      Mappings:
      Namespace Name Mixin selector
      named lastRotation Lnet/minecraft/block/spawner/MobSpawnerLogic;lastRotation:D
      intermediary field_9159 Lnet/minecraft/class_1917;field_9159:D
      official o Ldlu;o:D
    • minSpawnDelay

      private int minSpawnDelay
      Mappings:
      Namespace Name Mixin selector
      named minSpawnDelay Lnet/minecraft/block/spawner/MobSpawnerLogic;minSpawnDelay:I
      intermediary field_9151 Lnet/minecraft/class_1917;field_9151:I
      official p Ldlu;p:I
    • maxSpawnDelay

      private int maxSpawnDelay
      Mappings:
      Namespace Name Mixin selector
      named maxSpawnDelay Lnet/minecraft/block/spawner/MobSpawnerLogic;maxSpawnDelay:I
      intermediary field_9150 Lnet/minecraft/class_1917;field_9150:I
      official q Ldlu;q:I
    • spawnCount

      private int spawnCount
      Mappings:
      Namespace Name Mixin selector
      named spawnCount Lnet/minecraft/block/spawner/MobSpawnerLogic;spawnCount:I
      intermediary field_9149 Lnet/minecraft/class_1917;field_9149:I
      official r Ldlu;r:I
    • renderedEntity

      @Nullable private @Nullable Entity renderedEntity
      Mappings:
      Namespace Name Mixin selector
      named renderedEntity Lnet/minecraft/block/spawner/MobSpawnerLogic;renderedEntity:Lnet/minecraft/entity/Entity;
      intermediary field_9153 Lnet/minecraft/class_1917;field_9153:Lnet/minecraft/class_1297;
      official s Ldlu;s:Lbzm;
    • maxNearbyEntities

      private int maxNearbyEntities
      Mappings:
      Namespace Name Mixin selector
      named maxNearbyEntities Lnet/minecraft/block/spawner/MobSpawnerLogic;maxNearbyEntities:I
      intermediary field_9160 Lnet/minecraft/class_1917;field_9160:I
      official t Ldlu;t:I
    • requiredPlayerRange

      private int requiredPlayerRange
      Mappings:
      Namespace Name Mixin selector
      named requiredPlayerRange Lnet/minecraft/block/spawner/MobSpawnerLogic;requiredPlayerRange:I
      intermediary field_9158 Lnet/minecraft/class_1917;field_9158:I
      official u Ldlu;u:I
    • spawnRange

      private int spawnRange
      Mappings:
      Namespace Name Mixin selector
      named spawnRange Lnet/minecraft/block/spawner/MobSpawnerLogic;spawnRange:I
      intermediary field_9157 Lnet/minecraft/class_1917;field_9157:I
      official v Ldlu;v:I
  • Constructor Details

    • MobSpawnerLogic

      public MobSpawnerLogic()
  • Method Details

    • setEntityId

      public void setEntityId(EntityType<?> type, @Nullable @Nullable World world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named setEntityId Lnet/minecraft/block/spawner/MobSpawnerLogic;setEntityId(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_8274 Lnet/minecraft/class_1917;method_8274(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)V
      official a Ldlu;a(Lbzv;Ldmu;Lbck;Ljb;)V
    • isPlayerInRange

      private boolean isPlayerInRange(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isPlayerInRange Lnet/minecraft/block/spawner/MobSpawnerLogic;isPlayerInRange(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_8284 Lnet/minecraft/class_1917;method_8284(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Z
      official c Ldlu;c(Ldmu;Ljb;)Z
    • clientTick

      public void clientTick(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named clientTick Lnet/minecraft/block/spawner/MobSpawnerLogic;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_31589 Lnet/minecraft/class_1917;method_31589(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      official a Ldlu;a(Ldmu;Ljb;)V
    • serverTick

      public void serverTick(ServerWorld world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named serverTick Lnet/minecraft/block/spawner/MobSpawnerLogic;serverTick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_31588 Lnet/minecraft/class_1917;method_31588(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
      official a Ldlu;a(Laub;Ljb;)V
    • updateSpawns

      private void updateSpawns(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named updateSpawns Lnet/minecraft/block/spawner/MobSpawnerLogic;updateSpawns(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_8282 Lnet/minecraft/class_1917;method_8282(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      official d Ldlu;d(Ldmu;Ljb;)V
    • readData

      public void readData(@Nullable @Nullable World world, BlockPos pos, ReadView view)
      Mappings:
      Namespace Name Mixin selector
      named readData Lnet/minecraft/block/spawner/MobSpawnerLogic;readData(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/storage/ReadView;)V
      intermediary method_8280 Lnet/minecraft/class_1917;method_8280(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_11368;)V
      official a Ldlu;a(Ldmu;Ljb;Lfda;)V
    • writeData

      public void writeData(WriteView view)
      Mappings:
      Namespace Name Mixin selector
      named writeData Lnet/minecraft/block/spawner/MobSpawnerLogic;writeData(Lnet/minecraft/storage/WriteView;)V
      intermediary method_8272 Lnet/minecraft/class_1917;method_8272(Lnet/minecraft/class_11372;)V
      official a Ldlu;a(Lfdc;)V
    • getRenderedEntity

      @Nullable public @Nullable Entity getRenderedEntity(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getRenderedEntity Lnet/minecraft/block/spawner/MobSpawnerLogic;getRenderedEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/Entity;
      intermediary method_8283 Lnet/minecraft/class_1917;method_8283(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1297;
      official b Ldlu;b(Ldmu;Ljb;)Lbzm;
    • handleStatus

      public boolean handleStatus(World world, int status)
      Mappings:
      Namespace Name Mixin selector
      named handleStatus Lnet/minecraft/block/spawner/MobSpawnerLogic;handleStatus(Lnet/minecraft/world/World;I)Z
      intermediary method_8275 Lnet/minecraft/class_1917;method_8275(Lnet/minecraft/class_1937;I)Z
      official a Ldlu;a(Ldmu;I)Z
    • setSpawnEntry

      protected void setSpawnEntry(@Nullable @Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry)
      Mappings:
      Namespace Name Mixin selector
      named setSpawnEntry Lnet/minecraft/block/spawner/MobSpawnerLogic;setSpawnEntry(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/spawner/MobSpawnerEntry;)V
      intermediary method_8277 Lnet/minecraft/class_1917;method_8277(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1952;)V
      official a Ldlu;a(Ldmu;Ljb;Ldno;)V
    • getSpawnEntry

      private MobSpawnerEntry getSpawnEntry(@Nullable @Nullable World world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getSpawnEntry Lnet/minecraft/block/spawner/MobSpawnerLogic;getSpawnEntry(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/spawner/MobSpawnerEntry;
      intermediary method_46404 Lnet/minecraft/class_1917;method_46404(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1952;
      official a Ldlu;a(Ldmu;Lbck;Ljb;)Ldno;
    • sendStatus

      public abstract void sendStatus(World world, BlockPos pos, int status)
      Mappings:
      Namespace Name Mixin selector
      named sendStatus Lnet/minecraft/block/spawner/MobSpawnerLogic;sendStatus(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)V
      intermediary method_8273 Lnet/minecraft/class_1917;method_8273(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;I)V
      official a Ldlu;a(Ldmu;Ljb;I)V
    • getRotation

      public double getRotation()
      Mappings:
      Namespace Name Mixin selector
      named getRotation Lnet/minecraft/block/spawner/MobSpawnerLogic;getRotation()D
      intermediary method_8278 Lnet/minecraft/class_1917;method_8278()D
      official a Ldlu;a()D
    • getLastRotation

      public double getLastRotation()
      Mappings:
      Namespace Name Mixin selector
      named getLastRotation Lnet/minecraft/block/spawner/MobSpawnerLogic;getLastRotation()D
      intermediary method_8279 Lnet/minecraft/class_1917;method_8279()D
      official b Ldlu;b()D