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 ClassesNested classes/interfaces inherited from class io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.rebar.block.RebarBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarTargetBlock
io.github.pylonmc.rebar.block.base.RebarTargetBlock.Companion -
Field Summary
FieldsFields inherited from class io.github.pylonmc.rebar.block.RebarBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarTargetBlock
Companion -
Constructor Summary
ConstructorsConstructorDescriptionExplosiveTarget(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 TypeMethodDescriptionvoidonHit(@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, writeDebugInfoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
onHitin interfaceio.github.pylonmc.rebar.block.base.RebarTargetBlock
-