net.minecraft.world.level.block

public class StructureBlock

extends BaseEntityBlock implements GameMasterBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, GameMasterBlock

drq
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(ji arg0, dwy arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
protected InteractionResult
a(dwy arg0, dgj arg1, ji arg2, coy arg3, fax 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(dgj arg0, ji arg1, dwy arg2, bvi arg3, cwq 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(dwz$a<djn, dwy> 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(dwy arg0, dgj arg1, ji arg2, djn arg3, eui 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(ard arg0, dvs arg1)
trigger(ServerLevel arg0, StructureBlockEntity arg1)
method_10703(class_3218 arg0, class_2633 arg1)
doAction(ServerWorld world, StructureBlockBlockEntity blockEntity)