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.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.item.base.RebarBottle

    io.github.pylonmc.rebar.item.base.RebarBottle.Companion
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     

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

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.item.base.RebarBottle

    Companion
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    @NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument>
     
    void
    onBottleBreak(@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, 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

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

      public void onBottleBreak(@NotNull @NotNull org.bukkit.event.entity.ExpBottleEvent event)
      Specified by:
      onBottleBreak in interface io.github.pylonmc.rebar.item.base.RebarBottle