Uses of Interface
io.github.thebusybiscuit.slimefun4.api.items.ItemHandler
Packages that use ItemHandler
Package
Description
This package contains all different extensions of
Exception that Slimefun
uses internally.This package contains a few classes that revolve around the API for
SlimefunItem, such as
ItemSettingThis package holds the core systems of Slimefun, these are not necessarily used as an API
but rather provide the core functionality of this
Plugin.This package contains all variations of
ItemHandler that
can be assigned to a SlimefunItemThis package holds simple implementations of
ItemHandler.This package contains the different classes for each
SlimefunItemThis package holds implementations of
SlimefunItem that are
related to healing yourself.-
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.api.exceptions
Constructors in io.github.thebusybiscuit.slimefun4.api.exceptions with parameters of type ItemHandlerModifierConstructorDescriptionIncompatibleItemHandlerException(String message, SlimefunItem item, ItemHandler handler) -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.api.items
Methods in io.github.thebusybiscuit.slimefun4.api.items with type parameters of type ItemHandlerModifier and TypeMethodDescription<T extends ItemHandler>
booleanSlimefunItem.callItemHandler(Class<T> c, Consumer<T> callable) This method calls everyItemHandlerof the givenClassand performs the action as specified via theConsumer.Methods in io.github.thebusybiscuit.slimefun4.api.items that return types with arguments of type ItemHandlerModifier and TypeMethodDescriptionSlimefunItem.getHandlers()This method returns a Set of item handlers associated with this Item.Class<? extends ItemHandler>ItemHandler.getIdentifier()This method returns the identifier for thisItemHandler.Methods in io.github.thebusybiscuit.slimefun4.api.items with parameters of type ItemHandlerModifier and TypeMethodDescriptionfinal voidSlimefunItem.addItemHandler(ItemHandler... handlers) This method will add any givenItemHandlerto thisSlimefunItem. -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.core
Methods in io.github.thebusybiscuit.slimefun4.core that return types with arguments of type ItemHandlerModifier and TypeMethodDescriptionMap<Class<? extends ItemHandler>,Set<ItemHandler>> SlimefunRegistry.getGlobalItemHandlers()Map<Class<? extends ItemHandler>,Set<ItemHandler>> SlimefunRegistry.getGlobalItemHandlers()SlimefunRegistry.getGlobalItemHandlers(Class<? extends ItemHandler> identifier) Method parameters in io.github.thebusybiscuit.slimefun4.core with type arguments of type ItemHandlerModifier and TypeMethodDescriptionSlimefunRegistry.getGlobalItemHandlers(Class<? extends ItemHandler> identifier) -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.core.handlers
Subinterfaces of ItemHandler in io.github.thebusybiscuit.slimefun4.core.handlersModifier and TypeInterfaceDescriptioninterfaceThisItemHandleris triggered when theSlimefunItemit was assigned to is aDispenserand was triggered.interfaceinterfaceThisItemHandleris triggered when theSlimefunItemit was assigned to is aSlimefunBowand an Arrow fired from this bow hit aLivingEntity.interfaceinterfaceIf thisItemHandleris added to aSlimefunItemit will listen for anyEntityDeathEventthat was triggered by aPlayerusing theSlimefunItemthisEntityKillHandlerwas linked to.interfaceAGlobalItemHandleris a special type ofItemHandlerwhich is not associated with one particularSlimefunItembut rather exists seperate from them, similar to anEventListener.interfaceThisItemHandleris triggered when theSlimefunItemit was assigned to has been consumed.interfaceinterfaceThisItemHandleris triggered when theSlimefunItemit was assigned to is right-clicked.interfaceinterfaceinterfaceClasses in io.github.thebusybiscuit.slimefun4.core.handlers that implement ItemHandlerModifier and TypeClassDescriptionclassclassThisItemHandleris called whenever aBlockwas placed.classThis is aBlockTickerthat is exclusively used for Rainbow blocks.Methods in io.github.thebusybiscuit.slimefun4.core.handlers that return types with arguments of type ItemHandlerModifier and TypeMethodDescriptionfinal Class<? extends ItemHandler>BlockBreakHandler.getIdentifier()default Class<? extends ItemHandler>BlockDispenseHandler.getIdentifier()final Class<? extends ItemHandler>BlockPlaceHandler.getIdentifier()default Class<? extends ItemHandler>BlockUseHandler.getIdentifier()default Class<? extends ItemHandler>BowShootHandler.getIdentifier()default Class<? extends ItemHandler>EntityInteractHandler.getIdentifier()default Class<? extends ItemHandler>EntityKillHandler.getIdentifier()default Class<? extends ItemHandler>ItemConsumptionHandler.getIdentifier()default Class<? extends ItemHandler>ItemDropHandler.getIdentifier()default Class<? extends ItemHandler>ItemUseHandler.getIdentifier()default Class<? extends ItemHandler>MultiBlockInteractionHandler.getIdentifier()default Class<? extends ItemHandler>ToolUseHandler.getIdentifier()default Class<? extends ItemHandler>WeaponUseHandler.getIdentifier() -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.implementation.handlers
Classes in io.github.thebusybiscuit.slimefun4.implementation.handlers that implement ItemHandlerModifier and TypeClassDescriptionclassThis simple implementation ofBlockBreakHandlerwill execute the same code for when theBlockis broken by aPlayer, by aMinerAndroidor an explosion.classVanillaInventoryDropHandler<T extends BlockState & InventoryHolder>This is an implementation ofBlockBreakHandlerwhich is suited for anySlimefunItemthat uses the vanillaInventoryfrom theBlockState. -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.implementation.items
Classes in io.github.thebusybiscuit.slimefun4.implementation.items with type parameters of type ItemHandlerModifier and TypeClassDescriptionclassSimpleSlimefunItem<T extends ItemHandler>This is basically a quickstart class for your very firstSlimefunItem. -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.implementation.items.medical
Classes in io.github.thebusybiscuit.slimefun4.implementation.items.medical with type parameters of type ItemHandler -
Uses of ItemHandler in me.mrCookieSlime.Slimefun.Objects.handlers
Classes in me.mrCookieSlime.Slimefun.Objects.handlers that implement ItemHandlerMethods in me.mrCookieSlime.Slimefun.Objects.handlers that return types with arguments of type ItemHandler