Package net.minecraft.world
Class SpawnHelper.Info
java.lang.Object
net.minecraft.world.SpawnHelper.Info
- Enclosing class:
- SpawnHelper
- Mappings:
- Namespace - Name - named - net/minecraft/world/SpawnHelper$Info- intermediary - net/minecraft/class_1948$class_5262- official - dgu$d
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate doubleprivate @Nullable EntityType<?> private final SpawnDensityCapperprivate final GravityFieldprivate final Object2IntOpenHashMap<SpawnGroup> private final Object2IntMap<SpawnGroup> private final int
- 
Constructor SummaryConstructorsConstructorDescriptionInfo(int spawningChunkCount, Object2IntOpenHashMap<SpawnGroup> groupToCount, GravityField densityField, SpawnDensityCapper densityCapper) 
- 
Method SummaryModifier and TypeMethodDescription(package private) booleancanSpawn(SpawnGroup group, ChunkPos chunkPos) int(package private) booleanisBelowCap(SpawnGroup group) private voidprivate booleantest(EntityType<?> type, BlockPos pos, Chunk chunk) 
- 
Field Details- 
spawningChunkCountprivate final int spawningChunkCount- Mappings:
- Namespace - Name - Mixin selector - named - spawningChunkCount- Lnet/minecraft/world/SpawnHelper$Info;spawningChunkCount:I- intermediary - field_24394- Lnet/minecraft/class_1948$class_5262;field_24394:I- official - a- Ldgu$d;a:I
 
- 
groupToCount- Mappings:
- Namespace - Name - Mixin selector - named - groupToCount- Lnet/minecraft/world/SpawnHelper$Info;groupToCount:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;- intermediary - field_24395- Lnet/minecraft/class_1948$class_5262;field_24395:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;- official - b- Ldgu$d;b:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;
 
- 
densityField- Mappings:
- Namespace - Name - Mixin selector - named - densityField- Lnet/minecraft/world/SpawnHelper$Info;densityField:Lnet/minecraft/util/math/GravityField;- intermediary - field_24396- Lnet/minecraft/class_1948$class_5262;field_24396:Lnet/minecraft/class_5263;- official - c- Ldgu$d;c:Ldgx;
 
- 
groupToCountView- Mappings:
- Namespace - Name - Mixin selector - named - groupToCountView- Lnet/minecraft/world/SpawnHelper$Info;groupToCountView:Lit/unimi/dsi/fastutil/objects/Object2IntMap;- intermediary - field_24397- Lnet/minecraft/class_1948$class_5262;field_24397:Lit/unimi/dsi/fastutil/objects/Object2IntMap;- official - d- Ldgu$d;d:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
 
- 
densityCapper- Mappings:
- Namespace - Name - Mixin selector - named - densityCapper- Lnet/minecraft/world/SpawnHelper$Info;densityCapper:Lnet/minecraft/world/SpawnDensityCapper;- intermediary - field_34459- Lnet/minecraft/class_1948$class_5262;field_34459:Lnet/minecraft/class_6540;- official - e- Ldgu$d;e:Ldgt;
 
- 
cachedPos- Mappings:
- Namespace - Name - Mixin selector - named - cachedPos- Lnet/minecraft/world/SpawnHelper$Info;cachedPos:Lnet/minecraft/util/math/BlockPos;- intermediary - field_24398- Lnet/minecraft/class_1948$class_5262;field_24398:Lnet/minecraft/class_2338;- official - f- Ldgu$d;f:Lji;
 
- 
cachedEntityType- Mappings:
- Namespace - Name - Mixin selector - named - cachedEntityType- Lnet/minecraft/world/SpawnHelper$Info;cachedEntityType:Lnet/minecraft/entity/EntityType;- intermediary - field_24399- Lnet/minecraft/class_1948$class_5262;field_24399:Lnet/minecraft/class_1299;- official - g- Ldgu$d;g:Lbut;
 
- 
cachedDensityMassprivate double cachedDensityMass- Mappings:
- Namespace - Name - Mixin selector - named - cachedDensityMass- Lnet/minecraft/world/SpawnHelper$Info;cachedDensityMass:D- intermediary - field_24400- Lnet/minecraft/class_1948$class_5262;field_24400:D- official - h- Ldgu$d;h:D
 
 
- 
- 
Constructor Details- 
InfoInfo(int spawningChunkCount, Object2IntOpenHashMap<SpawnGroup> groupToCount, GravityField densityField, SpawnDensityCapper densityCapper) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/SpawnHelper$Info;<init>(ILit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;Lnet/minecraft/util/math/GravityField;Lnet/minecraft/world/SpawnDensityCapper;)V- intermediary - <init>- Lnet/minecraft/class_1948$class_5262;<init>(ILit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;Lnet/minecraft/class_5263;Lnet/minecraft/class_6540;)V- official - <init>- Ldgu$d;<init>(ILit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;Ldgx;Ldgt;)V
 
 
- 
- 
Method Details- 
test- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - test- Lnet/minecraft/world/SpawnHelper$Info;test(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/Chunk;)Z- intermediary - method_27824- Lnet/minecraft/class_1948$class_5262;method_27824(Lnet/minecraft/class_1299;Lnet/minecraft/class_2338;Lnet/minecraft/class_2791;)Z- official - a- Ldgu$d;a(Lbut;Lji;Ldyt;)Z
 
- 
run- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - run- Lnet/minecraft/world/SpawnHelper$Info;run(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/chunk/Chunk;)V- intermediary - method_27825- Lnet/minecraft/class_1948$class_5262;method_27825(Lnet/minecraft/class_1308;Lnet/minecraft/class_2791;)V- official - a- Ldgu$d;a(Lbvk;Ldyt;)V
 
- 
getSpawningChunkCountpublic int getSpawningChunkCount()- Mappings:
- Namespace - Name - Mixin selector - named - getSpawningChunkCount- Lnet/minecraft/world/SpawnHelper$Info;getSpawningChunkCount()I- intermediary - method_27823- Lnet/minecraft/class_1948$class_5262;method_27823()I- official - a- Ldgu$d;a()I
 
- 
getGroupToCount- Mappings:
- Namespace - Name - Mixin selector - named - getGroupToCount- Lnet/minecraft/world/SpawnHelper$Info;getGroupToCount()Lit/unimi/dsi/fastutil/objects/Object2IntMap;- intermediary - method_27830- Lnet/minecraft/class_1948$class_5262;method_27830()Lit/unimi/dsi/fastutil/objects/Object2IntMap;- official - b- Ldgu$d;b()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
 
- 
isBelowCap- Mappings:
- Namespace - Name - Mixin selector - named - isBelowCap- Lnet/minecraft/world/SpawnHelper$Info;isBelowCap(Lnet/minecraft/entity/SpawnGroup;)Z- intermediary - method_27826- Lnet/minecraft/class_1948$class_5262;method_27826(Lnet/minecraft/class_1311;)Z- official - a- Ldgu$d;a(Lbvl;)Z
 
- 
canSpawn- Mappings:
- Namespace - Name - Mixin selector - named - canSpawn- Lnet/minecraft/world/SpawnHelper$Info;canSpawn(Lnet/minecraft/entity/SpawnGroup;Lnet/minecraft/util/math/ChunkPos;)Z- intermediary - method_61730- Lnet/minecraft/class_1948$class_5262;method_61730(Lnet/minecraft/class_1311;Lnet/minecraft/class_1923;)Z- official - a- Ldgu$d;a(Lbvl;Ldfp;)Z
 
 
-