Class Immobilizer
java.lang.Object
io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.pylon.content.building.Immobilizer
- All Implemented Interfaces:
io.github.pylonmc.rebar.block.base.RebarBreakHandler, io.github.pylonmc.rebar.block.base.RebarPiston, net.kyori.adventure.key.Keyed, org.bukkit.Keyed
public class Immobilizer
extends io.github.pylonmc.rebar.block.RebarBlock
implements io.github.pylonmc.rebar.block.base.RebarPiston, io.github.pylonmc.rebar.block.base.RebarBreakHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested 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.RebarPiston
io.github.pylonmc.rebar.block.base.RebarPiston.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class io.github.pylonmc.rebar.block.RebarBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarPiston
Companion -
Constructor Summary
ConstructorsConstructorDescriptionImmobilizer(org.bukkit.block.Block block, io.github.pylonmc.rebar.block.context.BlockCreateContext context) Immobilizer(org.bukkit.block.Block block, org.bukkit.persistence.PersistentDataContainer pdc) -
Method Summary
Modifier and TypeMethodDescriptionvoidonBreak(@NotNull List<@NotNull org.bukkit.inventory.ItemStack> drops, @NotNull io.github.pylonmc.rebar.block.context.BlockBreakContext context) voidonExtend(@NotNull org.bukkit.event.block.BlockPistonExtendEvent 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
keyMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarBreakHandler
postBreak, preBreakMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarPiston
onRetract
-
Field Details
-
frozenPlayers
-
-
Constructor Details
-
Immobilizer
public Immobilizer(org.bukkit.block.Block block, io.github.pylonmc.rebar.block.context.BlockCreateContext context) -
Immobilizer
public Immobilizer(org.bukkit.block.Block block, org.bukkit.persistence.PersistentDataContainer pdc)
-
-
Method Details
-
onExtend
public void onExtend(@NotNull @NotNull org.bukkit.event.block.BlockPistonExtendEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority) - Specified by:
onExtendin interfaceio.github.pylonmc.rebar.block.base.RebarPiston
-
onBreak
public void onBreak(@NotNull @NotNull List<@NotNull org.bukkit.inventory.ItemStack> drops, @NotNull @NotNull io.github.pylonmc.rebar.block.context.BlockBreakContext context) - Specified by:
onBreakin interfaceio.github.pylonmc.rebar.block.base.RebarBreakHandler
-