Uses of Record Class
net.minecraft.block.spawner.MobSpawnerEntry
-
Uses of MobSpawnerEntry in net.minecraft.block.spawner
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MobSpawnerEntry>
MobSpawnerEntry.CODEC
static final com.mojang.serialization.Codec<DataPool<MobSpawnerEntry>>
MobSpawnerEntry.DATA_POOL_CODEC
protected Optional<MobSpawnerEntry>
TrialSpawnerData.spawnData
protected DataPool<MobSpawnerEntry>
TrialSpawnerData.spawnDataPool
private DataPool<MobSpawnerEntry>
MobSpawnerLogic.spawnPotentials
private final DataPool<MobSpawnerEntry>
TrialSpawnerConfig.spawnPotentialsDefinition
The field for thespawnPotentialsDefinition
record component.Modifier and TypeMethodDescriptionprotected MobSpawnerEntry
TrialSpawnerData.getSpawnData
(TrialSpawnerLogic logic, Random random) private MobSpawnerEntry
MobSpawnerLogic.getSpawnEntry
(@Nullable World world, Random random, BlockPos pos) Modifier and TypeMethodDescriptionTrialSpawnerConfig.spawnPotentialsDefinition()
Returns the value of thespawnPotentialsDefinition
record component.Modifier and TypeMethodDescriptionprotected void
MobSpawnerLogic.setSpawnEntry
(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) ModifierConstructorDescriptionTrialSpawnerConfig
(int int2, int int3, float float2, float float3, float float4, float float5, int int4, int int5, DataPool<MobSpawnerEntry> dataPool, DataPool<Identifier> dataPool2) TrialSpawnerData
(Set<UUID> players, Set<UUID> spawnedMobsAlive, long cooldownEnd, long nextMobSpawnsAt, int totalSpawnedMobs, Optional<MobSpawnerEntry> spawnData, Optional<Identifier> rewardLootTable)