Class PistonExtensionBlock


  • public class PistonExtensionBlock
    extends Block
    • Constructor Detail

      • PistonExtensionBlock

        public PistonExtensionBlock​(int var1,
                                    int var2)
    • Method Detail

      • setHeadTexture

        @Client
        public void setHeadTexture​(int var1)
      • clearHeadTexture

        @Client
        public void clearHeadTexture()
      • onBlockRemoval

        public void onBlockRemoval​(World var1,
                                   int var2,
                                   int var3,
                                   int var4)
        Overrides:
        onBlockRemoval in class Block
      • isOpaqueCube

        public boolean isOpaqueCube()
        Overrides:
        isOpaqueCube in class Block
      • canPlaceBlockAt

        public boolean canPlaceBlockAt​(World var1,
                                       int var2,
                                       int var3,
                                       int var4)
        Overrides:
        canPlaceBlockAt in class Block
      • canPlaceBlockOnSide

        public boolean canPlaceBlockOnSide​(World var1,
                                           int var2,
                                           int var3,
                                           int var4,
                                           int var5)
        Overrides:
        canPlaceBlockOnSide in class Block
      • quantityDropped

        public int quantityDropped​(java.util.Random var1)
        Overrides:
        quantityDropped in class Block
      • onNeighborBlockChange

        public void onNeighborBlockChange​(World var1,
                                          int var2,
                                          int var3,
                                          int var4,
                                          int var5)
        Overrides:
        onNeighborBlockChange in class Block
      • getDirectionMeta

        public static int getDirectionMeta​(int var0)