net.minecraft.world.level.levelgen.structure

public abstract class TemplateStructurePiece

extends StructurePiece

dft
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
e
LOGGER
field_16586
LOGGER
f_73659_
protected final String
a
templateName
field_31664
template
f_163658_
protected StructureTemplate
b
template
field_15433
structure
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, StructureManager structureManager, ResourceLocation id, String template, StructurePlaceSettings placementData, BlockPos pos)
public (StructurePieceType type, CompoundTag nbt, StructureManager structureManager, Function<ResourceLocation, StructurePlaceSettings> placementDataGetter)

Method summary

Modifier and TypeMethod
protected ResourceLocation
a()
makeTemplateLocation()
method_35470()
getId()
m_142415_()
protected void
a(dfz arg0, ok 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(cbn arg0, cbm arg1, cqr arg2, Random arg3, deo arg4, cac arg5, gj arg6)
postProcess(WorldGenLevel arg0, StructureFeatureManager arg1, ChunkGenerator arg2, Random arg3, BoundingBox arg4, ChunkPos arg5, BlockPos arg6)
method_14931(class_5281 arg0, class_5138 arg1, class_2794 arg2, Random 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_183269_(C_1625_ p_192683_, C_1621_ p_192684_, C_2118_ p_192685_, Random p_192686_, C_2478_ p_192687_, C_1560_ p_192688_, C_4675_ arg6)
protected abstract void
a(String arg0, gj arg1, cbk arg2, Random arg3, deo arg4)
handleDataMarker(String arg0, BlockPos arg1, ServerLevelAccessor arg2, Random arg3, BoundingBox arg4)
method_15026(String arg0, class_2338 arg1, class_5425 arg2, Random arg3, class_3341 arg4)
handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox)
m_7756_(String p_73684_, C_4675_ p_73685_, C_1618_ p_73686_, Random p_73687_, 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
ad_()
getRotation()
method_16888()
getRotation()
m_6830_()