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<Pool<MobSpawnerEntry>> MobSpawnerEntry.DATA_POOL_CODECprivate final Optional<MobSpawnerEntry> TrialSpawnerData.Packed.nextSpawnDataThe field for thenextSpawnDatarecord component.(package private) Optional<MobSpawnerEntry> TrialSpawnerData.spawnDataprivate Pool<MobSpawnerEntry> MobSpawnerLogic.spawnPotentialsprivate Pool<MobSpawnerEntry> TrialSpawnerConfig.Builder.spawnPotentialsprivate final Pool<MobSpawnerEntry> TrialSpawnerConfig.spawnPotentialsThe field for thespawnPotentialsrecord component.Methods in net.minecraft.block.spawner that return MobSpawnerEntryModifier 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 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 TypeMethodDescriptionTrialSpawnerData.Packed.nextSpawnData()Returns the value of thenextSpawnDatarecord component.TrialSpawnerConfig.spawnPotentials()Returns the value of thespawnPotentialsrecord component.Methods in net.minecraft.block.spawner with parameters of type MobSpawnerEntryModifier and TypeMethodDescriptionprotected voidMobSpawnerLogic.setSpawnEntry(@Nullable World world, BlockPos pos, MobSpawnerEntry spawnEntry) Method parameters in net.minecraft.block.spawner with type arguments of type MobSpawnerEntryModifier and TypeMethodDescriptionTrialSpawnerConfig.Builder.spawnPotentials(Pool<MobSpawnerEntry> spawnPotentials) Constructor parameters in net.minecraft.block.spawner with type arguments of type MobSpawnerEntryModifierConstructorDescriptionPacked(Set<UUID> detectedPlayers, Set<UUID> currentMobs, long cooldownEndsAt, long nextMobSpawnsAt, int totalMobsSpawned, Optional<MobSpawnerEntry> nextSpawnData, Optional<RegistryKey<LootTable>> ejectingLootTable) Creates an instance of aPackedrecord class.TrialSpawnerConfig(int spawnRange, float totalMobs, float simultaneousMobs, float totalMobsAddedPerPlayer, float simultaneousMobsAddedPerPlayer, int ticksBetweenSpawn, Pool<MobSpawnerEntry> spawnPotentialsDefinition, Pool<RegistryKey<LootTable>> lootTablesToEject, RegistryKey<LootTable> itemsToDropWhenOminous)