Uses of Interface
io.github.thebusybiscuit.slimefun4.api.items.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
ItemSetting
This 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 SlimefunItem
This package holds simple implementations of
ItemHandler
.This package contains the different classes for each
SlimefunItem
This package holds implementations of
SlimefunItem
that are
related to healing yourself.-
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.api.exceptions
ModifierConstructorDescriptionIncompatibleItemHandlerException
(String message, SlimefunItem item, ItemHandler handler) -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.api.items
Modifier and TypeMethodDescription<T extends ItemHandler>
booleanSlimefunItem.callItemHandler
(Class<T> c, Consumer<T> callable) This method calls everyItemHandler
of the givenClass
and performs the action as specified via theConsumer
.Modifier 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
.Modifier and TypeMethodDescriptionfinal void
SlimefunItem.addItemHandler
(ItemHandler... handlers) This method will add any givenItemHandler
to thisSlimefunItem
. -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.core
Modifier and TypeMethodDescriptionMap<Class<? extends ItemHandler>,
Set<ItemHandler>> SlimefunRegistry.getGlobalItemHandlers()
Map<Class<? extends ItemHandler>,
Set<ItemHandler>> SlimefunRegistry.getGlobalItemHandlers()
SlimefunRegistry.getGlobalItemHandlers
(Class<? extends ItemHandler> identifier) Modifier and TypeMethodDescriptionSlimefunRegistry.getGlobalItemHandlers
(Class<? extends ItemHandler> identifier) -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.core.handlers
Modifier and TypeInterfaceDescriptioninterface
ThisItemHandler
is triggered when theSlimefunItem
it was assigned to is aDispenser
and was triggered.interface
interface
ThisItemHandler
is triggered when theSlimefunItem
it was assigned to is aSlimefunBow
and an Arrow fired from this bow hit aLivingEntity
.interface
interface
If thisItemHandler
is added to aSlimefunItem
it will listen for anyEntityDeathEvent
that was triggered by aPlayer
using theSlimefunItem
thisEntityKillHandler
was linked to.interface
AGlobalItemHandler
is a special type ofItemHandler
which is not associated with one particularSlimefunItem
but rather exists seperate from them, similar to anEvent
Listener
.interface
ThisItemHandler
is triggered when theSlimefunItem
it was assigned to has been consumed.interface
interface
ThisItemHandler
is triggered when theSlimefunItem
it was assigned to is right-clicked.interface
interface
interface
Modifier and TypeClassDescriptionclass
class
ThisItemHandler
is called whenever aBlock
was placed.class
This is aBlockTicker
that is exclusively used for Rainbow blocks.Modifier 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
Modifier and TypeClassDescriptionclass
This simple implementation ofBlockBreakHandler
will execute the same code for when theBlock
is broken by aPlayer
, by aMinerAndroid
or an explosion.class
VanillaInventoryDropHandler<T extends BlockState & InventoryHolder>
This is an implementation ofBlockBreakHandler
which is suited for anySlimefunItem
that uses the vanillaInventory
from theBlockState
. -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.implementation.items
Modifier and TypeClassDescriptionclass
SimpleSlimefunItem<T extends ItemHandler>
This is basically a quickstart class for your very firstSlimefunItem
. -
Uses of ItemHandler in io.github.thebusybiscuit.slimefun4.implementation.items.medical
-
Uses of ItemHandler in me.mrCookieSlime.Slimefun.Objects.handlers