Package net.minecraft.block.piston
Class PistonHandler
java.lang.Object
net.minecraft.block.piston.PistonHandler
- Mappings:
- Namespace - Name - named - net/minecraft/block/piston/PistonHandler- intermediary - net/minecraft/class_2674- official - dwv
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanprivate static booleanisAdjacentBlockStuck(BlockState state, BlockState adjacentState) private static booleanisBlockSticky(BlockState state) private voidsetMovedBlocks(int from, int to) private booleanprivate boolean
- 
Field Details- 
MAX_MOVABLE_BLOCKSpublic static final int MAX_MOVABLE_BLOCKS- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MAX_MOVABLE_BLOCKS- Lnet/minecraft/block/piston/PistonHandler;MAX_MOVABLE_BLOCKS:I- intermediary - field_31384- Lnet/minecraft/class_2674;field_31384:I- official - a- Ldwv;a:I
 
- 
world- Mappings:
- Namespace - Name - Mixin selector - named - world- Lnet/minecraft/block/piston/PistonHandler;world:Lnet/minecraft/world/World;- intermediary - field_12249- Lnet/minecraft/class_2674;field_12249:Lnet/minecraft/class_1937;- official - b- Ldwv;b:Ldgj;
 
- 
posFrom- Mappings:
- Namespace - Name - Mixin selector - named - posFrom- Lnet/minecraft/block/piston/PistonHandler;posFrom:Lnet/minecraft/util/math/BlockPos;- intermediary - field_12250- Lnet/minecraft/class_2674;field_12250:Lnet/minecraft/class_2338;- official - c- Ldwv;c:Lji;
 
- 
retractedprivate final boolean retracted- Mappings:
- Namespace - Name - Mixin selector - named - retracted- Lnet/minecraft/block/piston/PistonHandler;retracted:Z- intermediary - field_12247- Lnet/minecraft/class_2674;field_12247:Z- official - d- Ldwv;d:Z
 
- 
posTo- Mappings:
- Namespace - Name - Mixin selector - named - posTo- Lnet/minecraft/block/piston/PistonHandler;posTo:Lnet/minecraft/util/math/BlockPos;- intermediary - field_12244- Lnet/minecraft/class_2674;field_12244:Lnet/minecraft/class_2338;- official - e- Ldwv;e:Lji;
 
- 
motionDirection- Mappings:
- Namespace - Name - Mixin selector - named - motionDirection- Lnet/minecraft/block/piston/PistonHandler;motionDirection:Lnet/minecraft/util/math/Direction;- intermediary - field_12243- Lnet/minecraft/class_2674;field_12243:Lnet/minecraft/class_2350;- official - f- Ldwv;f:Ljn;
 
- 
movedBlocks- Mappings:
- Namespace - Name - Mixin selector - named - movedBlocks- Lnet/minecraft/block/piston/PistonHandler;movedBlocks:Ljava/util/List;- intermediary - field_12245- Lnet/minecraft/class_2674;field_12245:Ljava/util/List;- official - g- Ldwv;g:Ljava/util/List;
 
- 
brokenBlocks- Mappings:
- Namespace - Name - Mixin selector - named - brokenBlocks- Lnet/minecraft/block/piston/PistonHandler;brokenBlocks:Ljava/util/List;- intermediary - field_12246- Lnet/minecraft/class_2674;field_12246:Ljava/util/List;- official - h- Ldwv;h:Ljava/util/List;
 
- 
pistonDirection- Mappings:
- Namespace - Name - Mixin selector - named - pistonDirection- Lnet/minecraft/block/piston/PistonHandler;pistonDirection:Lnet/minecraft/util/math/Direction;- intermediary - field_12248- Lnet/minecraft/class_2674;field_12248:Lnet/minecraft/class_2350;- official - i- Ldwv;i:Ljn;
 
 
- 
- 
Constructor Details- 
PistonHandler- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/piston/PistonHandler;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Z)V- intermediary - <init>- Lnet/minecraft/class_2674;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Z)V- official - <init>- Ldwv;<init>(Ldgj;Lji;Ljn;Z)V
 
 
- 
- 
Method Details- 
calculatePushpublic boolean calculatePush()- Mappings:
- Namespace - Name - Mixin selector - named - calculatePush- Lnet/minecraft/block/piston/PistonHandler;calculatePush()Z- intermediary - method_11537- Lnet/minecraft/class_2674;method_11537()Z- official - a- Ldwv;a()Z
 
- 
isBlockSticky- Mappings:
- Namespace - Name - Mixin selector - named - isBlockSticky- Lnet/minecraft/block/piston/PistonHandler;isBlockSticky(Lnet/minecraft/block/BlockState;)Z- intermediary - method_23367- Lnet/minecraft/class_2674;method_23367(Lnet/minecraft/class_2680;)Z- official - a- Ldwv;a(Ldwy;)Z
 
- 
isAdjacentBlockStuck- Mappings:
- Namespace - Name - Mixin selector - named - isAdjacentBlockStuck- Lnet/minecraft/block/piston/PistonHandler;isAdjacentBlockStuck(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Z- intermediary - method_23675- Lnet/minecraft/class_2674;method_23675(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Z- official - a- Ldwv;a(Ldwy;Ldwy;)Z
 
- 
tryMove- Mappings:
- Namespace - Name - Mixin selector - named - tryMove- Lnet/minecraft/block/piston/PistonHandler;tryMove(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z- intermediary - method_11540- Lnet/minecraft/class_2674;method_11540(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z- official - a- Ldwv;a(Lji;Ljn;)Z
 
- 
setMovedBlocksprivate void setMovedBlocks(int from, int to) - Mappings:
- Namespace - Name - Mixin selector - named - setMovedBlocks- Lnet/minecraft/block/piston/PistonHandler;setMovedBlocks(II)V- intermediary - method_11539- Lnet/minecraft/class_2674;method_11539(II)V- official - a- Ldwv;a(II)V
 
- 
tryMoveAdjacentBlock- Mappings:
- Namespace - Name - Mixin selector - named - tryMoveAdjacentBlock- Lnet/minecraft/block/piston/PistonHandler;tryMoveAdjacentBlock(Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_11538- Lnet/minecraft/class_2674;method_11538(Lnet/minecraft/class_2338;)Z- official - a- Ldwv;a(Lji;)Z
 
- 
getMotionDirection- Mappings:
- Namespace - Name - Mixin selector - named - getMotionDirection- Lnet/minecraft/block/piston/PistonHandler;getMotionDirection()Lnet/minecraft/util/math/Direction;- intermediary - method_35299- Lnet/minecraft/class_2674;method_35299()Lnet/minecraft/class_2350;- official - b- Ldwv;b()Ljn;
 
- 
getMovedBlocks- Mappings:
- Namespace - Name - Mixin selector - named - getMovedBlocks- Lnet/minecraft/block/piston/PistonHandler;getMovedBlocks()Ljava/util/List;- intermediary - method_11541- Lnet/minecraft/class_2674;method_11541()Ljava/util/List;- official - c- Ldwv;c()Ljava/util/List;
 
- 
getBrokenBlocks- Mappings:
- Namespace - Name - Mixin selector - named - getBrokenBlocks- Lnet/minecraft/block/piston/PistonHandler;getBrokenBlocks()Ljava/util/List;- intermediary - method_11536- Lnet/minecraft/class_2674;method_11536()Ljava/util/List;- official - d- Ldwv;d()Ljava/util/List;
 
 
-