net.minecraft.world.level.levelgen.structure

public abstract class StructurePiece

cru
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.class_3443
net.minecraft.unmapped.C_coopoqiy
net.minecraft.structure.StructurePiece
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.server.v1_16_R3.StructurePiece

Field summary

Modifier and TypeField
protected static final BlockState
m
CAVE_AIR
field_15314
f_wcsdhfub
AIR
field_202556_l
protected BoundingBox
n
boundingBox
field_15315
f_szghkttt
boundingBox
field_74887_e
private Direction
a
orientation
field_15312
f_ughfxnho
facing
field_74885_f
private Mirror
b
mirror
field_15310
f_nzksmpwc
mirror
field_186168_b
private Rotation
c
rotation
field_15313
f_dhcunjyp
rotation
field_186169_c
protected int
o
genDepth
field_15316
f_xbmxhcdw
chainLength
field_74886_g
private final StructurePieceType
d
type
field_16712
f_myujeoof
type
field_214811_d
private static final Set<Block>
e
SHAPE_CHECK_BLOCKS
field_15311
f_amnuzwlc
BLOCKS_NEEDING_POST_PROCESSING
field_211413_d

Constructor summary

ModifierConstructor
protected (StructurePieceType type, int length)
public (StructurePieceType type, CompoundTag tag)

Method summary

Modifier and TypeMethod
public final CompoundTag
f()
createTag()
method_14946()
m_vgzsotjb()
getTag()
func_143010_b()
protected abstract void
a(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_14943(class_2487 arg0)
m_ovlrimpa(C_hhlwcnih arg0)
toNbt(CompoundTag tag)
func_143011_b(CompoundNBT arg0)
public void
a(cru arg0, List<cru> arg1, Random arg2)
addChildren(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
method_14918(class_3443 arg0, List<class_3443> arg1, Random arg2)
m_wrehtuql(C_coopoqiy arg0, List<C_coopoqiy> arg1, Random arg2)
fillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)
func_74861_a(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
public abstract boolean
a(bsr arg0, bsn arg1, cfy arg2, Random arg3, cra arg4, brd arg5, fx 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)
m_vtoyspel(C_ldkphtbr arg0, C_iijvezpz arg1, C_kgfalbim arg2, Random arg3, C_hmqypqzz arg4, C_ynrszrtu arg5, C_hynzadkk arg6)
generate(StructureWorldAccess arg0, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos arg5, BlockPos arg6)
func_230383_a_(ISeedReader arg0, StructureManager arg1, ChunkGenerator arg2, Random arg3, MutableBoundingBox arg4, ChunkPos arg5, BlockPos arg6)
public BoundingBox
g()
getBoundingBox()
method_14935()
m_rjkqnwkp()
getBoundingBox()
func_74874_b()
public int
h()
getGenDepth()
method_14923()
m_vlgyasya()
getChainLength()
func_74877_c()
public boolean
a(brd arg0, int arg1)
isCloseToChunk(ChunkPos arg0, int arg1)
method_16654(class_1923 arg0, int arg1)
m_rpeffiql(C_ynrszrtu arg0, int arg1)
intersectsChunk(ChunkPos arg0, int offset)
func_214810_a(ChunkPos arg0, int arg1)
public static StructurePiece
a(List<cru> arg0, cra arg1)
findCollisionPiece(List<StructurePiece> arg0, BoundingBox arg1)
method_14932(List<class_3443> arg0, class_3341 arg1)
m_knajzxsb(List<C_coopoqiy> arg0, C_hmqypqzz arg1)
getOverlappingPiece(List<StructurePiece> pieces, BlockBox arg1)
func_74883_a(List<StructurePiece> arg0, MutableBoundingBox arg1)
protected boolean
a(brc arg0, cra arg1)
edgesLiquid(BlockGetter arg0, BoundingBox arg1)
method_14937(class_1922 arg0, class_3341 arg1)
m_uccrvhvq(C_peaveboq arg0, C_hmqypqzz arg1)
isTouchingLiquid(BlockView arg0, BlockBox arg1)
func_74860_a(IBlockReader arg0, MutableBoundingBox arg1)
protected int
a(int arg0, int arg1)
getWorldX(int arg0, int arg1)
method_14928(int arg0, int arg1)
m_prppantw(int arg0, int arg1)
applyXTransform(int x, int z)
func_74865_a(int arg0, int arg1)
protected int
d(int arg0)
getWorldY(int arg0)
method_14924(int arg0)
m_evwdankp(int arg0)
applyYTransform(int y)
func_74862_a(int arg0)
protected int
b(int arg0, int arg1)
getWorldZ(int arg0, int arg1)
method_14941(int arg0, int arg1)
m_kqenkrli(int arg0, int arg1)
applyZTransform(int x, int z)
func_74873_b(int arg0, int arg1)
protected void
a(bsr arg0, ceh arg1, int arg2, int arg3, int arg4, cra arg5)
placeBlock(WorldGenLevel arg0, BlockState arg1, int arg2, int arg3, int arg4, BoundingBox arg5)
method_14917(class_5281 arg0, class_2680 arg1, int arg2, int arg3, int arg4, class_3341 arg5)
m_hsiszofi(C_ldkphtbr arg0, C_txtbiemp arg1, int arg2, int arg3, int arg4, C_hmqypqzz arg5)
addBlock(StructureWorldAccess arg0, BlockState block, int x, int y, int z, BlockBox arg5)
func_175811_a(ISeedReader arg0, BlockState arg1, int arg2, int arg3, int arg4, MutableBoundingBox arg5)
protected BlockState
a(brc arg0, int arg1, int arg2, int arg3, cra arg4)
getBlock(BlockGetter arg0, int arg1, int arg2, int arg3, BoundingBox arg4)
method_14929(class_1922 arg0, int arg1, int arg2, int arg3, class_3341 arg4)
m_nohvglqn(C_peaveboq arg0, int arg1, int arg2, int arg3, C_hmqypqzz arg4)
getBlockAt(BlockView arg0, int x, int y, int z, BlockBox arg4)
func_175807_a(IBlockReader arg0, int arg1, int arg2, int arg3, MutableBoundingBox arg4)
protected boolean
a(brz arg0, int arg1, int arg2, int arg3, cra arg4)
isInterior(LevelReader arg0, int arg1, int arg2, int arg3, BoundingBox arg4)
method_14939(class_4538 arg0, int arg1, int arg2, int arg3, class_3341 arg4)
m_bcctewid(C_eemzphbi arg0, int arg1, int arg2, int arg3, C_hmqypqzz arg4)
isUnderSeaLevel(WorldView arg0, int x, int z, int y, BlockBox arg4)
func_189916_b(IWorldReader arg0, int arg1, int arg2, int arg3, MutableBoundingBox arg4)
protected void
b(bsr arg0, cra arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
generateAirBox(WorldGenLevel arg0, BoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
method_14942(class_5281 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
m_difgodag(C_ldkphtbr arg0, C_hmqypqzz arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
fill(StructureWorldAccess arg0, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
func_74878_a(ISeedReader arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
protected void
a(bsr arg0, cra arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, ceh arg8, ceh arg9, boolean arg10)
generateBox(WorldGenLevel arg0, BoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, BlockState arg9, boolean arg10)
method_14940(class_5281 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, class_2680 arg8, class_2680 arg9, boolean arg10)
m_nmlxtkjh(C_ldkphtbr arg0, C_hmqypqzz arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, C_txtbiemp arg8, C_txtbiemp arg9, boolean arg10)
fillWithOutline(StructureWorldAccess arg0, BlockBox arg1, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir)
func_175804_a(ISeedReader arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, BlockState arg9, boolean arg10)
protected void
a(bsr arg0, cra arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, cru$a arg10)
generateBox(WorldGenLevel arg0, BoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, StructurePiece$BlockSelector arg10)
method_14938(class_5281 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, class_3443$class_3444 arg10)
m_pxkbbjep(C_ldkphtbr arg0, C_hmqypqzz arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, C_coopoqiy$C_cjtealbi arg10)
fillWithOutline(StructureWorldAccess arg0, BlockBox arg1, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean cantReplaceAir, Random random, StructurePiece$BlockRandomizer arg10)
func_74882_a(ISeedReader arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, StructurePiece$BlockSelector arg10)
protected void
a(bsr arg0, cra arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, ceh arg10, ceh arg11, boolean arg12, boolean arg13)
generateMaybeBox(WorldGenLevel arg0, BoundingBox arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, BlockState arg10, BlockState arg11, boolean arg12, boolean arg13)
method_14933(class_5281 arg0, class_3341 arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, class_2680 arg10, class_2680 arg11, boolean arg12, boolean arg13)
m_xxupvkku(C_ldkphtbr arg0, C_hmqypqzz arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, C_txtbiemp arg10, C_txtbiemp arg11, boolean arg12, boolean arg13)
fillWithOutlineUnderSeaLevel(StructureWorldAccess arg0, BlockBox arg1, Random random, float blockChance, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir, boolean stayBelowSeaLevel)
func_189914_a(ISeedReader arg0, MutableBoundingBox arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, BlockState arg10, BlockState arg11, boolean arg12, boolean arg13)
protected void
a(bsr arg0, cra arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, ceh arg7)
maybeGenerateBlock(WorldGenLevel arg0, BoundingBox arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, BlockState arg7)
method_14945(class_5281 arg0, class_3341 arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, class_2680 arg7)
m_oqncvqts(C_ldkphtbr arg0, C_hmqypqzz arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, C_txtbiemp arg7)
addBlockWithRandomThreshold(StructureWorldAccess arg0, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState arg7)
func_175809_a(ISeedReader arg0, MutableBoundingBox arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, BlockState arg7)
protected void
a(bsr arg0, cra arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, ceh arg8, boolean arg9)
generateUpperHalfSphere(WorldGenLevel arg0, BoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, boolean arg9)
method_14919(class_5281 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, class_2680 arg8, boolean arg9)
m_lnvjqqnu(C_ldkphtbr arg0, C_hmqypqzz arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, C_txtbiemp arg8, boolean arg9)
fillHalfEllipsoid(StructureWorldAccess arg0, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState block, boolean cantReplaceAir)
func_180777_a(ISeedReader arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, boolean arg9)
protected void
b(bsr arg0, ceh arg1, int arg2, int arg3, int arg4, cra arg5)
fillColumnDown(WorldGenLevel arg0, BlockState arg1, int arg2, int arg3, int arg4, BoundingBox arg5)
method_14936(class_5281 arg0, class_2680 arg1, int arg2, int arg3, int arg4, class_3341 arg5)
m_qnszbvav(C_ldkphtbr arg0, C_txtbiemp arg1, int arg2, int arg3, int arg4, C_hmqypqzz arg5)
fillDownwards(StructureWorldAccess arg0, BlockState arg1, int x, int y, int z, BlockBox arg5)
func_175808_b(ISeedReader arg0, BlockState arg1, int arg2, int arg3, int arg4, MutableBoundingBox arg5)
protected boolean
a(bsr arg0, cra arg1, Random arg2, int arg3, int arg4, int arg5, vk arg6)
createChest(WorldGenLevel arg0, BoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, ResourceLocation arg6)
method_14915(class_5281 arg0, class_3341 arg1, Random arg2, int arg3, int arg4, int arg5, class_2960 arg6)
m_wneebtcc(C_ldkphtbr arg0, C_hmqypqzz arg1, Random arg2, int arg3, int arg4, int arg5, C_ncpywfca arg6)
addChest(StructureWorldAccess arg0, BlockBox boundingBox, Random random, int x, int y, int z, Identifier lootTableId)
func_186167_a(ISeedReader arg0, MutableBoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, ResourceLocation arg6)
public static BlockState
a(brc arg0, fx arg1, ceh arg2)
reorient(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_14916(class_1922 arg0, class_2338 arg1, class_2680 arg2)
m_rdxskghh(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2)
orientateChest(BlockView arg0, BlockPos arg1, BlockState arg2)
func_197528_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)
protected boolean
a(bsk arg0, cra arg1, Random arg2, fx arg3, vk arg4, ceh arg5)
createChest(ServerLevelAccessor arg0, BoundingBox arg1, Random arg2, BlockPos arg3, ResourceLocation arg4, BlockState arg5)
method_14921(class_5425 arg0, class_3341 arg1, Random arg2, class_2338 arg3, class_2960 arg4, class_2680 arg5)
m_xnrfbrzc(C_jmnzlycd arg0, C_hmqypqzz arg1, Random arg2, C_hynzadkk arg3, C_ncpywfca arg4, C_txtbiemp arg5)
addChest(ServerWorldAccess arg0, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, BlockState block)
func_191080_a(IServerWorld arg0, MutableBoundingBox arg1, Random arg2, BlockPos arg3, ResourceLocation arg4, BlockState arg5)
protected boolean
a(bsr arg0, cra arg1, Random arg2, int arg3, int arg4, int arg5, gc arg6, vk arg7)
createDispenser(WorldGenLevel arg0, BoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, Direction arg6, ResourceLocation arg7)
method_14930(class_5281 arg0, class_3341 arg1, Random arg2, int arg3, int arg4, int arg5, class_2350 arg6, class_2960 arg7)
m_wqqzlpou(C_ldkphtbr arg0, C_hmqypqzz arg1, Random arg2, int arg3, int arg4, int arg5, C_xpuuihxf arg6, C_ncpywfca arg7)
addDispenser(StructureWorldAccess arg0, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, Identifier lootTableId)
func_189419_a(ISeedReader arg0, MutableBoundingBox arg1, Random arg2, int arg3, int arg4, int arg5, Direction arg6, ResourceLocation arg7)
public void
a(int arg0, int arg1, int arg2)
move(int arg0, int arg1, int arg2)
method_14922(int arg0, int arg1, int arg2)
m_nrczduea(int arg0, int arg1, int arg2)
translate(int x, int y, int z)
func_181138_a(int arg0, int arg1, int arg2)
public Direction
i()
getOrientation()
method_14934()
m_tqwbycjt()
getFacing()
func_186165_e()
public void
a(gc arg0)
setOrientation(Direction arg0)
method_14926(class_2350 arg0)
m_yvvnjhxy(C_xpuuihxf arg0)
setOrientation(Direction orientation)
func_186164_a(Direction arg0)
public Rotation
ap_()
getRotation()
method_16888()
m_newxsddo()
getRotation()
func_214809_Y_()
public StructurePieceType
k()
getType()
method_16653()
m_dfqzfzqc()
getType()
func_214807_k()