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
private DataPool
<MobSpawnerEntry> MobSpawnerLogic.spawnPotentials
private DataPool
<MobSpawnerEntry> TrialSpawnerConfig.Builder.spawnPotentials
private final DataPool
<MobSpawnerEntry> TrialSpawnerConfig.spawnPotentials
The field for thespawnPotentials
record component.Modifier and TypeMethodDescriptionprivate static <T extends Entity>
MobSpawnerEntryTrialSpawnerConfigs.createEntry
(EntityType<T> entityType) private static <T extends Entity>
MobSpawnerEntryTrialSpawnerConfigs.createEntry
(EntityType<T> entityType, Consumer<NbtCompound> nbtConsumer) private static <T extends Entity>
MobSpawnerEntryTrialSpawnerConfigs.createEntry
(EntityType<T> entityType, Consumer<NbtCompound> nbtConsumer, @Nullable RegistryKey<LootTable> equipmentTable) private static <T extends Entity>
MobSpawnerEntryTrialSpawnerConfigs.createEntry
(EntityType<T> entityType, RegistryKey<LootTable> equipmentTable) protected MobSpawnerEntry
TrialSpawnerData.getSpawnData
(TrialSpawnerLogic logic, Random random) private MobSpawnerEntry
MobSpawnerLogic.getSpawnEntry
(@Nullable World world, Random random, BlockPos pos) Modifier and TypeMethodDescriptionTrialSpawnerConfig.spawnPotentials()
Returns the value of thespawnPotentials
record component.Modifier and TypeMethodDescriptionprotected void
MobSpawnerLogic.setSpawnEntry
(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) Modifier and TypeMethodDescriptionTrialSpawnerConfig.Builder.spawnPotentials
(DataPool<MobSpawnerEntry> spawnPotentials) ModifierConstructorDescriptionTrialSpawnerConfig
(int int2, float float2, float float3, float float4, float float5, int int3, DataPool<MobSpawnerEntry> dataPool, DataPool<RegistryKey<LootTable>> dataPool2, RegistryKey<LootTable> registryKey) TrialSpawnerData
(Set<UUID> players, Set<UUID> spawnedMobsAlive, long cooldownEnd, long nextMobSpawnsAt, int totalSpawnedMobs, Optional<MobSpawnerEntry> spawnData, Optional<RegistryKey<LootTable>> rewardLootTable)