Class BasketTileEntity

java.lang.Object
net.minecraft.src.TileEntity
btw.block.tileentity.BasketTileEntity
Direct Known Subclasses:
BarkBoxTileEntity, HamperTileEntity, WickerBasketTileEntity

public abstract class BasketTileEntity extends TileEntity
  • Field Details

    • LID_OPEN_RATE

      protected static final float LID_OPEN_RATE
      See Also:
    • LID_CLOSE_RATE

      protected static final float LID_CLOSE_RATE
      See Also:
    • MAX_KEEP_OPEN_RANGE

      protected static final float MAX_KEEP_OPEN_RANGE
      See Also:
    • lidOpenRatio

      public float lidOpenRatio
    • prevLidOpenRatio

      public float prevLidOpenRatio
    • closing

      public boolean closing
  • Constructor Details

    • BasketTileEntity

      public BasketTileEntity(BasketBlock blockBasket)
  • Method Details

    • updateEntity

      public void updateEntity()
      Description copied from class: TileEntity
      Allows the entity to update its state. Overridden in most subclasses, e.g. the mob spawner uses this to count ticks and creates a new spawn inside its implementation.
      Overrides:
      updateEntity in class TileEntity
    • receiveClientEvent

      public boolean receiveClientEvent(int iEventType, int iEventParam)
      Description copied from class: TileEntity
      Called when a client event is received with the event number and argument, see World.sendClientEvent
      Overrides:
      receiveClientEvent in class TileEntity
    • ejectContents

      public abstract void ejectContents()
    • startClosingServerSide

      public void startClosingServerSide()
    • shouldStartClosingServerSide

      public abstract boolean shouldStartClosingServerSide()
    • onFinishedClosing

      protected void onFinishedClosing()