net.minecraft.world.entity.variant

public record SpawnContext

dft
net.minecraft.world.entity.variant.SpawnContext
net.minecraft.class_10701
net.minecraft.entity.spawn.SpawnContext
net.minecraft.src.C_379173_
net.minecraft.world.entity.variant.SpawnContext

字段概要

修饰符与类型字段
private final BlockPos
a
pos
comp_3580
pos
f_379376_
private final ServerLevelAccessor
b
level
comp_3581
world
f_380643_
private final EnvironmentAttributeReader
c
environmentAttributes
comp_5217
environmentAttributes
f_436655_
private final Holder<Biome>
d
biome
comp_3582
biome
f_380334_

构造函数概要

修饰符构造函数
public (BlockPos pos, ServerLevelAccessor world, EnvironmentAttributeReader environmentAttributes, Holder<Biome> biome)

方法概要

修饰符与类型方法
public static SpawnContext
a(dxf arg0, is arg1)
create(ServerLevelAccessor arg0, BlockPos arg1)
method_67169(class_5425 arg0, class_2338 arg1)
of(ServerWorldAccess world, BlockPos pos)
m_388429_(C_1618_ p_391608_, C_4675_ p_394119_)
public BlockPos
a()
pos()
comp_3580()
pos()
f_379376_()
public ServerLevelAccessor
b()
level()
comp_3581()
world()
f_380643_()
public EnvironmentAttributeReader
c()
environmentAttributes()
comp_5217()
environmentAttributes()
f_436655_()
public Holder<Biome>
d()
biome()
comp_3582()
biome()
f_380334_()