Class BucketBlockFull

Direct Known Subclasses:
BucketBlockCement, BucketBlockChocolateMilk, BucketBlockMilk, BucketBlockWater

public abstract class BucketBlockFull extends BucketBlock
  • Constructor Details

    • BucketBlockFull

      public BucketBlockFull(int iBlockID)
  • Method Details

    • updateTick

      public void updateTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      Ticks the block if it's been scheduled // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---
      Overrides:
      updateTick in class FallingBlock
    • initModels

      protected void initModels()
      Overrides:
      initModels in class BucketBlock
    • checkForSpillContents

      public void checkForSpillContents(World world, int i, int j, int k)
    • attemptToSpillIntoBlock

      public abstract boolean attemptToSpillIntoBlock(World world, int i, int j, int k)
    • shouldSideBeRenderedOnFallingBlock

      @Environment(CLIENT) public boolean shouldSideBeRenderedOnFallingBlock(int iSide, int iMetadata)
      Overrides:
      shouldSideBeRenderedOnFallingBlock in class BucketBlock
    • getIcon

      @Environment(CLIENT) public Icon getIcon(int iSide, int iMetadata)
      Description copied from class: Block
      From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
      Overrides:
      getIcon in class BucketBlock
    • getContentsIcon

      @Environment(CLIENT) protected abstract Icon getContentsIcon()