net.minecraft.world.level.levelgen.structure

public abstract class TemplateStructurePiece

extends StructurePiece

dvs
net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
net.minecraft.class_3470
net.minecraft.structure.SimpleStructurePiece
net.minecraft.src.C_2591_
net.minecraft.world.level.levelgen.structure.DefinedStructurePiece

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
h
LOGGER
field_16586
LOGGER
f_73659_
protected final String
a
templateName
field_31664
templateIdString
f_163658_
protected StructureTemplate
b
template
field_15433
template
f_73656_
protected StructurePlaceSettings
c
placeSettings
field_15434
placementData
f_73657_
protected BlockPos
d
templatePosition
field_15432
pos
f_73658_

Constructor summary

ModifierConstructor
public (StructurePieceType type, int length, StructureTemplateManager structureTemplateManager, ResourceLocation id, String template, StructurePlaceSettings placementData, BlockPos pos)
public (StructurePieceType type, CompoundTag nbt, StructureTemplateManager structureTemplateManager, Function<ResourceLocation, StructurePlaceSettings> placementDataGetter)

Method summary

Modifier and TypeMethod
protected ResourceLocation
b()
makeTemplateLocation()
method_35470()
getId()
m_142415_()
protected void
a(dvy arg0, qw arg1)
addAdditionalSaveData(StructurePieceSerializationContext arg0, CompoundTag arg1)
method_14943(class_6625 arg0, class_2487 arg1)
writeNbt(StructureContext arg0, NbtCompound arg1)
m_183620_(C_183029_ p_192691_, C_4917_ arg1)
public void
a(cqp arg0, cqn arg1, dhg arg2, asc arg3, dva arg4, cpc arg5, gw arg6)
postProcess(WorldGenLevel arg0, StructureManager arg1, ChunkGenerator arg2, RandomSource arg3, BoundingBox arg4, ChunkPos arg5, BlockPos arg6)
method_14931(class_5281 arg0, class_5138 arg1, class_2794 arg2, class_5819 arg3, class_3341 arg4, class_1923 arg5, class_2338 arg6)
generate(StructureWorldAccess arg0, StructureAccessor arg1, ChunkGenerator arg2, Random arg3, BlockBox arg4, ChunkPos arg5, BlockPos arg6)
m_213694_(C_1625_ p_226900_, C_213086_ p_226901_, C_2118_ p_226902_, C_212974_ p_226903_, C_2478_ p_226904_, C_1560_ p_226905_, C_4675_ arg6)
protected abstract void
a(String arg0, gw arg1, cqk arg2, asc arg3, dva arg4)
handleDataMarker(String arg0, BlockPos arg1, ServerLevelAccessor arg2, RandomSource arg3, BoundingBox arg4)
method_15026(String arg0, class_2338 arg1, class_5425 arg2, class_5819 arg3, class_3341 arg4)
handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox)
m_213704_(String p_226907_, C_4675_ p_226908_, C_1618_ p_226909_, C_212974_ p_226910_, C_2478_ arg4)
public void
a(int arg0, int arg1, int arg2)
move(int arg0, int arg1, int arg2)
method_14922(int arg0, int arg1, int arg2)
translate(int arg0, int arg1, int arg2)
m_6324_(int p_73669_, int p_73670_, int arg2)
public Rotation
a()
getRotation()
method_16888()
getRotation()
m_6830_()
public StructureTemplate
c()
template()
method_41624()
getTemplate()
m_226911_()
public BlockPos
d()
templatePosition()
method_41625()
getPos()
m_226912_()
public StructurePlaceSettings
e()
placeSettings()
method_41626()
getPlacementData()
m_226913_()