net.minecraft.world.entity.variant

public record SpawnContext

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

Field summary

Modifier and TypeField
private final BlockPos
a
pos
comp_3580
pos
private final ServerLevelAccessor
b
level
comp_3581
world
private final EnvironmentAttributeReader
c
environmentAttributes
comp_5217
environmentAttributes
private final Holder<Biome>
d
biome
comp_3582
biome

Constructor summary

ModifierConstructor
public (BlockPos pos, ServerLevelAccessor world, EnvironmentAttributeReader environmentAttributes, Holder<Biome> biome)

Method summary

Modifier and TypeMethod
public static SpawnContext
a(dvx arg0, is arg1)
create(ServerLevelAccessor arg0, BlockPos arg1)
method_67169(class_5425 arg0, class_2338 arg1)
of(ServerWorldAccess world, BlockPos pos)
public BlockPos
a()
pos()
comp_3580()
pos()
public ServerLevelAccessor
b()
level()
comp_3581()
world()
public EnvironmentAttributeReader
c()
environmentAttributes()
comp_5217()
environmentAttributes()
public Holder<Biome>
d()
biome()
comp_3582()
biome()