Class MobSpawnerLogic

java.lang.Object
net.minecraft.world.MobSpawnerLogic

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

    • SPAWN_DATA_KEY

      public static final String SPAWN_DATA_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lclo;b:Ljava/lang/String;
      intermediary field_40877 Lnet/minecraft/class_1917;field_40877:Ljava/lang/String;
      named SPAWN_DATA_KEY Lnet/minecraft/world/MobSpawnerLogic;SPAWN_DATA_KEY:Ljava/lang/String;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lclo;a:Lorg/slf4j/Logger;
      intermediary field_9156 Lnet/minecraft/class_1917;field_9156:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/world/MobSpawnerLogic;LOGGER:Lorg/slf4j/Logger;
    • field_30951

      private static final int field_30951
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lclo;c:I
      intermediary field_30951 Lnet/minecraft/class_1917;field_30951:I
      named field_30951 Lnet/minecraft/world/MobSpawnerLogic;field_30951:I
    • spawnDelay

      private int spawnDelay
      Mappings:
      Namespace Name Mixin selector
      official d Lclo;d:I
      intermediary field_9154 Lnet/minecraft/class_1917;field_9154:I
      named spawnDelay Lnet/minecraft/world/MobSpawnerLogic;spawnDelay:I
    • spawnPotentials

      private DataPool<MobSpawnerEntry> spawnPotentials
      Mappings:
      Namespace Name Mixin selector
      official e Lclo;e:Lbch;
      intermediary field_9152 Lnet/minecraft/class_1917;field_9152:Lnet/minecraft/class_6005;
      named spawnPotentials Lnet/minecraft/world/MobSpawnerLogic;spawnPotentials:Lnet/minecraft/util/collection/DataPool;
    • spawnEntry

      @Nullable private @Nullable MobSpawnerEntry spawnEntry
      Mappings:
      Namespace Name Mixin selector
      official f Lclo;f:Lcnd;
      intermediary field_9155 Lnet/minecraft/class_1917;field_9155:Lnet/minecraft/class_1952;
      named spawnEntry Lnet/minecraft/world/MobSpawnerLogic;spawnEntry:Lnet/minecraft/world/MobSpawnerEntry;
    • rotation

      private double rotation
      Mappings:
      Namespace Name Mixin selector
      official g Lclo;g:D
      intermediary field_9161 Lnet/minecraft/class_1917;field_9161:D
      named rotation Lnet/minecraft/world/MobSpawnerLogic;rotation:D
    • lastRotation

      private double lastRotation
      Mappings:
      Namespace Name Mixin selector
      official h Lclo;h:D
      intermediary field_9159 Lnet/minecraft/class_1917;field_9159:D
      named lastRotation Lnet/minecraft/world/MobSpawnerLogic;lastRotation:D
    • minSpawnDelay

      private int minSpawnDelay
      Mappings:
      Namespace Name Mixin selector
      official i Lclo;i:I
      intermediary field_9151 Lnet/minecraft/class_1917;field_9151:I
      named minSpawnDelay Lnet/minecraft/world/MobSpawnerLogic;minSpawnDelay:I
    • maxSpawnDelay

      private int maxSpawnDelay
      Mappings:
      Namespace Name Mixin selector
      official j Lclo;j:I
      intermediary field_9150 Lnet/minecraft/class_1917;field_9150:I
      named maxSpawnDelay Lnet/minecraft/world/MobSpawnerLogic;maxSpawnDelay:I
    • spawnCount

      private int spawnCount
      Mappings:
      Namespace Name Mixin selector
      official k Lclo;k:I
      intermediary field_9149 Lnet/minecraft/class_1917;field_9149:I
      named spawnCount Lnet/minecraft/world/MobSpawnerLogic;spawnCount:I
    • renderedEntity

      @Nullable private @Nullable Entity renderedEntity
      Mappings:
      Namespace Name Mixin selector
      official l Lclo;l:Lbfj;
      intermediary field_9153 Lnet/minecraft/class_1917;field_9153:Lnet/minecraft/class_1297;
      named renderedEntity Lnet/minecraft/world/MobSpawnerLogic;renderedEntity:Lnet/minecraft/entity/Entity;
    • maxNearbyEntities

      private int maxNearbyEntities
      Mappings:
      Namespace Name Mixin selector
      official m Lclo;m:I
      intermediary field_9160 Lnet/minecraft/class_1917;field_9160:I
      named maxNearbyEntities Lnet/minecraft/world/MobSpawnerLogic;maxNearbyEntities:I
    • requiredPlayerRange

      private int requiredPlayerRange
      Mappings:
      Namespace Name Mixin selector
      official n Lclo;n:I
      intermediary field_9158 Lnet/minecraft/class_1917;field_9158:I
      named requiredPlayerRange Lnet/minecraft/world/MobSpawnerLogic;requiredPlayerRange:I
    • spawnRange

      private int spawnRange
      Mappings:
      Namespace Name Mixin selector
      official o Lclo;o:I
      intermediary field_9157 Lnet/minecraft/class_1917;field_9157:I
      named spawnRange Lnet/minecraft/world/MobSpawnerLogic;spawnRange: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
      official a Lclo;a(Lbfn;Lcmm;Lapf;Lgu;)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
      named setEntityId Lnet/minecraft/world/MobSpawnerLogic;setEntityId(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)V
    • isPlayerInRange

      private boolean isPlayerInRange(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lclo;b(Lcmm;Lgu;)Z
      intermediary method_8284 Lnet/minecraft/class_1917;method_8284(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Z
      named isPlayerInRange Lnet/minecraft/world/MobSpawnerLogic;isPlayerInRange(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • clientTick

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

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

      private void updateSpawns(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lclo;c(Lcmm;Lgu;)V
      intermediary method_8282 Lnet/minecraft/class_1917;method_8282(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      named updateSpawns Lnet/minecraft/world/MobSpawnerLogic;updateSpawns(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • readNbt

      public void readNbt(@Nullable @Nullable World world, BlockPos pos, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lclo;a(Lcmm;Lgu;Lqr;)V
      intermediary method_8280 Lnet/minecraft/class_1917;method_8280(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/world/MobSpawnerLogic;readNbt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/nbt/NbtCompound;)V
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lclo;a(Lqr;)Lqr;
      intermediary method_8272 Lnet/minecraft/class_1917;method_8272(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named writeNbt Lnet/minecraft/world/MobSpawnerLogic;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • getRenderedEntity

      @Nullable public @Nullable Entity getRenderedEntity(World world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lclo;a(Lcmm;Lapf;Lgu;)Lbfj;
      intermediary method_8283 Lnet/minecraft/class_1917;method_8283(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1297;
      named getRenderedEntity Lnet/minecraft/world/MobSpawnerLogic;getRenderedEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/Entity;
    • handleStatus

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

      protected void setSpawnEntry(@Nullable @Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lclo;a(Lcmm;Lgu;Lcnd;)V
      intermediary method_8277 Lnet/minecraft/class_1917;method_8277(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1952;)V
      named setSpawnEntry Lnet/minecraft/world/MobSpawnerLogic;setSpawnEntry(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/MobSpawnerEntry;)V
    • getSpawnEntry

      private MobSpawnerEntry getSpawnEntry(@Nullable @Nullable World world, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lclo;b(Lcmm;Lapf;Lgu;)Lcnd;
      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;
      named getSpawnEntry Lnet/minecraft/world/MobSpawnerLogic;getSpawnEntry(Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/MobSpawnerEntry;
    • sendStatus

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

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

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