Class BucketBlockMilk


public class BucketBlockMilk extends BucketBlockFull
  • Constructor Details

    • BucketBlockMilk

      public BucketBlockMilk(int iBlockID)
  • Method Details

    • idDropped

      public int idDropped(int iMetadata, Random rand, int iFortuneMod)
      Description copied from class: Block
      Returns the ID of the items to drop on destruction.
      Overrides:
      idDropped in class BucketBlock
    • attemptToSpillIntoBlock

      public boolean attemptToSpillIntoBlock(World world, int i, int j, int k)
      Specified by:
      attemptToSpillIntoBlock in class BucketBlockFull
    • registerIcons

      @Environment(CLIENT) public void registerIcons(IconRegister register)
      Description copied from class: Block
      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 BucketBlock
    • getContentsIcon

      @Environment(CLIENT) protected Icon getContentsIcon()
      Specified by:
      getContentsIcon in class BucketBlockFull