Class LoreBuilder
java.lang.Object
io.github.thebusybiscuit.slimefun4.utils.LoreBuilder
This utility class provides a few handy methods and constants to build the lore of any
SlimefunItemStack
. It is mostly used directly inside the class SlimefunItems
.- Author:
- TheBusyBiscuit
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
hunger
(double value) static String
machine
(MachineTier tier, MachineType type) static String
static String
static String
powerBuffer
(int power) static String
powerCharged
(int charge, int capacity) static String
powerPerSecond
(int power) static String
radioactive
(Radioactivity radioactivity) static String
range
(int blocks) static String
speed
(float speed) static String
usesLeft
(int usesLeft)
-
Field Details
-
HAZMAT_SUIT_REQUIRED
- See Also:
-
RAINBOW
- See Also:
-
RIGHT_CLICK_TO_USE
- See Also:
-
RIGHT_CLICK_TO_OPEN
- See Also:
-
CROUCH_TO_USE
- See Also:
-
-
Method Details
-
radioactive
-
machine
-
speed
-
powerBuffer
-
powerPerSecond
-
power
-
powerCharged
-
material
-
hunger
-
range
-
usesLeft
-