Class CharcoalBlock

java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.pylon.content.resources.CharcoalBlock
All Implemented Interfaces:
io.github.pylonmc.rebar.item.base.VanillaCookingFuel, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class CharcoalBlock extends io.github.pylonmc.rebar.item.RebarItem implements io.github.pylonmc.rebar.item.base.VanillaCookingFuel
  • 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.VanillaCookingFuel

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

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

    Companion

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

    Companion
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
    onBurntAsFuel(@NotNull org.bukkit.event.inventory.FurnaceBurnEvent 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, 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

    • FUEL_BURN_TIME_TICKS

      public static final int FUEL_BURN_TIME_TICKS
  • Constructor Details

    • CharcoalBlock

      public CharcoalBlock(@NotNull @NotNull org.bukkit.inventory.ItemStack stack)
  • Method Details

    • onBurntAsFuel

      public void onBurntAsFuel(@NotNull @NotNull org.bukkit.event.inventory.FurnaceBurnEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority)
      Specified by:
      onBurntAsFuel in interface io.github.pylonmc.rebar.item.base.VanillaCookingFuel