net.minecraft.world.level.block

public class StructureBlock

extends BaseEntityBlock implements GameMasterBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, GameMasterBlock

dty
net.minecraft.world.level.block.StructureBlock
net.minecraft.class_2515
net.minecraft.block.StructureBlock

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(iu arg0, dzo arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
protected InteractionResult
a(dzo arg0, dip arg1, iu arg2, cqs arg3, fds 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(dip arg0, iu arg1, dzo arg2, bwz arg3, cys 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 void
a(dzp$a<dlu, dzo> 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(dzo arg0, dip arg1, iu arg2, dlu arg3, exd 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(aro arg0, dyg arg1)
trigger(ServerLevel arg0, StructureBlockEntity arg1)
method_10703(class_3218 arg0, class_2633 arg1)
doAction(ServerWorld world, StructureBlockBlockEntity blockEntity)