Uses of Class
io.github.thebusybiscuit.slimefun4.api.items.ItemSetting
Package
Description
This package contains a few classes that revolve around the API for
SlimefunItem
, such as
ItemSetting
This package contains various sub classes of
ItemSetting
.This package holds implementations of
ItemSetting
that are for
very specific SlimefunItems
and generally not
very useful out of their context.-
Uses of ItemSetting in io.github.thebusybiscuit.slimefun4.api.items
Modifier and TypeMethodDescription<T> Optional<ItemSetting<T>>
SlimefunItem.getItemSetting
(String key, Class<T> c) This method returns anOptional
holding anItemSetting
with the given key and data type.Set<ItemSetting<?>>
SlimefunItem.getItemSettings()
Modifier and TypeMethodDescriptionfinal void
SlimefunItem.addItemSetting
(ItemSetting<?>... settings) This method will add any givenItemSetting
to thisSlimefunItem
. -
Uses of ItemSetting in io.github.thebusybiscuit.slimefun4.api.items.settings
Modifier and TypeClassDescriptionclass
This variation ofItemSetting
allows you to define anDouble
range and enforces this range using theDoubleRangeSetting.validateInput(Double)
method.class
EnumSetting<T extends Enum<T>>
This variation ofItemSetting
allows you to allowEnum
constants to be used forItemSetting
validation.class
This variation ofItemSetting
allows you to define anInteger
range and enforces this range using theIntRangeSetting.validateInput(Integer)
method.class
This variation ofItemSetting
allows you to define a defaultTag
. -
Uses of ItemSetting in io.github.thebusybiscuit.slimefun4.implementation.settings
Modifier and TypeClassDescriptionclass
This is anItemSetting
that manages the efficiency of climbing a certainMaterial
with theClimbingPick
.class
class
This class is an extension ofItemSetting
that holds anEnchantment
and a level.