Interface Clearable

All Known Subinterfaces:
Hopper, Inventory, LootableInventory, RecipeInputInventory, SidedInventory, SingleStackInventory, 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
official bjs
intermediary net/minecraft/class_3829
named net/minecraft/util/Clearable
  • 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
      official a Lbjs;a()V
      intermediary method_5448 Lnet/minecraft/class_3829;method_5448()V
      named clear Lnet/minecraft/util/Clearable;clear()V
    • clear

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