net.minecraft.world.level.block

public class CommandBlock

extends BaseEntityBlock implements GameMasterBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, GameMasterBlock

dgj
net.minecraft.world.level.block.CommandBlock
net.minecraft.class_2288
net.minecraft.unmapped.C_tngfqham
net.minecraft.block.CommandBlock
net.minecraft.block.CommandBlock
net.minecraft.src.C_1738_
net.minecraft.world.level.block.ColoredFallingBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CommandBlock>
a
CODEC
field_46318
f_exyxnjrx
CODEC
CODEC
f_302419_
private static final org.slf4j.Logger
d
LOGGER
field_10792
f_gfqototj
LOGGER
LOGGER
f_51795_
public static final DirectionProperty
b
FACING
field_10791
f_xwatdqcx
FACING
FACING
f_51793_
public static final BooleanProperty
c
CONDITIONAL
field_10793
f_jossmlkx
CONDITIONAL
CONDITIONAL
f_51794_
private final boolean
e
automatic
field_27192
f_jqqvfldb
auto
auto
f_153078_

Constructor summary

ModifierConstructor
public (boolean auto, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CommandBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public BlockEntity
a(iz arg0, dsd arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_153084_, C_2064_ arg1)
protected void
a(dsd arg0, dbz arg1, iz arg2, dfa 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)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_hynzadkk arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_51839_, C_1596_ p_51840_, C_4675_ p_51841_, C_1706_ p_51842_, C_4675_ p_51843_, boolean arg5)
protected void
a(dsd arg0, arf arg1, iz arg2, azh arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_221006_, C_12_ p_221007_, C_4675_ p_221008_, C_212974_ arg3)
private void
a(dsd arg0, dbz arg1, iz arg2, dba arg3, boolean arg4)
execute(BlockState arg0, Level arg1, BlockPos arg2, BaseCommandBlock arg3, boolean arg4)
method_9780(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1918 arg3, boolean arg4)
m_grmgbwfy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_ufmydvnm arg3, boolean arg4)
execute(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand)
execute(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand)
m_51831_(C_2064_ p_51833_, C_1596_ p_51834_, C_4675_ p_51835_, C_1553_ p_51836_, boolean arg4)
protected InteractionResult
a(dsd arg0, dbz arg1, iz arg2, cmy arg3, evo 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)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_51826_, C_1596_ p_51827_, C_4675_ p_51828_, C_1141_ p_51830_, C_3041_ arg4)
protected boolean
c_(dsd arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected int
a(dsd arg0, dbz arg1, iz arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_51822_, C_1596_ p_51823_, C_4675_ arg2)
public void
a(dbz arg0, iz arg1, dsd arg2, btq arg3, cuq 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)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_51805_, C_4675_ p_51806_, C_2064_ p_51807_, C_524_ p_51808_, C_1391_ arg4)
protected RenderShape
a_(dsd arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected BlockState
a(dsd arg0, dln arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_51849_, C_1886_ arg1)
protected BlockState
a(dsd arg0, djx arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_51846_, C_1838_ arg1)
protected void
a(dse$a<dfa, dsd> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockState
a(cyb arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
private static void
a(dbz arg0, iz arg1, je arg2)
executeChain(Level arg0, BlockPos arg1, Direction arg2)
method_9779(class_1937 arg0, class_2338 arg1, class_2350 arg2)
m_afksypzg(C_cdctfzbn arg0, C_hynzadkk arg1, C_xpuuihxf arg2)
executeCommandChain(World world, BlockPos pos, Direction facing)
executeCommandChain(World world, BlockPos pos, Direction facing)
m_51809_(C_1596_ p_51810_, C_4675_ p_51811_, C_4687_ p_51812_)