Package net.minecraft.block.spawner
Class MobSpawnerLogic
java.lang.Object
net.minecraft.block.spawner.MobSpawnerLogic
- Mappings:
Namespace Name named net/minecraft/block/spawner/MobSpawnerLogicintermediary net/minecraft/class_1917official dnc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate doubleprivate static final Loggerprivate intprivate intprivate intprivate intprivate doublestatic final Stringprivate intprivate intprivate @Nullable MobSpawnerEntryprivate Pool<MobSpawnerEntry> private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclientTick(World world, BlockPos pos) doublegetRenderedEntity(World world, BlockPos pos) doubleprivate MobSpawnerEntrygetSpawnEntry(@Nullable World world, Random random, BlockPos pos) booleanhandleStatus(World world, int status) private booleanisPlayerInRange(World world, BlockPos pos) voidabstract voidsendStatus(World world, BlockPos pos, int status) voidserverTick(ServerWorld world, BlockPos pos) voidsetEntityId(EntityType<?> type, @Nullable World world, Random random, BlockPos pos) protected voidsetSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) private voidupdateSpawns(World world, BlockPos pos) void
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/block/spawner/MobSpawnerLogic;LOGGER:Lorg/slf4j/Logger;intermediary field_60369Lnet/minecraft/class_1917;field_60369:Lorg/slf4j/Logger;official aLdnc;a:Lorg/slf4j/Logger;
-
SPAWN_DATA_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SPAWN_DATA_KEYLnet/minecraft/block/spawner/MobSpawnerLogic;SPAWN_DATA_KEY:Ljava/lang/String;intermediary field_40877Lnet/minecraft/class_1917;field_40877:Ljava/lang/String;official bLdnc;b:Ljava/lang/String;
-
field_30951
private static final int field_30951- See Also:
- Mappings:
Namespace Name Mixin selector named field_30951Lnet/minecraft/block/spawner/MobSpawnerLogic;field_30951:Iintermediary field_30951Lnet/minecraft/class_1917;field_30951:Iofficial cLdnc;c:I
-
field_57757
private static final int field_57757- See Also:
- Mappings:
Namespace Name Mixin selector named field_57757Lnet/minecraft/block/spawner/MobSpawnerLogic;field_57757:Iintermediary field_57757Lnet/minecraft/class_1917;field_57757:Iofficial dLdnc;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_DELAYLnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_MIN_SPAWN_DELAY:Iintermediary field_57758Lnet/minecraft/class_1917;field_57758:Iofficial eLdnc;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_DELAYLnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_MAX_SPAWN_DELAY:Iintermediary field_57759Lnet/minecraft/class_1917;field_57759:Iofficial fLdnc;f:I
-
DEFAULT_SPAWN_COUNT
private static final int DEFAULT_SPAWN_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_SPAWN_COUNTLnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_SPAWN_COUNT:Iintermediary field_57760Lnet/minecraft/class_1917;field_57760:Iofficial gLdnc;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_ENTITIESLnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_MAX_NEARBY_ENTITIES:Iintermediary field_57761Lnet/minecraft/class_1917;field_57761:Iofficial hLdnc;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_RANGELnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_REQUIRED_PLAYER_RANGE:Iintermediary field_57762Lnet/minecraft/class_1917;field_57762:Iofficial iLdnc;i:I
-
DEFAULT_SPAWN_RANGE
private static final int DEFAULT_SPAWN_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_SPAWN_RANGELnet/minecraft/block/spawner/MobSpawnerLogic;DEFAULT_SPAWN_RANGE:Iintermediary field_57763Lnet/minecraft/class_1917;field_57763:Iofficial jLdnc;j:I
-
spawnDelay
private int spawnDelay- Mappings:
Namespace Name Mixin selector named spawnDelayLnet/minecraft/block/spawner/MobSpawnerLogic;spawnDelay:Iintermediary field_9154Lnet/minecraft/class_1917;field_9154:Iofficial kLdnc;k:I
-
spawnPotentials
- Mappings:
Namespace Name Mixin selector named spawnPotentialsLnet/minecraft/block/spawner/MobSpawnerLogic;spawnPotentials:Lnet/minecraft/util/collection/Pool;intermediary field_9152Lnet/minecraft/class_1917;field_9152:Lnet/minecraft/class_6012;official lLdnc;l:Lbwq;
-
spawnEntry
- Mappings:
Namespace Name Mixin selector named spawnEntryLnet/minecraft/block/spawner/MobSpawnerLogic;spawnEntry:Lnet/minecraft/block/spawner/MobSpawnerEntry;intermediary field_9155Lnet/minecraft/class_1917;field_9155:Lnet/minecraft/class_1952;official mLdnc;m:Ldow;
-
rotation
private double rotation- Mappings:
Namespace Name Mixin selector named rotationLnet/minecraft/block/spawner/MobSpawnerLogic;rotation:Dintermediary field_9161Lnet/minecraft/class_1917;field_9161:Dofficial nLdnc;n:D
-
lastRotation
private double lastRotation- Mappings:
Namespace Name Mixin selector named lastRotationLnet/minecraft/block/spawner/MobSpawnerLogic;lastRotation:Dintermediary field_9159Lnet/minecraft/class_1917;field_9159:Dofficial oLdnc;o:D
-
minSpawnDelay
private int minSpawnDelay- Mappings:
Namespace Name Mixin selector named minSpawnDelayLnet/minecraft/block/spawner/MobSpawnerLogic;minSpawnDelay:Iintermediary field_9151Lnet/minecraft/class_1917;field_9151:Iofficial pLdnc;p:I
-
maxSpawnDelay
private int maxSpawnDelay- Mappings:
Namespace Name Mixin selector named maxSpawnDelayLnet/minecraft/block/spawner/MobSpawnerLogic;maxSpawnDelay:Iintermediary field_9150Lnet/minecraft/class_1917;field_9150:Iofficial qLdnc;q:I
-
spawnCount
private int spawnCount- Mappings:
Namespace Name Mixin selector named spawnCountLnet/minecraft/block/spawner/MobSpawnerLogic;spawnCount:Iintermediary field_9149Lnet/minecraft/class_1917;field_9149:Iofficial rLdnc;r:I
-
renderedEntity
- Mappings:
Namespace Name Mixin selector named renderedEntityLnet/minecraft/block/spawner/MobSpawnerLogic;renderedEntity:Lnet/minecraft/entity/Entity;intermediary field_9153Lnet/minecraft/class_1917;field_9153:Lnet/minecraft/class_1297;official sLdnc;s:Lcak;
-
maxNearbyEntities
private int maxNearbyEntities- Mappings:
Namespace Name Mixin selector named maxNearbyEntitiesLnet/minecraft/block/spawner/MobSpawnerLogic;maxNearbyEntities:Iintermediary field_9160Lnet/minecraft/class_1917;field_9160:Iofficial tLdnc;t:I
-
requiredPlayerRange
private int requiredPlayerRange- Mappings:
Namespace Name Mixin selector named requiredPlayerRangeLnet/minecraft/block/spawner/MobSpawnerLogic;requiredPlayerRange:Iintermediary field_9158Lnet/minecraft/class_1917;field_9158:Iofficial uLdnc;u:I
-
spawnRange
private int spawnRange- Mappings:
Namespace Name Mixin selector named spawnRangeLnet/minecraft/block/spawner/MobSpawnerLogic;spawnRange:Iintermediary field_9157Lnet/minecraft/class_1917;field_9157:Iofficial vLdnc;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 setEntityIdLnet/minecraft/block/spawner/MobSpawnerLogic;setEntityId(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_8274Lnet/minecraft/class_1917;method_8274(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Vofficial aLdnc;a(Lcat;Ldoc;Lbdd;Ljb;)V
-
isPlayerInRange
- Mappings:
Namespace Name Mixin selector named isPlayerInRangeLnet/minecraft/block/spawner/MobSpawnerLogic;isPlayerInRange(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_8284Lnet/minecraft/class_1917;method_8284(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Zofficial cLdnc;c(Ldoc;Ljb;)Z
-
clientTick
- Mappings:
Namespace Name Mixin selector named clientTickLnet/minecraft/block/spawner/MobSpawnerLogic;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_31589Lnet/minecraft/class_1917;method_31589(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vofficial aLdnc;a(Ldoc;Ljb;)V
-
serverTick
- Mappings:
Namespace Name Mixin selector named serverTickLnet/minecraft/block/spawner/MobSpawnerLogic;serverTick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_31588Lnet/minecraft/class_1917;method_31588(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vofficial aLdnc;a(Lauo;Ljb;)V
-
updateSpawns
- Mappings:
Namespace Name Mixin selector named updateSpawnsLnet/minecraft/block/spawner/MobSpawnerLogic;updateSpawns(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_8282Lnet/minecraft/class_1917;method_8282(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vofficial dLdnc;d(Ldoc;Ljb;)V
-
readData
- Mappings:
Namespace Name Mixin selector named readDataLnet/minecraft/block/spawner/MobSpawnerLogic;readData(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/storage/ReadView;)Vintermediary method_8280Lnet/minecraft/class_1917;method_8280(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_11368;)Vofficial aLdnc;a(Ldoc;Ljb;Lfey;)V
-
writeData
- Mappings:
Namespace Name Mixin selector named writeDataLnet/minecraft/block/spawner/MobSpawnerLogic;writeData(Lnet/minecraft/storage/WriteView;)Vintermediary method_8272Lnet/minecraft/class_1917;method_8272(Lnet/minecraft/class_11372;)Vofficial aLdnc;a(Lffa;)V
-
getRenderedEntity
- Mappings:
Namespace Name Mixin selector named getRenderedEntityLnet/minecraft/block/spawner/MobSpawnerLogic;getRenderedEntity(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/Entity;intermediary method_8283Lnet/minecraft/class_1917;method_8283(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1297;official bLdnc;b(Ldoc;Ljb;)Lcak;
-
handleStatus
- Mappings:
Namespace Name Mixin selector named handleStatusLnet/minecraft/block/spawner/MobSpawnerLogic;handleStatus(Lnet/minecraft/world/World;I)Zintermediary method_8275Lnet/minecraft/class_1917;method_8275(Lnet/minecraft/class_1937;I)Zofficial aLdnc;a(Ldoc;I)Z
-
setSpawnEntry
protected void setSpawnEntry(@Nullable @Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) - Mappings:
Namespace Name Mixin selector named setSpawnEntryLnet/minecraft/block/spawner/MobSpawnerLogic;setSpawnEntry(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/spawner/MobSpawnerEntry;)Vintermediary method_8277Lnet/minecraft/class_1917;method_8277(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1952;)Vofficial aLdnc;a(Ldoc;Ljb;Ldow;)V
-
getSpawnEntry
- Mappings:
Namespace Name Mixin selector named getSpawnEntryLnet/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_46404Lnet/minecraft/class_1917;method_46404(Lnet/minecraft/class_1937;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1952;official aLdnc;a(Ldoc;Lbdd;Ljb;)Ldow;
-
sendStatus
- Mappings:
Namespace Name Mixin selector named sendStatusLnet/minecraft/block/spawner/MobSpawnerLogic;sendStatus(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)Vintermediary method_8273Lnet/minecraft/class_1917;method_8273(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;I)Vofficial aLdnc;a(Ldoc;Ljb;I)V
-
getRotation
public double getRotation()- Mappings:
Namespace Name Mixin selector named getRotationLnet/minecraft/block/spawner/MobSpawnerLogic;getRotation()Dintermediary method_8278Lnet/minecraft/class_1917;method_8278()Dofficial aLdnc;a()D
-
getLastRotation
public double getLastRotation()- Mappings:
Namespace Name Mixin selector named getLastRotationLnet/minecraft/block/spawner/MobSpawnerLogic;getLastRotation()Dintermediary method_8279Lnet/minecraft/class_1917;method_8279()Dofficial bLdnc;b()D
-