net.minecraft.world.level.block.piston

public class MovingPistonBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

cdw
net.minecraft.world.level.block.piston.MovingPistonBlock
net.minecraft.class_2667
net.minecraft.block.PistonExtensionBlock
net.minecraft.block.MovingPistonBlock
net.minecraft.server.v1_16_R2.BlockPistonMoving

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_12196
FACING
field_196344_a
public static final EnumProperty<PistonType>
b
TYPE
field_12197
TYPE
field_196345_b

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public BlockEntity
a(bqz arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
public static BlockEntity
a(cee arg0, gc arg1, boolean arg2, boolean arg3)
newMovingBlockEntity(BlockState arg0, Direction arg1, boolean arg2, boolean arg3)
method_11489(class_2680 arg0, class_2350 arg1, boolean arg2, boolean arg3)
createBlockEntityPiston(BlockState pushedBlock, Direction dir, boolean extending, boolean arg3)
func_196343_a(BlockState arg0, Direction arg1, boolean arg2, boolean arg3)
public void
a(cee arg0, bru arg1, fx arg2, cee arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(brv arg0, fx arg1, cee arg2)
destroy(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_9585(class_1936 arg0, class_2338 arg1, class_2680 arg2)
onBroken(WorldAccess arg0, BlockPos arg1, BlockState arg2)
func_176206_d(IWorld arg0, BlockPos arg1, BlockState arg2)
postBreak(GeneratorAccess arg0, BlockPosition arg1, IBlockData arg2)
public InteractionResult
a(cee arg0, bru arg1, fx arg2, bft arg3, aoq arg4, dcg 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)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_225533_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 List<ItemStack>
a(cee arg0, cys$a arg1)
getDrops(BlockState arg0, LootContext$Builder arg1)
method_9560(class_2680 arg0, class_47$class_48 arg1)
getDroppedStacks(BlockState arg0, LootContext$Builder arg1)
func_220076_a(BlockState arg0, LootContext$Builder arg1)
public VoxelShape
b(cee arg0, bqz arg1, fx arg2, dcp arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public VoxelShape
c(cee arg0, bqz arg1, fx arg2, dcp arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
func_220071_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
private PistonMovingBlockEntity
a(bqz arg0, fx arg1)
getBlockEntity(BlockGetter arg0, BlockPos arg1)
method_11488(class_1922 arg0, class_2338 arg1)
getPistonBlockEntity(BlockView world, BlockPos pos)
func_220170_a(IBlockReader arg0, BlockPos arg1)
public BlockState
a(cee arg0, bzj 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(cee arg0, byd 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(cef$a<bul, cee> 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 boolean
a(cee arg0, bqz arg1, fx arg2, cxb arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public ItemStack
a(bqz arg0, fx arg1, cee arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
func_185473_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)