Uses of Record Class
net.minecraft.block.spawner.MobSpawnerEntry.CustomSpawnRules
-
Uses of MobSpawnerEntry.CustomSpawnRules in net.minecraft.block.spawner
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, Optional<EquipmentTable> optional2)