Package net.minecraft.world
Class MobSpawnerLogic
java.lang.Object
net.minecraft.world.MobSpawnerLogic
public abstract class MobSpawnerLogic extends Object
- Mappings:
Namespace Name official bswintermediary net/minecraft/class_1917named net/minecraft/world/MobSpawnerLogic
-
Field Summary
Fields Modifier and Type Field Description private doublefield_9159private doublefield_9161private static LoggerLOGGERprivate intmaxNearbyEntitiesprivate intmaxSpawnDelayprivate intminSpawnDelayprivate Randomrandomprivate EntityrenderedEntityprivate intrequiredPlayerRangeprivate intspawnCountprivate intspawnDelayprivate MobSpawnerEntryspawnEntryprivate List<MobSpawnerEntry>spawnPotentialsprivate intspawnRange -
Constructor Summary
Constructors Constructor Description MobSpawnerLogic() -
Method Summary
Modifier and Type Method Description voidclientTick(World world, BlockPos pos)voidfromTag(World world, BlockPos pos, CompoundTag tag)private IdentifiergetEntityId(World world, BlockPos pos)EntitygetRenderedEntity(World world)private booleanisPlayerInRange(World world, BlockPos pos)booleanmethod_8275(World world, int int2)doublemethod_8278()doublemethod_8279()abstract voidsendStatus(World world, BlockPos pos, int int2)voidserverTick(ServerWorld world, BlockPos pos)voidsetEntityId(EntityType<?> type)voidsetSpawnEntry(World world, BlockPos pos, MobSpawnerEntry spawnEntry)CompoundTagtoTag(World world, BlockPos blockPos, CompoundTag compoundTag)private voidupdateSpawns(World world, BlockPos pos)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLbsw;a:Lorg/apache/logging/log4j/Logger;intermediary field_9156Lnet/minecraft/class_1917;field_9156:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/MobSpawnerLogic;LOGGER:Lorg/apache/logging/log4j/Logger;
-
spawnDelay
private int spawnDelay- Mappings:
Namespace Name Mixin selector official bLbsw;b:Iintermediary field_9154Lnet/minecraft/class_1917;field_9154:Inamed spawnDelayLnet/minecraft/world/MobSpawnerLogic;spawnDelay:I
-
spawnPotentials
- Mappings:
Namespace Name Mixin selector official cLbsw;c:Ljava/util/List;intermediary field_9152Lnet/minecraft/class_1917;field_9152:Ljava/util/List;named spawnPotentialsLnet/minecraft/world/MobSpawnerLogic;spawnPotentials:Ljava/util/List;
-
spawnEntry
- Mappings:
Namespace Name Mixin selector official dLbsw;d:Lbul;intermediary field_9155Lnet/minecraft/class_1917;field_9155:Lnet/minecraft/class_1952;named spawnEntryLnet/minecraft/world/MobSpawnerLogic;spawnEntry:Lnet/minecraft/world/MobSpawnerEntry;
-
field_9161
private double field_9161- Mappings:
Namespace Name Mixin selector official eLbsw;e:Dintermediary field_9161Lnet/minecraft/class_1917;field_9161:Dnamed field_9161Lnet/minecraft/world/MobSpawnerLogic;field_9161:D
-
field_9159
private double field_9159- Mappings:
Namespace Name Mixin selector official fLbsw;f:Dintermediary field_9159Lnet/minecraft/class_1917;field_9159:Dnamed field_9159Lnet/minecraft/world/MobSpawnerLogic;field_9159:D
-
minSpawnDelay
private int minSpawnDelay- Mappings:
Namespace Name Mixin selector official gLbsw;g:Iintermediary field_9151Lnet/minecraft/class_1917;field_9151:Inamed minSpawnDelayLnet/minecraft/world/MobSpawnerLogic;minSpawnDelay:I
-
maxSpawnDelay
private int maxSpawnDelay- Mappings:
Namespace Name Mixin selector official hLbsw;h:Iintermediary field_9150Lnet/minecraft/class_1917;field_9150:Inamed maxSpawnDelayLnet/minecraft/world/MobSpawnerLogic;maxSpawnDelay:I
-
spawnCount
private int spawnCount- Mappings:
Namespace Name Mixin selector official iLbsw;i:Iintermediary field_9149Lnet/minecraft/class_1917;field_9149:Inamed spawnCountLnet/minecraft/world/MobSpawnerLogic;spawnCount:I
-
renderedEntity
- Mappings:
Namespace Name Mixin selector official jLbsw;j:Laqv;intermediary field_9153Lnet/minecraft/class_1917;field_9153:Lnet/minecraft/class_1297;named renderedEntityLnet/minecraft/world/MobSpawnerLogic;renderedEntity:Lnet/minecraft/entity/Entity;
-
maxNearbyEntities
private int maxNearbyEntities- Mappings:
Namespace Name Mixin selector official kLbsw;k:Iintermediary field_9160Lnet/minecraft/class_1917;field_9160:Inamed maxNearbyEntitiesLnet/minecraft/world/MobSpawnerLogic;maxNearbyEntities:I
-
requiredPlayerRange
private int requiredPlayerRange- Mappings:
Namespace Name Mixin selector official lLbsw;l:Iintermediary field_9158Lnet/minecraft/class_1917;field_9158:Inamed requiredPlayerRangeLnet/minecraft/world/MobSpawnerLogic;requiredPlayerRange:I
-
spawnRange
private int spawnRange- Mappings:
Namespace Name Mixin selector official mLbsw;m:Iintermediary field_9157Lnet/minecraft/class_1917;field_9157:Inamed spawnRangeLnet/minecraft/world/MobSpawnerLogic;spawnRange:I
-
random
- Mappings:
Namespace Name Mixin selector official nLbsw;n:Ljava/util/Random;intermediary field_27080Lnet/minecraft/class_1917;field_27080:Ljava/util/Random;named randomLnet/minecraft/world/MobSpawnerLogic;random:Ljava/util/Random;
-
-
Constructor Details
-
MobSpawnerLogic
public MobSpawnerLogic()
-
-
Method Details
-
getEntityId
- Mappings:
Namespace Name Mixin selector official bLbsw;b(Lbtv;Lfx;)Lwb;intermediary method_8281Lnet/minecraft/class_1917;method_8281(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2960;named getEntityIdLnet/minecraft/world/MobSpawnerLogic;getEntityId(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/Identifier;
-
setEntityId
- Mappings:
Namespace Name Mixin selector official aLbsw;a(Laqz;)Vintermediary method_8274Lnet/minecraft/class_1917;method_8274(Lnet/minecraft/class_1299;)Vnamed setEntityIdLnet/minecraft/world/MobSpawnerLogic;setEntityId(Lnet/minecraft/entity/EntityType;)V
-
isPlayerInRange
- Mappings:
Namespace Name Mixin selector official cLbsw;c(Lbtv;Lfx;)Zintermediary method_8284Lnet/minecraft/class_1917;method_8284(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Znamed isPlayerInRangeLnet/minecraft/world/MobSpawnerLogic;isPlayerInRange(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
clientTick
- Mappings:
Namespace Name Mixin selector official aLbsw;a(Lbtv;Lfx;)Vintermediary method_31589Lnet/minecraft/class_1917;method_31589(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vnamed clientTickLnet/minecraft/world/MobSpawnerLogic;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
serverTick
- Mappings:
Namespace Name Mixin selector official aLbsw;a(Laav;Lfx;)Vintermediary method_31588Lnet/minecraft/class_1917;method_31588(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vnamed serverTickLnet/minecraft/world/MobSpawnerLogic;serverTick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-
updateSpawns
- Mappings:
Namespace Name Mixin selector official dLbsw;d(Lbtv;Lfx;)Vintermediary method_8282Lnet/minecraft/class_1917;method_8282(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vnamed updateSpawnsLnet/minecraft/world/MobSpawnerLogic;updateSpawns(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
fromTag
- Mappings:
Namespace Name Mixin selector official aLbsw;a(Lbtv;Lfx;Lmq;)Vintermediary method_8280Lnet/minecraft/class_1917;method_8280(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2487;)Vnamed fromTagLnet/minecraft/world/MobSpawnerLogic;fromTag(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Mappings:
Namespace Name Mixin selector official bLbsw;b(Lbtv;Lfx;Lmq;)Lmq;intermediary method_8272Lnet/minecraft/class_1917;method_8272(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named toTagLnet/minecraft/world/MobSpawnerLogic;toTag(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
getRenderedEntity
- Mappings:
Namespace Name Mixin selector official aLbsw;a(Lbtv;)Laqv;intermediary method_8283Lnet/minecraft/class_1917;method_8283(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;named getRenderedEntityLnet/minecraft/world/MobSpawnerLogic;getRenderedEntity(Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
-
method_8275
- Mappings:
Namespace Name Mixin selector official aLbsw;a(Lbtv;I)Zintermediary method_8275Lnet/minecraft/class_1917;method_8275(Lnet/minecraft/class_1937;I)Znamed method_8275Lnet/minecraft/world/MobSpawnerLogic;method_8275(Lnet/minecraft/world/World;I)Z
-
setSpawnEntry
- Mappings:
Namespace Name Mixin selector official aLbsw;a(Lbtv;Lfx;Lbul;)Vintermediary method_8277Lnet/minecraft/class_1917;method_8277(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1952;)Vnamed setSpawnEntryLnet/minecraft/world/MobSpawnerLogic;setSpawnEntry(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/MobSpawnerEntry;)V
-
sendStatus
- Mappings:
Namespace Name Mixin selector official aLbsw;a(Lbtv;Lfx;I)Vintermediary method_8273Lnet/minecraft/class_1917;method_8273(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;I)Vnamed sendStatusLnet/minecraft/world/MobSpawnerLogic;sendStatus(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)V
-
method_8278
- Mappings:
Namespace Name Mixin selector official aLbsw;a()Dintermediary method_8278Lnet/minecraft/class_1917;method_8278()Dnamed method_8278Lnet/minecraft/world/MobSpawnerLogic;method_8278()D
-
method_8279
- Mappings:
Namespace Name Mixin selector official bLbsw;b()Dintermediary method_8279Lnet/minecraft/class_1917;method_8279()Dnamed method_8279Lnet/minecraft/world/MobSpawnerLogic;method_8279()D
-