Uses of Record Class
net.minecraft.world.MobSpawnerEntry.CustomSpawnRules
-
Uses of MobSpawnerEntry.CustomSpawnRules in net.minecraft.world
Modifier 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.Modifier and TypeMethodDescriptionMobSpawnerEntry.customSpawnRules()
Returns the value of thecustomSpawnRules
record component.MobSpawnerEntry.getCustomSpawnRules()
ModifierConstructorDescriptionMobSpawnerEntry
(NbtCompound nbtCompound, Optional<MobSpawnerEntry.CustomSpawnRules> optional)