net.minecraft.world.level.block

public class CommandBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bno
net.minecraft.world.level.block.CommandBlock
net.minecraft.class_2288
net.minecraft.block.CommandBlock
net.minecraft.block.CommandBlockBlock
net.minecraft.server.v1_14_R1.BlockCommand

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_10792
LOGGER
field_193388_c
public static final DirectionProperty
a
FACING
field_10791
FACING
field_185564_a
public static final BooleanProperty
b
CONDITIONAL
field_10793
CONDITIONAL
field_185565_b

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public BlockEntity
a(bhb arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
public void
a(bvt arg0, bhr arg1, ew arg2, bmv arg3, ew 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)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
public void
b(bvt arg0, bhr arg1, ew arg2, Random arg3)
tick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
onScheduledTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, World arg1, BlockPosition arg2, Random arg3)
private void
a(bvt arg0, bhr arg1, ew arg2, bgx 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)
execute(BlockState state, World world, BlockPos pos, CommandBlockExecutor executor, boolean hasCommand)
func_193387_a(BlockState arg0, World arg1, BlockPos arg2, CommandBlockLogic arg3, boolean arg4)
public int
a(bhu arg0)
getTickDelay(LevelReader arg0)
method_9563(class_1941 arg0)
getTickRate(CollisionView arg0)
func_149738_a(IWorldReader arg0)
public boolean
a(bvt arg0, bhr arg1, ew arg2, awg arg3, ahi arg4, csd arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
activate(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
public boolean
b(bvt arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public int
a(bvt arg0, bhr arg1, ew arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
func_180641_l(BlockState arg0, World arg1, BlockPos arg2)
public void
a(bhr arg0, ew arg1, bvt arg2, aix arg3, bcj 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)
func_180633_a(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
postPlace(World arg0, BlockPosition arg1, IBlockData arg2, EntityLiving arg3, ItemStack arg4)
public RenderShape
c(bvt arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
public BlockState
a(bvt arg0, brg arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(bvt arg0, bqg arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(BlockState arg0, Mirror arg1)
protected void
a(bvu$a<bmv, bvt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
private static void
a(bhr arg0, ew arg1, fb arg2)
executeChain(Level arg0, BlockPos arg1, Direction arg2)
method_9779(class_1937 arg0, class_2338 arg1, class_2350 arg2)
executeCommandChain(World world, BlockPos pos, Direction facing)
func_193386_c(World arg0, BlockPos arg1, Direction arg2)