Class PistonBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PistonBlock

public class PistonBlock extends Block
Mappings:
Namespace Name
intermediary net/minecraft/class_223
glue class_242
server gi
client jq
named net/minecraft/block/PistonBlock
  • Field Details

    • sticky

      private boolean sticky
      Mappings:
      Namespace Name Mixin selector
      intermediary field_844 Lnet/minecraft/class_223;field_844:Z
      glue field_1042 Lclass_242;field_1042:Z
      server a Lgi;a:Z
      client a Ljq;a:Z
      named sticky Lnet/minecraft/block/PistonBlock;sticky:Z
    • deaf

      private boolean deaf
      Mappings:
      Namespace Name Mixin selector
      intermediary field_845 Lnet/minecraft/class_223;field_845:Z
      glue field_1043 Lclass_242;field_1043:Z
      server b Lgi;b:Z
      client b Ljq;b:Z
      named deaf Lnet/minecraft/block/PistonBlock;deaf:Z
  • Constructor Details

    • PistonBlock

      public PistonBlock(int id, int textureId, boolean sticky)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_223;<init>(IIZ)V
      glue <init> Lclass_242;<init>(IIZ)V
      server <init> Lgi;<init>(IIZ)V
      client <init> Ljq;<init>(IIZ)V
      named <init> Lnet/minecraft/block/PistonBlock;<init>(IIZ)V
  • Method Details

    • getTopTexture

      @Environment(CLIENT) public int getTopTexture()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_767 Lnet/minecraft/class_223;method_767()I
      glue method_1493 Lclass_242;method_1493()I
      server method_767 Lgi;method_767()I
      client i Ljq;i()I
      named getTopTexture Lnet/minecraft/block/PistonBlock;getTopTexture()I
    • getTexture

      public int getTexture(int side, int meta)
      Overrides:
      getTexture in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1627 Lnet/minecraft/class_17;method_1627(II)I
      glue method_96 Lclass_507;method_96(II)I
      server a Lna;a(II)I
      client a Luu;a(II)I
      named getTexture Lnet/minecraft/block/Block;getTexture(II)I
    • getRenderType

      @Environment(CLIENT) public int getRenderType()
      Overrides:
      getRenderType in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1621 Lnet/minecraft/class_17;method_1621()I
      glue method_652 Lclass_507;method_652()I
      server method_1621 Lna;method_1621()I
      client b Luu;b()I
      named getRenderType Lnet/minecraft/block/Block;getRenderType()I
    • isOpaque

      public boolean isOpaque()
      Overrides:
      isOpaque in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1620 Lnet/minecraft/class_17;method_1620()Z
      glue method_65 Lclass_507;method_65()Z
      server a Lna;a()Z
      client c Luu;c()Z
      named isOpaque Lnet/minecraft/block/Block;isOpaque()Z
    • onUse

      public boolean onUse(World world, int x, int y, int z, PlayerEntity player)
      Overrides:
      onUse in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1608 Lnet/minecraft/class_17;method_1608(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Z
      glue method_38 Lclass_507;method_38(Lclass_129;IIILclass_172;)Z
      server a Lna;a(Ldj;IIILem;)Z
      client a Luu;a(Lfd;IIILgs;)Z
      named onUse Lnet/minecraft/block/Block;onUse(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)Z
    • onPlaced

      public void onPlaced(World world, int x, int y, int z, LivingEntity placer)
      Overrides:
      onPlaced in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1614 Lnet/minecraft/class_17;method_1614(Lnet/minecraft/class_18;IIILnet/minecraft/class_127;)V
      glue method_464 Lclass_507;method_464(Lclass_129;IIILclass_283;)V
      server a Lna;a(Ldj;IIILhl;)V
      client a Luu;a(Lfd;IIILls;)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;IIILnet/minecraft/entity/LivingEntity;)V
    • neighborUpdate

      public void neighborUpdate(World world, int x, int y, int z, int id)
      Overrides:
      neighborUpdate in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1609 Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)V
      glue method_39 Lclass_507;method_39(Lclass_129;IIII)V
      server b Lna;b(Ldj;IIII)V
      client b Luu;b(Lfd;IIII)V
      named neighborUpdate Lnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;IIII)V
    • onPlaced

      public void onPlaced(World world, int x, int y, int z)
      Overrides:
      onPlaced in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1611 Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)V
      glue method_41 Lclass_507;method_41(Lclass_129;III)V
      server c Lna;c(Ldj;III)V
      client c Luu;c(Lfd;III)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;III)V
    • checkExtended

      private void checkExtended(World world, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_764 Lnet/minecraft/class_223;method_764(Lnet/minecraft/class_18;III)V
      glue method_1128 Lclass_242;method_1128(Lclass_129;III)V
      server g Lgi;g(Ldj;III)V
      client h Ljq;h(Lfd;III)V
      named checkExtended Lnet/minecraft/block/PistonBlock;checkExtended(Lnet/minecraft/world/World;III)V
    • shouldExtend

      private boolean shouldExtend(World world, int x, int y, int z, int facing)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_763 Lnet/minecraft/class_223;method_763(Lnet/minecraft/class_18;IIII)Z
      glue method_1127 Lclass_242;method_1127(Lclass_129;IIII)Z
      server f Lgi;f(Ldj;IIII)Z
      client f Ljq;f(Lfd;IIII)Z
      named shouldExtend Lnet/minecraft/block/PistonBlock;shouldExtend(Lnet/minecraft/world/World;IIII)Z
    • onBlockAction

      public void onBlockAction(World world, int x, int y, int z, int data1, int data2)
      Overrides:
      onBlockAction in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1563 Lnet/minecraft/class_17;method_1563(Lnet/minecraft/class_18;IIIII)V
      glue method_1123 Lclass_507;method_1123(Lclass_129;IIIII)V
      server a Lna;a(Ldj;IIIII)V
      client a Luu;a(Lfd;IIIII)V
      named onBlockAction Lnet/minecraft/block/Block;onBlockAction(Lnet/minecraft/world/World;IIIII)V
    • updateBoundingBox

      public void updateBoundingBox(BlockView blockView, int x, int y, int z)
      Overrides:
      updateBoundingBox in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1616 Lnet/minecraft/class_17;method_1616(Lnet/minecraft/class_14;III)V
      glue method_60 Lclass_507;method_60(Lclass_584;III)V
      server a Lna;a(Lpb;III)V
      client a Luu;a(Lxp;III)V
      named updateBoundingBox Lnet/minecraft/block/Block;updateBoundingBox(Lnet/minecraft/world/BlockView;III)V
    • setupRenderBoundingBox

      @Environment(CLIENT) public void setupRenderBoundingBox()
      Overrides:
      setupRenderBoundingBox in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1605 Lnet/minecraft/class_17;method_1605()V
      glue method_217 Lclass_507;method_217()V
      server method_1605 Lna;method_1605()V
      client g Luu;g()V
      named setupRenderBoundingBox Lnet/minecraft/block/Block;setupRenderBoundingBox()V
    • addIntersectingBoundingBox

      public void addIntersectingBoundingBox(World world, int x, int y, int z, Box box, ArrayList boxes)
      Overrides:
      addIntersectingBoundingBox in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1562 Lnet/minecraft/class_17;method_1562(Lnet/minecraft/class_18;IIILnet/minecraft/class_25;Ljava/util/ArrayList;)V
      glue method_1093 Lclass_507;method_1093(Lclass_129;IIILclass_113;Ljava/util/ArrayList;)V
      server a Lna;a(Ldj;IIILcz;Ljava/util/ArrayList;)V
      client a Luu;a(Lfd;IIILeq;Ljava/util/ArrayList;)V
      named addIntersectingBoundingBox Lnet/minecraft/block/Block;addIntersectingBoundingBox(Lnet/minecraft/world/World;IIILnet/minecraft/util/math/Box;Ljava/util/ArrayList;)V
    • isFullCube

      public boolean isFullCube()
      Overrides:
      isFullCube in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1623 Lnet/minecraft/class_17;method_1623()Z
      glue method_66 Lclass_507;method_66()Z
      server b Lna;b()Z
      client d Luu;d()Z
      named isFullCube Lnet/minecraft/block/Block;isFullCube()Z
    • getFacing

      public static int getFacing(int meta)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_760 Lnet/minecraft/class_223;method_760(I)I
      glue method_1124 Lclass_242;method_1124(I)I
      server c Lgi;c(I)I
      client d Ljq;d(I)I
      named getFacing Lnet/minecraft/block/PistonBlock;getFacing(I)I
    • isExtended

      public static boolean isExtended(int meta)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_762 Lnet/minecraft/class_223;method_762(I)Z
      glue method_1126 Lclass_242;method_1126(I)Z
      server d Lgi;d(I)Z
      client e Ljq;e(I)Z
      named isExtended Lnet/minecraft/block/PistonBlock;isExtended(I)Z
    • getFacingForPlacement

      private static int getFacingForPlacement(World world, int x, int y, int z, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_761 Lnet/minecraft/class_223;method_761(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)I
      glue method_1125 Lclass_242;method_1125(Lclass_129;IIILclass_172;)I
      server c Lgi;c(Ldj;IIILem;)I
      client c Ljq;c(Lfd;IIILgs;)I
      named getFacingForPlacement Lnet/minecraft/block/PistonBlock;getFacingForPlacement(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)I
    • canMoveBlock

      private static boolean canMoveBlock(int id, World world, int x, int y, int z, boolean allowBreaking)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_759 Lnet/minecraft/class_223;method_759(ILnet/minecraft/class_18;IIIZ)Z
      glue method_1122 Lclass_242;method_1122(ILclass_129;IIIZ)Z
      server a Lgi;a(ILdj;IIIZ)Z
      client a Ljq;a(ILfd;IIIZ)Z
      named canMoveBlock Lnet/minecraft/block/PistonBlock;canMoveBlock(ILnet/minecraft/world/World;IIIZ)Z
    • canExtend

      private static boolean canExtend(World world, int x, int y, int z, int dir)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_765 Lnet/minecraft/class_223;method_765(Lnet/minecraft/class_18;IIII)Z
      glue method_1129 Lclass_242;method_1129(Lclass_129;IIII)Z
      server h Lgi;h(Ldj;IIII)Z
      client h Ljq;h(Lfd;IIII)Z
      named canExtend Lnet/minecraft/block/PistonBlock;canExtend(Lnet/minecraft/world/World;IIII)Z
    • push

      private boolean push(World world, int x, int y, int z, int dir)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_766 Lnet/minecraft/class_223;method_766(Lnet/minecraft/class_18;IIII)Z
      glue method_1130 Lclass_242;method_1130(Lclass_129;IIII)Z
      server i Lgi;i(Ldj;IIII)Z
      client i Ljq;i(Lfd;IIII)Z
      named push Lnet/minecraft/block/PistonBlock;push(Lnet/minecraft/world/World;IIII)Z