net.minecraft.entity.spawn

public record SpawnContext

net.minecraft.world.entity.variant.SpawnContext
net.minecraft.class_10701
net.minecraft.entity.spawn.SpawnContext

Field summary

Modifier and TypeField
private final BlockPos
pos
comp_3580
pos
private final ServerWorldAccess
level
comp_3581
world
private final EnvironmentAttributeAccess
environmentAttributes
comp_5217
environmentAttributes
private final RegistryEntry<Biome>
biome
comp_3582
biome

Constructor summary

ModifierConstructor
public (BlockPos pos, ServerWorldAccess world, EnvironmentAttributeAccess environmentAttributes, RegistryEntry<Biome> biome)

Method summary

Modifier and TypeMethod
public static SpawnContext
create(ServerLevelAccessor level, BlockPos pos)
method_67169(class_5425 arg0, class_2338 arg1)
of(ServerWorldAccess world, BlockPos pos)
public BlockPos
pos()
comp_3580()
pos()
public ServerWorldAccess
level()
comp_3581()
world()
public EnvironmentAttributeAccess
environmentAttributes()
comp_5217()
environmentAttributes()
public RegistryEntry<Biome>
biome()
comp_3582()
biome()