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

    Fields
    Modifier and Type
    Field
    Description
    final long
     

    Fields inherited from class io.github.pylonmc.rebar.item.RebarItem

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    Item(@NotNull org.bukkit.inventory.ItemStack stack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument>
     
    @Nullable Long
     
    @Nullable org.bukkit.inventory.ItemStack
     
    void
    setSiloAmount(long amount)
     
    void
    setSiloStack(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, suppressNameWarnings

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      getPlaceholders in class io.github.pylonmc.rebar.item.RebarItem
    • getSiloStack

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getSiloStack()
    • getSiloAmount

      @Nullable public @Nullable Long getSiloAmount()
    • setSiloStack

      public void setSiloStack(org.bukkit.inventory.ItemStack stack)
    • setSiloAmount

      public void setSiloAmount(long amount)