Class PistonHandler

java.lang.Object
net.minecraft.block.piston.PistonHandler

public class PistonHandler extends Object
Mappings:
Namespace Name
official awn
intermediary net/minecraft/class_2230
named net/minecraft/block/piston/PistonHandler
  • Field Details

    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official a Lawn;a:Lamu;
      intermediary field_9877 Lnet/minecraft/class_2230;field_9877:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/block/piston/PistonHandler;world:Lnet/minecraft/world/World;
    • originalPos

      private final BlockPos originalPos
      Mappings:
      Namespace Name Mixin selector
      official b Lawn;b:Let;
      intermediary field_9878 Lnet/minecraft/class_2230;field_9878:Lnet/minecraft/class_2552;
      named originalPos Lnet/minecraft/block/piston/PistonHandler;originalPos:Lnet/minecraft/util/math/BlockPos;
    • field_9879

      private final BlockPos field_9879
      Mappings:
      Namespace Name Mixin selector
      official c Lawn;c:Let;
      intermediary field_9879 Lnet/minecraft/class_2230;field_9879:Lnet/minecraft/class_2552;
      named field_9879 Lnet/minecraft/block/piston/PistonHandler;field_9879:Lnet/minecraft/util/math/BlockPos;
    • direction

      private final Direction direction
      Mappings:
      Namespace Name Mixin selector
      official d Lawn;d:Lfa;
      intermediary field_9880 Lnet/minecraft/class_2230;field_9880:Lnet/minecraft/class_1354;
      named direction Lnet/minecraft/block/piston/PistonHandler;direction:Lnet/minecraft/util/math/Direction;
    • movedBlocks

      private final List<BlockPos> movedBlocks
      Mappings:
      Namespace Name Mixin selector
      official e Lawn;e:Ljava/util/List;
      intermediary field_9881 Lnet/minecraft/class_2230;field_9881:Ljava/util/List;
      named movedBlocks Lnet/minecraft/block/piston/PistonHandler;movedBlocks:Ljava/util/List;
    • brokenBlocks

      private final List<BlockPos> brokenBlocks
      Mappings:
      Namespace Name Mixin selector
      official f Lawn;f:Ljava/util/List;
      intermediary field_9882 Lnet/minecraft/class_2230;field_9882:Ljava/util/List;
      named brokenBlocks Lnet/minecraft/block/piston/PistonHandler;brokenBlocks:Ljava/util/List;
  • Constructor Details

    • PistonHandler

      public PistonHandler(World world, BlockPos original, Direction direction, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawn;<init>(Lamu;Let;Lfa;Z)V
      intermediary <init> Lnet/minecraft/class_2230;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;Z)V
      named <init> Lnet/minecraft/block/piston/PistonHandler;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Z)V
  • Method Details

    • calculatePush

      public boolean calculatePush()
      Mappings:
      Namespace Name Mixin selector
      official a Lawn;a()Z
      intermediary method_9015 Lnet/minecraft/class_2230;method_9015()Z
      named calculatePush Lnet/minecraft/block/piston/PistonHandler;calculatePush()Z
    • method_9017

      private boolean method_9017(BlockPos blockPos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lawn;a(Let;Lfa;)Z
      intermediary method_9017 Lnet/minecraft/class_2230;method_9017(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named method_9017 Lnet/minecraft/block/piston/PistonHandler;method_9017(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • setMovedBlocks

      private void setMovedBlocks(int from, int to)
      Mappings:
      Namespace Name Mixin selector
      official a Lawn;a(II)V
      intermediary method_9016 Lnet/minecraft/class_2230;method_9016(II)V
      named setMovedBlocks Lnet/minecraft/block/piston/PistonHandler;setMovedBlocks(II)V
    • canMoveAdjacentBlock

      private boolean canMoveAdjacentBlock(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lawn;a(Let;)Z
      intermediary method_9018 Lnet/minecraft/class_2230;method_9018(Lnet/minecraft/class_2552;)Z
      named canMoveAdjacentBlock Lnet/minecraft/block/piston/PistonHandler;canMoveAdjacentBlock(Lnet/minecraft/util/math/BlockPos;)Z
    • getMovedBlocks

      public List<BlockPos> getMovedBlocks()
      Mappings:
      Namespace Name Mixin selector
      official c Lawn;c()Ljava/util/List;
      intermediary method_9019 Lnet/minecraft/class_2230;method_9019()Ljava/util/List;
      named getMovedBlocks Lnet/minecraft/block/piston/PistonHandler;getMovedBlocks()Ljava/util/List;
    • getBrokenBlocks

      public List<BlockPos> getBrokenBlocks()
      Mappings:
      Namespace Name Mixin selector
      official d Lawn;d()Ljava/util/List;
      intermediary method_9020 Lnet/minecraft/class_2230;method_9020()Ljava/util/List;
      named getBrokenBlocks Lnet/minecraft/block/piston/PistonHandler;getBrokenBlocks()Ljava/util/List;