Uses of Record Class
net.minecraft.world.level.SpawnData.CustomSpawnRules
Packages that use SpawnData.CustomSpawnRules
-
Uses of SpawnData.CustomSpawnRules in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type SpawnData.CustomSpawnRulesModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SpawnData.CustomSpawnRules> SpawnData.CustomSpawnRules.CODECprivate final Optional<SpawnData.CustomSpawnRules> SpawnData.customSpawnRulesThe field for thecustomSpawnRulesrecord component.Methods in net.minecraft.world.level that return types with arguments of type SpawnData.CustomSpawnRulesModifier and TypeMethodDescriptionSpawnData.customSpawnRules()Returns the value of thecustomSpawnRulesrecord component.SpawnData.getCustomSpawnRules()Constructor parameters in net.minecraft.world.level with type arguments of type SpawnData.CustomSpawnRulesModifierConstructorDescriptionSpawnData(CompoundTag entityToSpawn, Optional<SpawnData.CustomSpawnRules> customSpawnRules, Optional<EquipmentTable> equipment) Creates an instance of aSpawnDatarecord class.