Class PistonExtensionBlock

All Implemented Interfaces:
BlockEntityProvider, Itemable

public class PistonExtensionBlock extends BlockWithEntity
Mappings:
Namespace Name
official bku
intermediary net/minecraft/class_229
named net/minecraft/block/PistonExtensionBlock
  • Field Details

    • FACING

      public static final DirectionProperty FACING
      Mappings:
      Namespace Name Mixin selector
      official a Lbku;a:Lbme;
      intermediary field_9875 Lnet/minecraft/class_229;field_9875:Lnet/minecraft/class_2244;
      named FACING Lnet/minecraft/block/PistonExtensionBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
    • TYPE

      public static final EnumProperty<class_2229> TYPE
      Mappings:
      Namespace Name Mixin selector
      official b Lbku;b:Lbmh;
      intermediary field_9876 Lnet/minecraft/class_229;field_9876:Lnet/minecraft/class_2245;
      named TYPE Lnet/minecraft/block/PistonExtensionBlock;TYPE:Lnet/minecraft/state/property/EnumProperty;
  • Constructor Details

    • PistonExtensionBlock

      public PistonExtensionBlock(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_16671

      @Nullable public BlockEntity method_16671(BlockView blockView)
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a(Laxk;)Lbji;
      intermediary method_16671 Lnet/minecraft/class_1451;method_16671(Lnet/minecraft/class_1158;)Lnet/minecraft/class_226;
      named method_16671 Lnet/minecraft/block/BlockEntityProvider;method_16671(Lnet/minecraft/world/BlockView;)Lnet/minecraft/block/entity/BlockEntity;
    • method_9013

      public static BlockEntity method_9013(BlockState blockState, Direction direction, boolean bool, boolean bool2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbku;a(Lblc;Leq;ZZ)Lbji;
      intermediary method_9013 Lnet/minecraft/class_229;method_9013(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;ZZ)Lnet/minecraft/class_226;
      named method_9013 Lnet/minecraft/block/PistonExtensionBlock;method_9013(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;ZZ)Lnet/minecraft/block/entity/BlockEntity;
    • method_8659

      public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool)
      Overrides:
      method_8659 in class BlockWithEntity
      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_8674

      public void method_8674(IWorld iWorld, BlockPos blockPos, BlockState blockState)
      Overrides:
      method_8674 in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lbcs;b(Laxz;Lel;Lblc;)V
      intermediary method_8674 Lnet/minecraft/class_197;method_8674(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named method_8674 Lnet/minecraft/block/Block;method_8674(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • isFullBoundsCubeForCulling

      public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Overrides:
      isFullBoundsCubeForCulling in class Block
      Mappings:
      Namespace Name Mixin selector
      official f Lbcs;f(Lblc;)Z
      intermediary method_11560 Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Z
      named isFullBoundsCubeForCulling Lnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
    • 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_421

      public boolean method_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4)
      Overrides:
      method_421 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Z
      named method_421 Lnet/minecraft/block/Block;method_421(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
    • method_16568

      public Itemable method_16568(BlockState blockState, World world, BlockPos blockPos, int int2)
      Overrides:
      method_16568 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;I)Laxx;
      intermediary method_16568 Lnet/minecraft/class_197;method_16568(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)Lnet/minecraft/class_3597;
      named method_16568 Lnet/minecraft/block/Block;method_16568(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/item/Itemable;
    • method_410

      public void method_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2)
      Overrides:
      method_410 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;FI)V
      intermediary method_410 Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;FI)V
      named method_410 Lnet/minecraft/block/Block;method_410(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FI)V
    • 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;
    • getCollisionShape

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

      @Nullable private PistonBlockEntity method_9014(BlockView blockView, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbku;a(Laxk;Lel;)Lbkx;
      intermediary method_9014 Lnet/minecraft/class_229;method_9014(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_230;
      named method_9014 Lnet/minecraft/block/PistonExtensionBlock;method_9014(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/PistonBlockEntity;
    • 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