net.minecraft.world.level.block

public class StructureBlock

extends BaseEntityBlock implements GameMasterBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, GameMasterBlock

dmz
net.minecraft.world.level.block.StructureBlock
net.minecraft.class_2515
net.minecraft.block.StructureBlock
net.minecraft.src.C_1927_
net.minecraft.world.level.block.BlockStructure

Field summary

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

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<StructureBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public BlockEntity
a(iz arg0, dse arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_154733_, C_2064_ arg1)
protected InteractionResult
a(dse arg0, dca arg1, iz arg2, cmz arg3, evp 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)
m_6227_(C_2064_ p_57129_, C_1596_ p_57130_, C_4675_ p_57131_, C_1141_ p_57133_, C_3041_ arg4)
public void
a(dca arg0, iz arg1, dse arg2, btr arg3, cur 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)
m_6402_(C_1596_ p_57123_, C_4675_ p_57124_, C_2064_ p_57125_, C_524_ p_57126_, C_1391_ arg4)
protected RenderShape
a_(dse arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected void
a(dsf$a<dfb, dse> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected void
a(dse arg0, dca arg1, iz arg2, dfb arg3, iz arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_57136_, C_1596_ p_57137_, C_4675_ p_57138_, C_1706_ p_57139_, C_4675_ p_57140_, boolean arg5)
private void
a(arf arg0, dqy arg1)
trigger(ServerLevel arg0, StructureBlockEntity arg1)
method_10703(class_3218 arg0, class_2633 arg1)
doAction(ServerWorld world, StructureBlockBlockEntity blockEntity)
m_57114_(C_12_ p_57116_, C_2029_ arg1)