Class ConfettiPopper
java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.pylon.content.tools.ConfettiPopper
- All Implemented Interfaces:
io.github.pylonmc.rebar.item.base.RebarConsumable, net.kyori.adventure.key.Keyed, org.bukkit.Keyed
public class ConfettiPopper
extends io.github.pylonmc.rebar.item.RebarItem
implements io.github.pylonmc.rebar.item.base.RebarConsumable
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.rebar.item.RebarItem.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.item.base.RebarConsumable
io.github.pylonmc.rebar.item.base.RebarConsumable.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal doublefinal intfinal doubleFields inherited from class io.github.pylonmc.rebar.item.RebarItem
CompanionFields inherited from interface io.github.pylonmc.rebar.item.base.RebarConsumable
Companion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonConsumed(@NotNull org.bukkit.event.player.PlayerItemConsumeEvent event, @NotNull org.bukkit.event.EventPriority priority) Methods inherited from class io.github.pylonmc.rebar.item.RebarItem
equals, fromStack, fromStack, getAddon, getKey, getPlaceholders, 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
-
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, @NotNull @NotNull org.bukkit.event.EventPriority priority) - Specified by:
onConsumedin interfaceio.github.pylonmc.rebar.item.base.RebarConsumable
-