net.minecraft.world.level.block

public class StructureBlock

extends BaseEntityBlock implements GameMasterBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, GameMasterBlock

dsn
net.minecraft.world.level.block.StructureBlock
net.minecraft.class_2515
net.minecraft.block.StructureBlock
net.minecraft.world.level.block.BlockStructure

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<StructureBlock>
a
CODEC
field_46465
CODEC
public static final EnumProperty<StructureMode>
b
MODE
field_11586
MODE

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<StructureBlock>
a()
codec()
method_53969()
getCodec()
public BlockEntity
a(jh arg0, dxv arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
protected InteractionResult
a(dxv arg0, dhi arg1, jh arg2, cpx arg3, fbu arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
public void
a(dhi arg0, jh arg1, dxv arg2, bwg arg3, cxp arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
protected RenderShape
a_(dxv arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected void
a(dxv arg0, dhi arg1, jh arg2, dkm arg3, evf arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
private void
a(ash arg0, dwp arg1)
trigger(ServerLevel arg0, StructureBlockEntity arg1)
method_10703(class_3218 arg0, class_2633 arg1)
doAction(ServerWorld world, StructureBlockBlockEntity blockEntity)