Class PotionPedestal
java.lang.Object
io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.pylon.content.building.Pedestal
io.github.pylonmc.pylon.content.machines.simple.PotionPedestal
- All Implemented Interfaces:
io.github.pylonmc.rebar.block.base.RebarBreakHandler, io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock, io.github.pylonmc.rebar.block.base.RebarInteractBlock, io.github.pylonmc.rebar.block.base.RebarLogisticBlock, net.kyori.adventure.key.Keyed, org.bukkit.Keyed
-
Nested Class Summary
Nested 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.RebarEntityHolderBlock
io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarInteractBlock
io.github.pylonmc.rebar.block.base.RebarInteractBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarLogisticBlock
io.github.pylonmc.rebar.block.base.RebarLogisticBlock.Companion -
Field Summary
Fields inherited from class io.github.pylonmc.rebar.block.RebarBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarEntityHolderBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarInteractBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarLogisticBlock
Companion -
Constructor Summary
ConstructorsConstructorDescriptionPotionPedestal(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context) PotionPedestal(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.persistence.PersistentDataContainer pdc) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisIllegalItem(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.inventory.ItemStack stack) This method is called when an item is inserted into the pedestal.Methods inherited from class Pedestal
getItemDisplay, isLocked, onBreak, onInteract, postInitialise, setLocked, transformBuilder, writeMethods 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, postLoad, refreshBlockTextureItem, register, scheduleBlockTextureItemRefresh, setDisableBlockTextureEntity, setupBlockTexture, 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.RebarEntityHolderBlock
addEntity, addEntity, areAllHeldEntitiesLoaded, getBlock, getHeldEntities, getHeldEntity, getHeldEntity, getHeldEntityOrThrow, getHeldEntityOrThrow, getHeldEntityUuid, getHeldEntityUuidOrThrow, getHeldRebarEntity, getHeldRebarEntity, getHeldRebarEntityOrThrow, isHeldEntityPresent, tryRemoveAllEntities, tryRemoveEntity, whenHeldRebarEntityLoads, whenHeldRebarEntityLoadsMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarLogisticBlock
createLogisticGroup, createLogisticGroup, createLogisticGroup, createLogisticGroup, getBlock, getLogisticGroup, getLogisticGroupOrThrow, getLogisticGroups
-
Constructor Details
-
PotionPedestal
public PotionPedestal(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context) -
PotionPedestal
public PotionPedestal(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
-
-
Method Details
-
isIllegalItem
public boolean isIllegalItem(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.inventory.ItemStack stack) Description copied from class:PedestalThis method is called when an item is inserted into the pedestal. It can be used to check if the item is allowed to be inserted.- Overrides:
isIllegalItemin classPedestal- Returns:
- true if the item can be inserted into the pedestal, false otherwise
-