Class LiquidXPBottle
java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.pylon.content.machines.experience.LiquidXPBottle
- All Implemented Interfaces:
io.github.pylonmc.rebar.item.base.RebarBottle, net.kyori.adventure.key.Keyed, org.bukkit.Keyed
public class LiquidXPBottle
extends io.github.pylonmc.rebar.item.RebarItem
implements io.github.pylonmc.rebar.item.base.RebarBottle
-
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.RebarBottle
io.github.pylonmc.rebar.item.base.RebarBottle.Companion -
Field Summary
FieldsFields inherited from class io.github.pylonmc.rebar.item.RebarItem
CompanionFields inherited from interface io.github.pylonmc.rebar.item.base.RebarBottle
Companion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument> voidonBottleBreak(@NotNull org.bukkit.event.entity.ExpBottleEvent event) 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
-
experienceAmount
public final int experienceAmount
-
-
Constructor Details
-
LiquidXPBottle
public LiquidXPBottle(@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
-
onBottleBreak
public void onBottleBreak(@NotNull @NotNull org.bukkit.event.entity.ExpBottleEvent event) - Specified by:
onBottleBreakin interfaceio.github.pylonmc.rebar.item.base.RebarBottle
-