net.minecraft.world.level

public record SpawnData$CustomSpawnRules

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

Field summary

Modifier and TypeField
private final InclusiveRange<Integer>
b
blockLightLimit
comp_66
blockLightLimit
private final InclusiveRange<Integer>
c
skyLightLimit
comp_67
skyLightLimit
private static final InclusiveRange<Integer>
d
LIGHT_RANGE
field_34463
DEFAULT
public static final com.mojang.serialization.Codec<SpawnData$CustomSpawnRules>
a
CODEC
field_34462
CODEC

Constructor summary

ModifierConstructor
public (InclusiveRange<Integer> arg0, InclusiveRange<Integer> arg1)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<InclusiveRange<Integer>>
a(azw<Integer> arg0)
checkLightBoundaries(InclusiveRange<Integer> arg0)
method_38099(class_6497<Integer> arg0)
validate(Range<Integer> provider)
private static com.mojang.serialization.MapCodec<InclusiveRange<Integer>>
a(String arg0)
lightLimit(String arg0)
method_51719(String arg0)
createLightLimitCodec(String name)
public boolean
a(jh arg0, ash arg1)
isValidPosition(BlockPos arg0, ServerLevel arg1)
method_56563(class_2338 arg0, class_3218 arg1)
canSpawn(BlockPos pos, ServerWorld world)
public InclusiveRange<Integer>
a()
blockLightLimit()
comp_66()
blockLightLimit()
public InclusiveRange<Integer>
b()
skyLightLimit()
comp_67()
skyLightLimit()