Class ConfettiPopper
java.lang.Object
io.github.pylonmc.pylon.core.item.PylonItem
io.github.pylonmc.pylon.base.content.tools.ConfettiPopper
- All Implemented Interfaces:
io.github.pylonmc.pylon.core.item.base.PylonConsumable,net.kyori.adventure.key.Keyed,org.bukkit.Keyed
public class ConfettiPopper
extends io.github.pylonmc.pylon.core.item.PylonItem
implements io.github.pylonmc.pylon.core.item.base.PylonConsumable
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.pylonmc.pylon.core.item.PylonItem
io.github.pylonmc.pylon.core.item.PylonItem.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal doublefinal intfinal doubleFields inherited from class io.github.pylonmc.pylon.core.item.PylonItem
Companion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonConsumed(@NotNull org.bukkit.event.player.PlayerItemConsumeEvent event) Methods inherited from class io.github.pylonmc.pylon.core.item.PylonItem
equals, fromStack, getAddon, getKey, getPlaceholders, getPylonBlock, getResearch, getResearchBypassPermission, getSchema, getSettings, getSettings, getStack, hashCode, isDisabled, isPylonItem, place, register, register, suppressNameWarningsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
key
-
Field Details
-
length
public final double length -
size
public final double size -
amount
public final int amount -
lifetime
public final int lifetime
-
-
Constructor Details
-
ConfettiPopper
public ConfettiPopper(@NotNull @NotNull org.bukkit.inventory.ItemStack stack)
-
-
Method Details
-
onConsumed
public void onConsumed(@NotNull @NotNull org.bukkit.event.player.PlayerItemConsumeEvent event) - Specified by:
onConsumedin interfaceio.github.pylonmc.pylon.core.item.base.PylonConsumable
-