Class PistonExtensionBlock


public class PistonExtensionBlock extends BlockWithEntity
Mappings:
Namespace Name
intermediary net/minecraft/class_469
glue class_503
server mz
client ut
named net/minecraft/block/PistonExtensionBlock
  • Constructor Details

    • PistonExtensionBlock

      public PistonExtensionBlock(int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_469;<init>(I)V
      glue <init> Lclass_503;<init>(I)V
      server <init> Lmz;<init>(I)V
      client <init> Lut;<init>(I)V
      named <init> Lnet/minecraft/block/PistonExtensionBlock;<init>(I)V
  • Method Details

    • createBlockEntity

      protected BlockEntity createBlockEntity()
      Specified by:
      createBlockEntity in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1251 Lnet/minecraft/class_395;method_1251()Lnet/minecraft/class_55;
      glue method_238 Lclass_429;method_238()Lclass_356;
      server a_ Llb;a_()Ljh;
      client a_ Lrw;a_()Low;
      named createBlockEntity Lnet/minecraft/block/BlockWithEntity;createBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
    • onPlaced

      public void onPlaced(World world, int x, int y, int z)
      Overrides:
      onPlaced in class BlockWithEntity
      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
    • onBreak

      public void onBreak(World world, int x, int y, int z)
      Overrides:
      onBreak in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1630 Lnet/minecraft/class_17;method_1630(Lnet/minecraft/class_18;III)V
      glue method_99 Lclass_507;method_99(Lclass_129;III)V
      server b Lna;b(Ldj;III)V
      client b Luu;b(Lfd;III)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;III)V
    • canPlaceAt

      public boolean canPlaceAt(World world, int x, int y, int z)
      Overrides:
      canPlaceAt in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1567 Lnet/minecraft/class_17;method_1567(Lnet/minecraft/class_18;III)Z
      glue method_153 Lclass_507;method_153(Lclass_129;III)Z
      server a Lna;a(Ldj;III)Z
      client a Luu;a(Lfd;III)Z
      named canPlaceAt Lnet/minecraft/block/Block;canPlaceAt(Lnet/minecraft/world/World;III)Z
    • canPlaceAt

      public boolean canPlaceAt(World world, int x, int y, int z, int side)
      Overrides:
      canPlaceAt in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1561 Lnet/minecraft/class_17;method_1561(Lnet/minecraft/class_18;IIII)Z
      glue method_1092 Lclass_507;method_1092(Lclass_129;IIII)Z
      server a Lna;a(Ldj;IIII)Z
      client a Luu;a(Lfd;IIII)Z
      named canPlaceAt Lnet/minecraft/block/Block;canPlaceAt(Lnet/minecraft/world/World;IIII)Z
    • 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
    • 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
    • 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
    • getDroppedItemId

      public int getDroppedItemId(int blockMeta, Random random)
      Overrides:
      getDroppedItemId in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1601 Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)I
      glue method_19 Lclass_507;method_19(ILjava/util/Random;)I
      server a Lna;a(ILjava/util/Random;)I
      client a Luu;a(ILjava/util/Random;)I
      named getDroppedItemId Lnet/minecraft/block/Block;getDroppedItemId(ILjava/util/Random;)I
    • dropStacks

      public void dropStacks(World world, int x, int y, int z, int int2, float float2)
      Overrides:
      dropStacks in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1625 Lnet/minecraft/class_17;method_1625(Lnet/minecraft/class_18;IIIIF)V
      glue method_683 Lclass_507;method_683(Lclass_129;IIIIF)V
      server a Lna;a(Ldj;IIIIF)V
      client a Luu;a(Lfd;IIIIF)V
      named dropStacks Lnet/minecraft/block/Block;dropStacks(Lnet/minecraft/world/World;IIIIF)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
    • method_1533

      public static BlockEntity method_1533(int int2, int int3, int int4, boolean bool, boolean bool2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1533 Lnet/minecraft/class_469;method_1533(IIIZZ)Lnet/minecraft/class_55;
      glue method_1787 Lclass_503;method_1787(IIIZZ)Lclass_356;
      server a Lmz;a(IIIZZ)Ljh;
      client a Lut;a(IIIZZ)Low;
      named method_1533 Lnet/minecraft/block/PistonExtensionBlock;method_1533(IIIZZ)Lnet/minecraft/block/entity/BlockEntity;
    • getCollisionShape

      public Box getCollisionShape(World world, int x, int y, int z)
      Overrides:
      getCollisionShape in class Block
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1624 Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;
      glue method_67 Lclass_507;method_67(Lclass_129;III)Lclass_113;
      server e Lna;e(Ldj;III)Lcz;
      client e Luu;e(Lfd;III)Leq;
      named getCollisionShape Lnet/minecraft/block/Block;getCollisionShape(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
    • 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
    • getPushedBlockCollisionShape

      public Box getPushedBlockCollisionShape(World world, int x, int y, int z, int blockId, float sizeMultiplier, int facing)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1534 Lnet/minecraft/class_469;method_1534(Lnet/minecraft/class_18;IIIIFI)Lnet/minecraft/class_25;
      glue method_1788 Lclass_503;method_1788(Lclass_129;IIIIFI)Lclass_113;
      server a Lmz;a(Ldj;IIIIFI)Lcz;
      client a Lut;a(Lfd;IIIIFI)Leq;
      named getPushedBlockCollisionShape Lnet/minecraft/block/PistonExtensionBlock;getPushedBlockCollisionShape(Lnet/minecraft/world/World;IIIIFI)Lnet/minecraft/util/math/Box;
    • method_1535

      private PistonBlockEntity method_1535(BlockView blockView, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1535 Lnet/minecraft/class_469;method_1535(Lnet/minecraft/class_14;III)Lnet/minecraft/class_283;
      glue method_1789 Lclass_503;method_1789(Lclass_584;III)Lclass_495;
      server b Lmz;b(Lpb;III)Lmu;
      client c Lut;c(Lxp;III)Luk;
      named method_1535 Lnet/minecraft/block/PistonExtensionBlock;method_1535(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/block/entity/PistonBlockEntity;