Uses of Record Class
net.minecraft.block.spawner.MobSpawnerEntry
Packages that use MobSpawnerEntry
-
Uses of MobSpawnerEntry in net.minecraft.block.spawner
Fields in net.minecraft.block.spawner declared as MobSpawnerEntryFields in net.minecraft.block.spawner with type parameters of type MobSpawnerEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MobSpawnerEntry>MobSpawnerEntry.CODECstatic final com.mojang.serialization.Codec<DataPool<MobSpawnerEntry>>MobSpawnerEntry.DATA_POOL_CODECprotected Optional<MobSpawnerEntry>TrialSpawnerData.spawnDataprotected DataPool<MobSpawnerEntry>TrialSpawnerData.spawnDataPoolprivate DataPool<MobSpawnerEntry>MobSpawnerLogic.spawnPotentialsprivate final DataPool<MobSpawnerEntry>TrialSpawnerConfig.spawnPotentialsDefinitionThe field for thespawnPotentialsDefinitionrecord component.Methods in net.minecraft.block.spawner that return MobSpawnerEntryModifier and TypeMethodDescriptionprotected MobSpawnerEntryTrialSpawnerData.getSpawnData(TrialSpawnerLogic logic, Random random) private MobSpawnerEntryMobSpawnerLogic.getSpawnEntry(@Nullable World world, Random random, BlockPos pos) Methods in net.minecraft.block.spawner that return types with arguments of type MobSpawnerEntryModifier and TypeMethodDescriptionTrialSpawnerConfig.spawnPotentialsDefinition()Returns the value of thespawnPotentialsDefinitionrecord component.Methods in net.minecraft.block.spawner with parameters of type MobSpawnerEntryModifier and TypeMethodDescriptionprotected voidMobSpawnerLogic.setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) Constructor parameters in net.minecraft.block.spawner with type arguments of type MobSpawnerEntryModifierConstructorDescriptionTrialSpawnerConfig(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)