Class ExplosiveTarget

java.lang.Object
io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.pylon.content.building.ExplosiveTarget
All Implemented Interfaces:
io.github.pylonmc.rebar.block.base.RebarTargetBlock, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class ExplosiveTarget extends io.github.pylonmc.rebar.block.RebarBlock implements io.github.pylonmc.rebar.block.base.RebarTargetBlock
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class io.github.pylonmc.rebar.block.RebarBlock

    io.github.pylonmc.rebar.block.RebarBlock.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarTargetBlock

    io.github.pylonmc.rebar.block.base.RebarTargetBlock.Companion
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
     
    final double
     

    Fields inherited from class io.github.pylonmc.rebar.block.RebarBlock

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.block.base.RebarTargetBlock

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExplosiveTarget(org.bukkit.block.Block block, io.github.pylonmc.rebar.block.context.BlockCreateContext context)
     
    ExplosiveTarget(org.bukkit.block.Block block, org.bukkit.persistence.PersistentDataContainer pdc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onHit(@NotNull io.papermc.paper.event.block.TargetHitEvent event, @NotNull org.bukkit.event.EventPriority priority)
     

    Methods inherited from class io.github.pylonmc.rebar.block.RebarBlock

    getBlock, getBlockTextureEntity, getBlockTextureItem, getBlockTextureProperties, getDefaultItem, getDefaultWailaTranslationKey, getDisableBlockTextureEntity, getDropItem, getKey, getLoreTranslationKey, getNameTranslationKey, getPickItem, getRebarBlock, getRebarBlockKeyKey, getRebarBlockPositionKey, getRebarBlockTextureEntityKey, getSchema, getSettings, getWaila, isVanillaBlock, postInitialise, postLoad, refreshBlockTextureItem, register, scheduleBlockTextureItemRefresh, setDisableBlockTextureEntity, setupBlockTexture, write, writeDebugInfo

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    key
  • Field Details

    • explosivePower

      public final double explosivePower
    • createsFire

      public final boolean createsFire
  • Constructor Details

    • ExplosiveTarget

      public ExplosiveTarget(org.bukkit.block.Block block, io.github.pylonmc.rebar.block.context.BlockCreateContext context)
    • ExplosiveTarget

      public ExplosiveTarget(org.bukkit.block.Block block, org.bukkit.persistence.PersistentDataContainer pdc)
  • Method Details

    • onHit

      public void onHit(@NotNull @NotNull io.papermc.paper.event.block.TargetHitEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority)
      Specified by:
      onHit in interface io.github.pylonmc.rebar.block.base.RebarTargetBlock