Class BlockHay


public class BlockHay extends BlockRotatedPillar
  • Constructor Details

    • BlockHay

      public BlockHay(int par1)
  • Method Details

    • canBePistonShoveled

      public boolean canBePistonShoveled(World world, int i, int j, int k)
      Overrides:
      canBePistonShoveled in class Block
    • getRenderType

      public int getRenderType()
      The type of render function that is called for this block
      Overrides:
      getRenderType in class BlockRotatedPillar
    • getSideIcon

      protected Icon getSideIcon(int par1)
      The icon for the side of the block.
      Specified by:
      getSideIcon in class BlockRotatedPillar
    • registerIcons

      public void registerIcons(IconRegister par1IconRegister)
      When this method is called, your block should register all the icons it needs with the given IconRegister. This is the only chance you get to register icons.
      Overrides:
      registerIcons in class Block
    • renderBlock

      @Environment(CLIENT) public boolean renderBlock(RenderBlocks renderer, int i, int j, int k)
      Overrides:
      renderBlock in class Block