Class Silo.Item
java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.pylon.content.machines.storage.Silo.Item
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed, org.bukkit.Keyed
- Enclosing class:
Silo
public static class Silo.Item
extends io.github.pylonmc.rebar.item.RebarItem
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.rebar.item.RebarItem.Companion -
Field Summary
FieldsFields inherited from class io.github.pylonmc.rebar.item.RebarItem
Companion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument> @Nullable Long@Nullable org.bukkit.inventory.ItemStackvoidsetSiloAmount(long amount) voidsetSiloStack(org.bukkit.inventory.ItemStack stack) Methods inherited from class io.github.pylonmc.rebar.item.RebarItem
equals, fromStack, fromStack, getAddon, getKey, getRebarBlock, getResearch, getResearchBypassPermission, getSchema, getSettings, getSettings, getStack, hashCode, isDisabled, isRebarItem, isRebarItem, place, prePlace, register, register, suppressNameWarningsMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
key
-
Field Details
-
capacityStacks
public final long capacityStacks
-
-
Constructor Details
-
Item
public Item(@NotNull @NotNull org.bukkit.inventory.ItemStack stack)
-
-
Method Details
-
getPlaceholders
@NotNull public @NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument> getPlaceholders()- Overrides:
getPlaceholdersin classio.github.pylonmc.rebar.item.RebarItem
-
getSiloStack
@Nullable public @Nullable org.bukkit.inventory.ItemStack getSiloStack() -
getSiloAmount
-
setSiloStack
public void setSiloStack(org.bukkit.inventory.ItemStack stack) -
setSiloAmount
public void setSiloAmount(long amount)
-