Class PistonHeadBlock

All Implemented Interfaces:
Itemable

public class PistonHeadBlock extends HorizontalFacingBlock
Mappings:
Namespace Name
official bkw
intermediary net/minecraft/class_228
named net/minecraft/block/PistonHeadBlock
  • Field Details

    • field_18667

      public static final EnumProperty<class_2229> field_18667
      Mappings:
      Namespace Name Mixin selector
      official b Lbkw;b:Lbmh;
      intermediary field_18667 Lnet/minecraft/class_228;field_18667:Lnet/minecraft/class_2245;
      named field_18667 Lnet/minecraft/block/PistonHeadBlock;field_18667:Lnet/minecraft/state/property/EnumProperty;
    • field_18668

      public static final BooleanProperty field_18668
      Mappings:
      Namespace Name Mixin selector
      official c Lbkw;c:Lbmb;
      intermediary field_18668 Lnet/minecraft/class_228;field_18668:Lnet/minecraft/class_2243;
      named field_18668 Lnet/minecraft/block/PistonHeadBlock;field_18668:Lnet/minecraft/state/property/BooleanProperty;
    • field_18669

      protected static final VoxelShape field_18669
      Mappings:
      Namespace Name Mixin selector
      official o Lbkw;o:Lcew;
      intermediary field_18669 Lnet/minecraft/class_228;field_18669:Lnet/minecraft/class_4100;
      named field_18669 Lnet/minecraft/block/PistonHeadBlock;field_18669:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18670

      protected static final VoxelShape field_18670
      Mappings:
      Namespace Name Mixin selector
      official p Lbkw;p:Lcew;
      intermediary field_18670 Lnet/minecraft/class_228;field_18670:Lnet/minecraft/class_4100;
      named field_18670 Lnet/minecraft/block/PistonHeadBlock;field_18670:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18671

      protected static final VoxelShape field_18671
      Mappings:
      Namespace Name Mixin selector
      official q Lbkw;q:Lcew;
      intermediary field_18671 Lnet/minecraft/class_228;field_18671:Lnet/minecraft/class_4100;
      named field_18671 Lnet/minecraft/block/PistonHeadBlock;field_18671:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18672

      protected static final VoxelShape field_18672
      Mappings:
      Namespace Name Mixin selector
      official r Lbkw;r:Lcew;
      intermediary field_18672 Lnet/minecraft/class_228;field_18672:Lnet/minecraft/class_4100;
      named field_18672 Lnet/minecraft/block/PistonHeadBlock;field_18672:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18673

      protected static final VoxelShape field_18673
      Mappings:
      Namespace Name Mixin selector
      official s Lbkw;s:Lcew;
      intermediary field_18673 Lnet/minecraft/class_228;field_18673:Lnet/minecraft/class_4100;
      named field_18673 Lnet/minecraft/block/PistonHeadBlock;field_18673:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18674

      protected static final VoxelShape field_18674
      Mappings:
      Namespace Name Mixin selector
      official t Lbkw;t:Lcew;
      intermediary field_18674 Lnet/minecraft/class_228;field_18674:Lnet/minecraft/class_4100;
      named field_18674 Lnet/minecraft/block/PistonHeadBlock;field_18674:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18675

      protected static final VoxelShape field_18675
      Mappings:
      Namespace Name Mixin selector
      official u Lbkw;u:Lcew;
      intermediary field_18675 Lnet/minecraft/class_228;field_18675:Lnet/minecraft/class_4100;
      named field_18675 Lnet/minecraft/block/PistonHeadBlock;field_18675:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18676

      protected static final VoxelShape field_18676
      Mappings:
      Namespace Name Mixin selector
      official v Lbkw;v:Lcew;
      intermediary field_18676 Lnet/minecraft/class_228;field_18676:Lnet/minecraft/class_4100;
      named field_18676 Lnet/minecraft/block/PistonHeadBlock;field_18676:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18677

      protected static final VoxelShape field_18677
      Mappings:
      Namespace Name Mixin selector
      official w Lbkw;w:Lcew;
      intermediary field_18677 Lnet/minecraft/class_228;field_18677:Lnet/minecraft/class_4100;
      named field_18677 Lnet/minecraft/block/PistonHeadBlock;field_18677:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18678

      protected static final VoxelShape field_18678
      Mappings:
      Namespace Name Mixin selector
      official x Lbkw;x:Lcew;
      intermediary field_18678 Lnet/minecraft/class_228;field_18678:Lnet/minecraft/class_4100;
      named field_18678 Lnet/minecraft/block/PistonHeadBlock;field_18678:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18679

      protected static final VoxelShape field_18679
      Mappings:
      Namespace Name Mixin selector
      official y Lbkw;y:Lcew;
      intermediary field_18679 Lnet/minecraft/class_228;field_18679:Lnet/minecraft/class_4100;
      named field_18679 Lnet/minecraft/block/PistonHeadBlock;field_18679:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18680

      protected static final VoxelShape field_18680
      Mappings:
      Namespace Name Mixin selector
      official z Lbkw;z:Lcew;
      intermediary field_18680 Lnet/minecraft/class_228;field_18680:Lnet/minecraft/class_4100;
      named field_18680 Lnet/minecraft/block/PistonHeadBlock;field_18680:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18661

      protected static final VoxelShape field_18661
      Mappings:
      Namespace Name Mixin selector
      official A Lbkw;A:Lcew;
      intermediary field_18661 Lnet/minecraft/class_228;field_18661:Lnet/minecraft/class_4100;
      named field_18661 Lnet/minecraft/block/PistonHeadBlock;field_18661:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18662

      protected static final VoxelShape field_18662
      Mappings:
      Namespace Name Mixin selector
      official B Lbkw;B:Lcew;
      intermediary field_18662 Lnet/minecraft/class_228;field_18662:Lnet/minecraft/class_4100;
      named field_18662 Lnet/minecraft/block/PistonHeadBlock;field_18662:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18663

      protected static final VoxelShape field_18663
      Mappings:
      Namespace Name Mixin selector
      official C Lbkw;C:Lcew;
      intermediary field_18663 Lnet/minecraft/class_228;field_18663:Lnet/minecraft/class_4100;
      named field_18663 Lnet/minecraft/block/PistonHeadBlock;field_18663:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18664

      protected static final VoxelShape field_18664
      Mappings:
      Namespace Name Mixin selector
      official D Lbkw;D:Lcew;
      intermediary field_18664 Lnet/minecraft/class_228;field_18664:Lnet/minecraft/class_4100;
      named field_18664 Lnet/minecraft/block/PistonHeadBlock;field_18664:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18665

      protected static final VoxelShape field_18665
      Mappings:
      Namespace Name Mixin selector
      official E Lbkw;E:Lcew;
      intermediary field_18665 Lnet/minecraft/class_228;field_18665:Lnet/minecraft/class_4100;
      named field_18665 Lnet/minecraft/block/PistonHeadBlock;field_18665:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18666

      protected static final VoxelShape field_18666
      Mappings:
      Namespace Name Mixin selector
      official F Lbkw;F:Lcew;
      intermediary field_18666 Lnet/minecraft/class_228;field_18666:Lnet/minecraft/class_4100;
      named field_18666 Lnet/minecraft/block/PistonHeadBlock;field_18666:Lnet/minecraft/util/shapes/VoxelShape;
  • Constructor Details

    • PistonHeadBlock

      public PistonHeadBlock(Block.Builder settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcs;<init>(Lbcs$c;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
  • Method Details

    • method_16851

      private VoxelShape method_16851(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official k Lbkw;k(Lblc;)Lcew;
      intermediary method_16851 Lnet/minecraft/class_228;method_16851(Lnet/minecraft/class_2232;)Lnet/minecraft/class_4100;
      named method_16851 Lnet/minecraft/block/PistonHeadBlock;method_16851(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shapes/VoxelShape;
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOutlineShape in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;)Lcew;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;
      named getOutlineShape Lnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
    • method_16852

      private VoxelShape method_16852(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official w Lbkw;w(Lblc;)Lcew;
      intermediary method_16852 Lnet/minecraft/class_228;method_16852(Lnet/minecraft/class_2232;)Lnet/minecraft/class_4100;
      named method_16852 Lnet/minecraft/block/PistonHeadBlock;method_16852(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/shapes/VoxelShape;
    • method_11568

      public boolean method_11568(BlockState state)
      Overrides:
      method_11568 in class Block
      Mappings:
      Namespace Name Mixin selector
      official r Lbcs;r(Lblc;)Z
      intermediary method_11568 Lnet/minecraft/class_197;method_11568(Lnet/minecraft/class_2232;)Z
      named method_11568 Lnet/minecraft/block/Block;method_11568(Lnet/minecraft/block/BlockState;)Z
    • onBreakByPlayer

      public void onBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player)
      Runs when the block is broken by a player.
      Overrides:
      onBreakByPlayer in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      player - The player who broke the block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxy;Lel;Lblc;Laog;)V
      intermediary method_8644 Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)V
      named onBreakByPlayer Lnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
    • method_8659

      public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool)
      Overrides:
      method_8659 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lblc;Z)V
      intermediary method_8659 Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)V
      named method_8659 Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • method_403

      public int method_403(BlockState blockState, Random random)
      Overrides:
      method_403 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Ljava/util/Random;)I
      intermediary method_403 Lnet/minecraft/class_197;method_403(Lnet/minecraft/class_2232;Ljava/util/Random;)I
      named method_403 Lnet/minecraft/block/Block;method_403(Lnet/minecraft/block/BlockState;Ljava/util/Random;)I
    • method_16575

      public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2)
      Overrides:
      method_16575 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;
      intermediary method_16575 Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named method_16575 Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • method_16570

      public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos)
      Overrides:
      method_16570 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Layc;Lel;)Z
      intermediary method_16570 Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Z
      named method_16570 Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • onBreak

      public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • method_8640

      public ItemStack method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState)
      Overrides:
      method_8640 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lel;Lblc;)Late;
      intermediary method_8640 Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;
      named method_8640 Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
    • withRotation

      public BlockState withRotation(BlockState state, BlockRotation rotation)
      Overrides:
      withRotation in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Lbhb;)Lblc;
      intermediary method_11556 Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;
      named withRotation Lnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • withMirror

      public BlockState withMirror(BlockState state, BlockMirror mirror)
      Overrides:
      withMirror in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Lbfz;)Lblc;
      intermediary method_11555 Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;
      named withMirror Lnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lble$a;)V
      intermediary method_16576 Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
    • method_14307

      public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction)
      Overrides:
      method_14307 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;
      intermediary method_14307 Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;
      named method_14307 Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
    • canPlaceAtSide

      public boolean canPlaceAtSide(BlockState state, BlockView world, BlockPos pos, BlockPlacementEnvironment blockPlacementEnvironment)
      Overrides:
      canPlaceAtSide in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;Lcbf;)Z
      intermediary method_8663 Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_4064;)Z
      named canPlaceAtSide Lnet/minecraft/block/Block;canPlaceAtSide(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockPlacementEnvironment;)Z