net.minecraft.block.spawner

public record MobSpawnerEntry$CustomSpawnRules

net.minecraft.world.level.SpawnData$CustomSpawnRules
net.minecraft.class_1952$class_6542
net.minecraft.block.spawner.MobSpawnerEntry$CustomSpawnRules

Field summary

Modifier and TypeField
private final Range<Integer>
blockLightLimit
comp_66
blockLightLimit
private final Range<Integer>
skyLightLimit
comp_67
skyLightLimit
private static final Range<Integer>
LIGHT_RANGE
field_34463
DEFAULT
public static final com.mojang.serialization.Codec<MobSpawnerEntry$CustomSpawnRules>
CODEC
field_34462
CODEC

Constructor summary

ModifierConstructor
public (Range<Integer> blockLightLimit, Range<Integer> skyLightLimit)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<Range<Integer>>
checkLightBoundaries(InclusiveRange<Integer> range)
method_38099(class_6497<Integer> arg0)
validate(Range<Integer> provider)
private static com.mojang.serialization.MapCodec<Range<Integer>>
lightLimit(String name)
method_51719(String arg0)
createLightLimitCodec(String name)
public boolean
isValidPosition(BlockPos blockSpawnPos, ServerLevel level)
method_56563(class_2338 arg0, class_3218 arg1)
canSpawn(BlockPos pos, ServerWorld world)
public Range<Integer>
blockLightLimit()
comp_66()
blockLightLimit()
public Range<Integer>
skyLightLimit()
comp_67()
skyLightLimit()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_38101(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_38101(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static Range
lambda$static$2(SpawnData$CustomSpawnRules arg0)
method_38100(class_1952$class_6542 arg0)
method_38100(MobSpawnerEntry$CustomSpawnRules rules)
private static Range
lambda$static$1(SpawnData$CustomSpawnRules arg0)
method_38102(class_1952$class_6542 arg0)
method_38102(MobSpawnerEntry$CustomSpawnRules rules)
private static String
lambda$checkLightBoundaries$0()
method_49493()
method_49493()