Package net.minecraft.world
Class SpawnHelper.Info
java.lang.Object
net.minecraft.world.SpawnHelper.Info
- Enclosing class:
- SpawnHelper
public static class SpawnHelper.Info extends Object
- Mappings:
Namespace Name official buf$d
intermediary net/minecraft/class_1948$class_5262
named net/minecraft/world/SpawnHelper$Info
-
Field Summary
Fields Modifier and Type Field Description private double
cachedDensityMass
private EntityType<?>
cachedEntityType
private BlockPos
cachedPos
private GravityField
densityField
private Object2IntOpenHashMap<SpawnGroup>
groupToCount
private Object2IntMap<SpawnGroup>
groupToCountView
private int
spawningChunkCount
-
Constructor Summary
Constructors Modifier Constructor Description private
Info(int spawningChunkCount, Object2IntOpenHashMap<SpawnGroup> groupToCount, GravityField densityField)
-
Method Summary
Modifier and Type Method Description Object2IntMap<SpawnGroup>
getGroupToCount()
int
getSpawningChunkCount()
private boolean
isBelowCap(SpawnGroup group)
private void
run(MobEntity entity, Chunk chunk)
private boolean
test(EntityType<?> type, BlockPos pos, Chunk chunk)
-
Field Details
-
spawningChunkCount
private final int spawningChunkCount- Mappings:
Namespace Name Mixin selector official a
Lbuf$d;a:I
intermediary field_24394
Lnet/minecraft/class_1948$class_5262;field_24394:I
named spawningChunkCount
Lnet/minecraft/world/SpawnHelper$Info;spawningChunkCount:I
-
groupToCount
- Mappings:
Namespace Name Mixin selector official b
Lbuf$d;b:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;
intermediary field_24395
Lnet/minecraft/class_1948$class_5262;field_24395:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;
named groupToCount
Lnet/minecraft/world/SpawnHelper$Info;groupToCount:Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;
-
densityField
- Mappings:
Namespace Name Mixin selector official c
Lbuf$d;c:Lbui;
intermediary field_24396
Lnet/minecraft/class_1948$class_5262;field_24396:Lnet/minecraft/class_5263;
named densityField
Lnet/minecraft/world/SpawnHelper$Info;densityField:Lnet/minecraft/util/math/GravityField;
-
groupToCountView
- Mappings:
Namespace Name Mixin selector official d
Lbuf$d;d:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_24397
Lnet/minecraft/class_1948$class_5262;field_24397:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named groupToCountView
Lnet/minecraft/world/SpawnHelper$Info;groupToCountView:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
cachedPos
- Mappings:
Namespace Name Mixin selector official e
Lbuf$d;e:Lfx;
intermediary field_24398
Lnet/minecraft/class_1948$class_5262;field_24398:Lnet/minecraft/class_2338;
named cachedPos
Lnet/minecraft/world/SpawnHelper$Info;cachedPos:Lnet/minecraft/util/math/BlockPos;
-
cachedEntityType
- Mappings:
Namespace Name Mixin selector official f
Lbuf$d;f:Laqz;
intermediary field_24399
Lnet/minecraft/class_1948$class_5262;field_24399:Lnet/minecraft/class_1299;
named cachedEntityType
Lnet/minecraft/world/SpawnHelper$Info;cachedEntityType:Lnet/minecraft/entity/EntityType;
-
cachedDensityMass
private double cachedDensityMass- Mappings:
Namespace Name Mixin selector official g
Lbuf$d;g:D
intermediary field_24400
Lnet/minecraft/class_1948$class_5262;field_24400:D
named cachedDensityMass
Lnet/minecraft/world/SpawnHelper$Info;cachedDensityMass:D
-
-
Constructor Details
-
Info
private Info(int spawningChunkCount, Object2IntOpenHashMap<SpawnGroup> groupToCount, GravityField densityField)- Mappings:
Namespace Name Mixin selector official <init>
Lbuf$d;<init>(ILit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;Lbui;)V
intermediary <init>
Lnet/minecraft/class_1948$class_5262;<init>(ILit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;Lnet/minecraft/class_5263;)V
named <init>
Lnet/minecraft/world/SpawnHelper$Info;<init>(ILit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;Lnet/minecraft/util/math/GravityField;)V
-
-
Method Details
-
test
- See Also:
SpawnHelper.Checker.test(EntityType, BlockPos, Chunk)
- Mappings:
Namespace Name Mixin selector official a
Lbuf$d;a(Laqz;Lfx;Lcjl;)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
named test
Lnet/minecraft/world/SpawnHelper$Info;test(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/Chunk;)Z
-
run
- See Also:
SpawnHelper.Runner.run(MobEntity, Chunk)
- Mappings:
Namespace Name Mixin selector official a
Lbuf$d;a(Larj;Lcjl;)V
intermediary method_27825
Lnet/minecraft/class_1948$class_5262;method_27825(Lnet/minecraft/class_1308;Lnet/minecraft/class_2791;)V
named run
Lnet/minecraft/world/SpawnHelper$Info;run(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/world/chunk/Chunk;)V
-
getSpawningChunkCount
- Mappings:
Namespace Name Mixin selector official a
Lbuf$d;a()I
intermediary method_27823
Lnet/minecraft/class_1948$class_5262;method_27823()I
named getSpawningChunkCount
Lnet/minecraft/world/SpawnHelper$Info;getSpawningChunkCount()I
-
getGroupToCount
- Mappings:
Namespace Name Mixin selector official b
Lbuf$d;b()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary method_27830
Lnet/minecraft/class_1948$class_5262;method_27830()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named getGroupToCount
Lnet/minecraft/world/SpawnHelper$Info;getGroupToCount()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
isBelowCap
- Mappings:
Namespace Name Mixin selector official a
Lbuf$d;a(Lark;)Z
intermediary method_27826
Lnet/minecraft/class_1948$class_5262;method_27826(Lnet/minecraft/class_1311;)Z
named isBelowCap
Lnet/minecraft/world/SpawnHelper$Info;isBelowCap(Lnet/minecraft/entity/SpawnGroup;)Z
-