Interface Clearable

All Known Subinterfaces:
Hopper, Inventory, LootableInventory, RecipeInputInventory, SidedInventory, SingleStackInventory, SingleStackInventory.SingleStackBlockEntityInventory, VehicleInventory
All Known Implementing Classes:
AbstractFurnaceBlockEntity, BarrelBlockEntity, BlastFurnaceBlockEntity, BrewingStandBlockEntity, CampfireBlockEntity, ChestBlockEntity, ChestBoatEntity, ChestMinecartEntity, ChiseledBookshelfBlockEntity, ComposterBlock.ComposterInventory, ComposterBlock.DummyInventory, ComposterBlock.FullComposterInventory, CrafterBlockEntity, CraftingInventory, CraftingResultInventory, DecoratedPotBlockEntity, DispenserBlockEntity, DoubleInventory, DropperBlockEntity, EnderChestInventory, FurnaceBlockEntity, HopperBlockEntity, HopperMinecartEntity, JukeboxBlockEntity, LecternBlockEntity, LockableContainerBlockEntity, LootableContainerBlockEntity, MerchantInventory, PlayerInventory, ShulkerBoxBlockEntity, SimpleInventory, SmokerBlockEntity, StorageMinecartEntity, TrappedChestBlockEntity

public interface Clearable
Represents an object which can be cleared.
Mappings:
Namespace Name
named net/minecraft/util/Clearable
intermediary net/minecraft/class_3829
official bqm
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static void
    Clears o if it is Clearable.
  • Method Details

    • clear

      void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/util/Clearable;clear()V
      intermediary method_5448 Lnet/minecraft/class_3829;method_5448()V
      official a Lbqm;a()V
    • clear

      static void clear(@Nullable @Nullable Object o)
      Clears o if it is Clearable.
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/util/Clearable;clear(Ljava/lang/Object;)V
      intermediary method_16825 Lnet/minecraft/class_3829;method_16825(Ljava/lang/Object;)V
      official a_ Lbqm;a_(Ljava/lang/Object;)V