net.minecraft.world.level.levelgen.structure

public abstract class TemplateStructurePiece

extends StructurePiece

dbp
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.apache.logging.log4j.Logger
e
LOGGER
field_16586
LOGGER
f_73659_
protected final String
a
templateName
field_31664
identifier
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 p_163662_, StructureManager structureManager, ResourceLocation identifier, String p_163665_, StructurePlaceSettings placementData, BlockPos pos)
public (StructurePieceType type, CompoundTag p_163670_, ServerLevel world, Function<ResourceLocation, StructurePlaceSettings> arg3)

Method summary

Modifier and TypeMethod
protected ResourceLocation
a()
makeTemplateLocation()
method_35470()
getId()
m_142415_()
protected void
a(abr arg0, na arg1)
addAdditionalSaveData(ServerLevel arg0, CompoundTag arg1)
method_14943(class_3218 arg0, class_2487 arg1)
writeNbt(ServerWorld arg0, NbtCompound arg1)
m_142347_(C_12_ p_163674_, C_4917_ arg1)
public boolean
a(bxk arg0, bxg arg1, cmn arg2, Random arg3, daq arg4, bvu arg5, gg 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_7832_(C_1625_ p_73673_, C_1621_ p_73674_, C_2118_ p_73675_, Random p_73676_, C_2478_ p_73677_, C_1560_ p_73678_, C_4675_ arg6)
protected abstract void
a(String arg0, gg arg1, bxd arg2, Random arg3, daq 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
ac_()
getRotation()
method_16888()
getRotation()
m_6830_()