Interface Clearable

All Known Subinterfaces:
Container, ContainerEntity, ContainerSingleItem, ContainerSingleItem.BlockContainerSingleItem, CraftingContainer, Hopper, RandomizableContainer, WorldlyContainer
All Known Implementing Classes:
AbstractFurnaceBlockEntity, AbstractMinecartContainer, BarrelBlockEntity, BaseContainerBlockEntity, BlastFurnaceBlockEntity, BrewingStandBlockEntity, CampfireBlockEntity, ChestBlockEntity, ChestBoat, ChiseledBookShelfBlockEntity, ComposterBlock.EmptyContainer, ComposterBlock.InputContainer, ComposterBlock.OutputContainer, CompoundContainer, CrafterBlockEntity, DecoratedPotBlockEntity, DispenserBlockEntity, DropperBlockEntity, FurnaceBlockEntity, HopperBlockEntity, Inventory, JukeboxBlockEntity, LecternBlockEntity, MerchantContainer, MinecartChest, MinecartHopper, PlayerEnderChestContainer, RandomizableContainerBlockEntity, RecipeBookExtensionTest.RecipeBookTestContainer, RecipeWrapper, ResultContainer, ShulkerBoxBlockEntity, SimpleContainer, SmokerBlockEntity, TransientCraftingContainer, TrappedChestBlockEntity

public interface Clearable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static void
    tryClear(Object p_18909_)
     
  • Method Details

    • clearContent

      void clearContent()
    • tryClear

      static void tryClear(@Nullable Object p_18909_)