Class SiloLogisticSlot
java.lang.Object
io.github.pylonmc.pylon.content.machines.storage.SiloLogisticSlot
- All Implemented Interfaces:
io.github.pylonmc.rebar.logistics.slot.LogisticSlot
public class SiloLogisticSlot
extends Object
implements io.github.pylonmc.rebar.logistics.slot.LogisticSlot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong@Nullable org.bukkit.inventory.ItemStacklonggetMaxAmount(@NotNull org.bukkit.inventory.ItemStack stack) voidset(@Nullable org.bukkit.inventory.ItemStack stack, long amount) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.pylonmc.rebar.logistics.slot.LogisticSlot
canSet
-
Constructor Details
-
SiloLogisticSlot
-
-
Method Details
-
getItemStack
@Nullable public @Nullable org.bukkit.inventory.ItemStack getItemStack()- Specified by:
getItemStackin interfaceio.github.pylonmc.rebar.logistics.slot.LogisticSlot
-
getAmount
public long getAmount()- Specified by:
getAmountin interfaceio.github.pylonmc.rebar.logistics.slot.LogisticSlot
-
getMaxAmount
public long getMaxAmount(@NotNull @NotNull org.bukkit.inventory.ItemStack stack) - Specified by:
getMaxAmountin interfaceio.github.pylonmc.rebar.logistics.slot.LogisticSlot
-
set
public void set(@Nullable @Nullable org.bukkit.inventory.ItemStack stack, long amount) - Specified by:
setin interfaceio.github.pylonmc.rebar.logistics.slot.LogisticSlot
-