net.minecraft.world.level.levelgen.structure

public abstract class StructurePiece

crr
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.class_3443
net.minecraft.structure.StructurePiece
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.server.v1_16_R2.StructurePiece

Field summary

Modifier and TypeField
protected static final BlockState
m
CAVE_AIR
field_15314
AIR
field_202556_l
protected BoundingBox
n
boundingBox
field_15315
boundingBox
field_74887_e
private Direction
a
orientation
field_15312
facing
field_74885_f
private Mirror
b
mirror
field_15310
mirror
field_186168_b
private Rotation
c
rotation
field_15313
rotation
field_186169_c
protected int
o
genDepth
field_15316
length
field_74886_g
private final StructurePieceType
d
type
field_16712
type
field_214811_d
private static final Set<Block>
e
SHAPE_CHECK_BLOCKS
field_15311
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()
getTag()
func_143010_b()
protected abstract void
a(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_14943(class_2487 arg0)
toNbt(CompoundTag tag)
func_143011_b(CompoundNBT arg0)
public void
a(crr arg0, List<crr> arg1, Random arg2)
addChildren(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
method_14918(class_3443 arg0, List<class_3443> arg1, Random arg2)
placeJigsaw(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
func_74861_a(StructurePiece arg0, List<StructurePiece> arg1, Random arg2)
public abstract boolean
a(bso arg0, bsk arg1, cfv arg2, Random arg3, cqx arg4, bra 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)
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()
getBoundingBox()
func_74874_b()
public int
h()
getGenDepth()
method_14923()
getLength()
func_74877_c()
public boolean
a(bra arg0, int arg1)
isCloseToChunk(ChunkPos arg0, int arg1)
method_16654(class_1923 arg0, int arg1)
intersectsChunk(ChunkPos arg0, int offset)
func_214810_a(ChunkPos arg0, int arg1)
public static StructurePiece
a(List<crr> arg0, cqx arg1)
findCollisionPiece(List<StructurePiece> arg0, BoundingBox arg1)
method_14932(List<class_3443> arg0, class_3341 arg1)
getOverlappingPiece(List<StructurePiece> arg0, BlockBox arg1)
func_74883_a(List<StructurePiece> arg0, MutableBoundingBox arg1)
protected boolean
a(bqz arg0, cqx arg1)
edgesLiquid(BlockGetter arg0, BoundingBox arg1)
method_14937(class_1922 arg0, class_3341 arg1)
method_14937(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)
applyXTransform(int arg0, int arg1)
func_74865_a(int arg0, int arg1)
protected int
d(int arg0)
getWorldY(int arg0)
method_14924(int arg0)
applyYTransform(int arg0)
func_74862_a(int arg0)
protected int
b(int arg0, int arg1)
getWorldZ(int arg0, int arg1)
method_14941(int arg0, int arg1)
applyZTransform(int arg0, int arg1)
func_74873_b(int arg0, int arg1)
protected void
a(bso arg0, cee arg1, int arg2, int arg3, int arg4, cqx 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)
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(bqz arg0, int arg1, int arg2, int arg3, cqx 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)
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(brw arg0, int arg1, int arg2, int arg3, cqx 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)
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(bso arg0, cqx 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)
fill(StructureWorldAccess arg0, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int arg7)
func_74878_a(ISeedReader arg0, MutableBoundingBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
protected void
a(bso arg0, cqx arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, cee arg8, cee 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)
fillWithOutline(StructureWorldAccess arg0, BlockBox arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, BlockState arg8, BlockState inside, boolean arg10)
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(bso arg0, cqx arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8, Random arg9, crr$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)
fillWithOutline(StructureWorldAccess arg0, BlockBox arg1, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean replaceBlocks, 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(bso arg0, cqx arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, cee arg10, cee 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)
fillWithOutlineUnderSeaLevel(StructureWorldAccess arg0, BlockBox arg1, Random random, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, BlockState arg10, BlockState arg11, boolean arg12, boolean arg13)
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(bso arg0, cqx arg1, Random arg2, float arg3, int arg4, int arg5, int arg6, cee 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)
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(bso arg0, cqx arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, cee 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)
method_14919(StructureWorldAccess arg0, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState block, boolean arg9)
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(bso arg0, cee arg1, int arg2, int arg3, int arg4, cqx 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)
method_14936(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(bso arg0, cqx 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)
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(bqz arg0, fx arg1, cee arg2)
reorient(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_14916(class_1922 arg0, class_2338 arg1, class_2680 arg2)
method_14916(BlockView arg0, BlockPos arg1, BlockState arg2)
func_197528_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)
protected boolean
a(bsh arg0, cqx arg1, Random arg2, fx arg3, vk arg4, cee 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)
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(bso arg0, cqx 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)
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)
translate(int x, int y, int z)
func_181138_a(int arg0, int arg1, int arg2)
public Direction
i()
getOrientation()
method_14934()
getFacing()
func_186165_e()
public void
a(gc arg0)
setOrientation(Direction arg0)
method_14926(class_2350 arg0)
setOrientation(Direction orientation)
func_186164_a(Direction arg0)
public Rotation
ap_()
getRotation()
method_16888()
getRotation()
func_214809_Y_()
public StructurePieceType
k()
getType()
method_16653()
getType()
func_214807_k()