net.minecraft.world.level.block.piston

public class MovingPistonBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

byb
net.minecraft.world.level.block.piston.MovingPistonBlock
net.minecraft.class_2667
net.minecraft.block.PistonExtensionBlock
net.minecraft.block.MovingPistonBlock
net.minecraft.server.v1_15_R1.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 (Block$Properties settings)

Method summary

Modifier and TypeMethod
public BlockEntity
a(bjg arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
public static BlockEntity
a(byj arg0, fp 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(byj arg0, bjw arg1, fk arg2, byj 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)
onBlockRemoved(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(bjx arg0, fk arg1, byj arg2)
destroy(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_9585(class_1936 arg0, class_2338 arg1, class_2680 arg2)
onBroken(IWorld arg0, BlockPos arg1, BlockState arg2)
func_176206_d(IWorld arg0, BlockPos arg1, BlockState arg2)
postBreak(GeneratorAccess arg0, BlockPosition arg1, IBlockData arg2)
public boolean
d(byj arg0, bjg arg1, fk arg2)
isRedstoneConductor(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9521(class_2680 arg0, class_1922 arg1, class_2338 arg2)
isSimpleFullBlock(BlockState arg0, BlockView arg1, BlockPos arg2)
func_220081_d(BlockState arg0, IBlockReader arg1, BlockPos arg2)
isOccluding(IBlockData arg0, IBlockAccess arg1, BlockPosition arg2)
public boolean
c(byj arg0, bjg arg1, fk arg2)
isSuffocating(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_16362(class_2680 arg0, class_1922 arg1, class_2338 arg2)
canSuffocate(BlockState arg0, BlockView arg1, BlockPos arg2)
func_229869_c_(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public InteractionResult
a(byj arg0, bjw arg1, fk arg2, ayj arg3, ajk arg4, cvg 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(byj arg0, crx$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
a(byj arg0, bjg arg1, fk arg2, cvq 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public VoxelShape
b(byj arg0, bjg arg1, fk arg2, cvq 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, EntityContext arg3)
func_220071_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
private PistonMovingBlockEntity
a(bjg arg0, fk 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(byj arg0, btu 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(byj arg0, bsu 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(byk$a<bph, byj> 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(byj arg0, bjg arg1, fk arg2, cqr arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public ItemStack
a(bjg arg0, fk arg1, byj 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)