Uses of Record Class
net.minecraft.block.spawner.MobSpawnerEntry.CustomSpawnRules
Packages that use MobSpawnerEntry.CustomSpawnRules
-
Uses of MobSpawnerEntry.CustomSpawnRules in net.minecraft.block.spawner
Fields in net.minecraft.block.spawner with type parameters of type MobSpawnerEntry.CustomSpawnRulesModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MobSpawnerEntry.CustomSpawnRules>
MobSpawnerEntry.CustomSpawnRules.CODEC
private final Optional<MobSpawnerEntry.CustomSpawnRules>
MobSpawnerEntry.customSpawnRules
The field for thecustomSpawnRules
record component.Methods in net.minecraft.block.spawner that return types with arguments of type MobSpawnerEntry.CustomSpawnRulesModifier and TypeMethodDescriptionMobSpawnerEntry.customSpawnRules()
Returns the value of thecustomSpawnRules
record component.MobSpawnerEntry.getCustomSpawnRules()
Constructor parameters in net.minecraft.block.spawner with type arguments of type MobSpawnerEntry.CustomSpawnRulesModifierConstructorDescriptionMobSpawnerEntry
(NbtCompound nbtCompound, Optional<MobSpawnerEntry.CustomSpawnRules> optional)