Package net.minecraft.world
Class SpawnDensityCapper
java.lang.Object
net.minecraft.world.SpawnDensityCapper
- Mappings:
Namespace Name official cmp
intermediary net/minecraft/class_6540
named net/minecraft/world/SpawnDensityCapper
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Long2ObjectMap<List<ServerPlayerEntity>>
private final Map<ServerPlayerEntity,
SpawnDensityCapper.DensityCap> private final ThreadedAnvilChunkStorage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canSpawn
(SpawnGroup spawnGroup, ChunkPos chunkPos) private List<ServerPlayerEntity>
getMobSpawnablePlayers
(ChunkPos chunkPos) void
increaseDensity
(ChunkPos chunkPos, SpawnGroup spawnGroup)
-
Field Details
-
chunkPosToMobSpawnablePlayers
- Mappings:
Namespace Name Mixin selector official a
Lcmp;a:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
intermediary field_34455
Lnet/minecraft/class_6540;field_34455:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
named chunkPosToMobSpawnablePlayers
Lnet/minecraft/world/SpawnDensityCapper;chunkPosToMobSpawnablePlayers:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
playersToDensityCap
- Mappings:
Namespace Name Mixin selector official b
Lcmp;b:Ljava/util/Map;
intermediary field_34456
Lnet/minecraft/class_6540;field_34456:Ljava/util/Map;
named playersToDensityCap
Lnet/minecraft/world/SpawnDensityCapper;playersToDensityCap:Ljava/util/Map;
-
threadedAnvilChunkStorage
- Mappings:
Namespace Name Mixin selector official c
Lcmp;c:Lahq;
intermediary field_34457
Lnet/minecraft/class_6540;field_34457:Lnet/minecraft/class_3898;
named threadedAnvilChunkStorage
Lnet/minecraft/world/SpawnDensityCapper;threadedAnvilChunkStorage:Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;
-
-
Constructor Details
-
SpawnDensityCapper
- Mappings:
Namespace Name Mixin selector official <init>
Lcmp;<init>(Lahq;)V
intermediary <init>
Lnet/minecraft/class_6540;<init>(Lnet/minecraft/class_3898;)V
named <init>
Lnet/minecraft/world/SpawnDensityCapper;<init>(Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;)V
-
-
Method Details
-
getMobSpawnablePlayers
- Mappings:
Namespace Name Mixin selector official a
Lcmp;a(Lclm;)Ljava/util/List;
intermediary method_38085
Lnet/minecraft/class_6540;method_38085(Lnet/minecraft/class_1923;)Ljava/util/List;
named getMobSpawnablePlayers
Lnet/minecraft/world/SpawnDensityCapper;getMobSpawnablePlayers(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/List;
-
increaseDensity
- Mappings:
Namespace Name Mixin selector official a
Lcmp;a(Lclm;Lbfw;)V
intermediary method_38087
Lnet/minecraft/class_6540;method_38087(Lnet/minecraft/class_1923;Lnet/minecraft/class_1311;)V
named increaseDensity
Lnet/minecraft/world/SpawnDensityCapper;increaseDensity(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/entity/SpawnGroup;)V
-
canSpawn
- Mappings:
Namespace Name Mixin selector official a
Lcmp;a(Lbfw;Lclm;)Z
intermediary method_38084
Lnet/minecraft/class_6540;method_38084(Lnet/minecraft/class_1311;Lnet/minecraft/class_1923;)Z
named canSpawn
Lnet/minecraft/world/SpawnDensityCapper;canSpawn(Lnet/minecraft/entity/SpawnGroup;Lnet/minecraft/util/math/ChunkPos;)Z
-