Index
All Classes and Interfaces|All Packages
A
- addFontImage(FontImageWrapper) - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Adds a font image at the end of the HUD image list.
- addFontImageToIndex(FontImageWrapper, int) - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Adds a font image at a specific index.
- addPassenger(LivingEntity) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Will add new passenger to the next unoccupied mount bone
- addViewer(Player) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Adds a viewer to this custom entity.
- Advanced() - Constructor for class dev.lone.itemsadder.api.CustomBlock.Advanced
- Advanced() - Constructor for class dev.lone.itemsadder.api.ItemsAdder.Advanced
- applyPixelsOffset(int) - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Deprecated.
- applyPixelsOffsetToString(String, int) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Applies a pixel offset to a string.
- applyResourcepack(Player) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Sends the configured resource pack to a player.
- areItemsLoaded() - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use load events and dedicated registry methods instead.
B
- Bone() - Constructor for class dev.lone.itemsadder.api.CustomEntity.Bone
- byAlreadyPlaced(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the custom block wrapper for an already placed block.
- byAlreadyPlaced(Block) - Static method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the custom crop wrapper for an already placed crop block.
- byAlreadyPlaced(Block) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Gets the custom fire wrapper for an already placed fire block.
- byAlreadySpawned(Block) - Static method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Gets a complex furniture wrapper from a block occupied by a complex furniture entity.
- byAlreadySpawned(Block) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Gets a furniture wrapper from a block occupied by a furniture entity.
- byAlreadySpawned(Entity) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Gets a custom entity wrapper from an already spawned entity.
- byAlreadySpawned(Entity) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Gets a furniture wrapper from an already spawned furniture entity.
- byAlreadySpawned(Entity) - Static method in class dev.lone.itemsadder.api.CustomMob
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10.
- byAlreadySpawned(Entity) - Static method in class dev.lone.itemsadder.api.CustomPlayer
-
Gets a custom player wrapper from an already spawned entity.
- byAlreadySpawned(LivingEntity) - Static method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Gets a complex furniture wrapper from an already spawned base entity.
- byItemStack(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets a custom block wrapper from an item stack.
- byItemStack(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Gets a custom fire wrapper from an item stack.
- byItemStack(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Returns null if the provided ItemStack is not a custom item created with ItemsAdder
C
- call(String, ItemStack) - Method in class dev.lone.itemsadder.api.ItemsAdder.Advanced.InjectedItemModifier
-
Calls the modifier handler.
- call(String, ItemStack) - Method in interface dev.lone.itemsadder.api.ItemsAdder.Advanced.ModifierHandler
- canControl() - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
-
Checks if the passenger can control this mount.
- clearFontImagesAndRefresh() - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Removes all font images and recalculates HUD offsets.
- ComplexFurnitureBreakEvent - Class in dev.lone.itemsadder.api.Events
-
Called when a player breaks complex furniture.
- ComplexFurnitureInteractEvent - Class in dev.lone.itemsadder.api.Events
-
Called when a player interacts with complex furniture.
- ComplexFurniturePlacedEvent - Class in dev.lone.itemsadder.api.Events
-
Called after complex furniture has been placed.
- ComplexFurniturePrePlaceEvent - Class in dev.lone.itemsadder.api.Events
-
Called before placing, to avoid useless processing.
- convert(String, LivingEntity) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Converts an existing living entity into a custom entity.
- convert(String, LivingEntity, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Converts an existing living entity into a custom entity.
- convert(String, LivingEntity, boolean, boolean, boolean, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Converts an existing living entity into a custom entity with advanced options.
- convert(String, LivingEntity, List, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Converts an existing living entity into a custom entity visible to specific viewers.
- CustomBlock - Class in dev.lone.itemsadder.api
-
Wrapper for a custom block item and, when available, its placed block.
- CustomBlock.Advanced - Class in dev.lone.itemsadder.api
-
Advanced helpers for editing ItemsAdder custom block region data directly.
- CustomBlockBreakEvent - Class in dev.lone.itemsadder.api.Events
-
Called when a player breaks an ItemsAdder custom block.
- CustomBlockInteractEvent - Class in dev.lone.itemsadder.api.Events
-
Called when a player interacts with an ItemsAdder custom block.
- CustomBlockPlaceEvent - Class in dev.lone.itemsadder.api.Events
-
Called when a player places an ItemsAdder custom block.
- CustomComplexFurniture - Class in dev.lone.itemsadder.api
-
Wrapper for complex furniture backed by a custom entity renderer.
- CustomComplexFurniture() - Constructor for class dev.lone.itemsadder.api.CustomComplexFurniture
- CustomCrop - Class in dev.lone.itemsadder.api
-
Wrapper for a custom crop placed in the world.
- CustomCrop() - Constructor for class dev.lone.itemsadder.api.CustomCrop
- CustomEntity - Class in dev.lone.itemsadder.api
-
Wrapper for a custom entity spawned or converted by ItemsAdder.
- CustomEntity() - Constructor for class dev.lone.itemsadder.api.CustomEntity
- CustomEntity.Bone - Class in dev.lone.itemsadder.api
-
Wrapper for a rendered bone of a custom entity.
- CustomEntity.MountBone - Class in dev.lone.itemsadder.api
-
Wrapper for a mount bone of a custom entity.
- CustomEntityDeathEvent - Class in dev.lone.itemsadder.api.Events
-
Called when an ItemsAdder custom entity dies.
- CustomFire - Class in dev.lone.itemsadder.api
-
Wrapper for a custom fire item and its placed fire block.
- CustomFurniture - Class in dev.lone.itemsadder.api
-
Wrapper for simple ItemsAdder furniture spawned in the world.
- CustomMob - Class in dev.lone.itemsadder.api
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10. Use custom entities instead.
- CustomMob() - Constructor for class dev.lone.itemsadder.api.CustomMob
-
Deprecated.
- CustomPlayer - Class in dev.lone.itemsadder.api
-
Wrapper for a custom player entity and player emote helpers.
- CustomStack - Class in dev.lone.itemsadder.api
-
Wrapper for an ItemsAdder custom item stack.
- CustomStack() - Constructor for class dev.lone.itemsadder.api.CustomStack
D
- deleteAllCustomBlocksInChunk(Chunk) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Deletes all custom block data stored for a chunk.
- deleteAllCustomBlocksInChunk(Chunk, boolean, boolean) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Deletes all custom block data stored for a chunk.
- destroy() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Destroys this custom entity.
- dev.lone.itemsadder.api - package dev.lone.itemsadder.api
- dev.lone.itemsadder.api.Events - package dev.lone.itemsadder.api.Events
- dev.lone.itemsadder.api.FontImages - package dev.lone.itemsadder.api.FontImages
- drop(Location) - Method in class dev.lone.itemsadder.api.CustomStack
-
Drops this item stack naturally at a location.
E
- exists() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Checks if the wrapped font image exists.
- exists() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Checks if the wrapped HUD holder exists.
- exists() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Checks if the wrapped HUD exists.
F
- FontImageWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Wrapper for an ItemsAdder font image.
- FontImageWrapper(String) - Constructor for class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Creates a font image wrapper.
- FurnitureBreakEvent - Class in dev.lone.itemsadder.api.Events
-
Called when a player breaks simple furniture.
- FurnitureInteractEvent - Class in dev.lone.itemsadder.api.Events
-
Called when a player interacts with simple furniture.
- FurniturePlacedEvent - Class in dev.lone.itemsadder.api.Events
-
Called after simple furniture has been placed.
- FurniturePlaceEvent - Class in dev.lone.itemsadder.api.Events
-
Deprecated.
- FurniturePlaceSuccessEvent - Class in dev.lone.itemsadder.api.Events
-
Deprecated.use
FurniturePlacedEvent. - FurniturePrePlaceEvent - Class in dev.lone.itemsadder.api.Events
-
Called before placing, to avoid useless processing.
G
- generateBlockData() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Deprecated.use
CustomBlock.getBaseBlockData()instead. - getAction() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureInteractEvent
-
Gets the Bukkit interaction action.
- getAction() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the Bukkit interaction action.
- getAction() - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Gets the Bukkit interaction action.
- getAge() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the current crop age.
- getAge() - Method in class dev.lone.itemsadder.api.CustomFire
-
Gets the age of this placed custom fire.
- getAge(Block) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Gets the age of a fire block.
- getAllBlocksLocations(Chunk) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Gets all custom block locations and namespaced ids stored in a chunk.
- getAllBlocksLocationsList(Chunk) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Gets all custom block locations stored in a chunk.
- getAllItems() - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Returns all the registered items.
- getAllItems(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Returns all the registered items by a specific namespace.
- getAllItems(Material) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Returns all the registered items which use a specific Bukkit Material.
- getAnimationsNames() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets all animation names for this custom entity.
- getAnimationsNames(String) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Gets all animation names for a registered custom entity.
- getArmorstand() - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Deprecated.use
CustomFurniture.getEntity()instead. - getBaseBlockData() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the base block data used by this custom block.
- getBaseBlockData(String) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the base block data used by a registered custom block.
- getBlock() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the placed Bukkit block associated with this wrapper.
- getBlock() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
-
Gets the broken block.
- getBlock() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the placed block.
- getBlockClicked() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the clicked custom block.
- getBlockDataByInternalId(int) - Static method in class dev.lone.itemsadder.api.ItemsAdder.Advanced
-
Gets Bukkit block data from an ItemsAdder internal custom block id.
- getBlockFace() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the clicked block face.
- getBone(String) - Method in class dev.lone.itemsadder.api.CustomEntity
- getBones() - Method in class dev.lone.itemsadder.api.CustomEntity
- getBukkitEntity() - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
-
Gets the Bukkit entity used by this furniture.
- getBukkitEntity() - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Gets the Bukkit entity used by this furniture.
- getBukkitEntity() - Method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
-
Gets the Bukkit entity used by this furniture.
- getBukkitEntity() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceSuccessEvent
-
Gets the Bukkit entity used by this furniture.
- getCause() - Method in class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
-
Gets why the emote ended.
- getColor() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Gets the current color of this bone.
- getColor() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets the current font image color.
- getConfig() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the configuration file that defines this custom item.
- getConfigPath() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the configuration file path that defines this custom item.
- getConfigSectionCopy() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets a copy of this custom item's merged configuration section.
- getConfigSectionCopy(boolean) - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets a copy of this custom item's configuration section.
- getConfigSectionCopy(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Gets a copy of the merged configuration section for a custom item stack.
- getConfigSectionCopy(ItemStack, boolean) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Gets a copy of the configuration section for a custom item stack.
- getCooldownMs(Player, ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Gets the remaining cooldown for a custom item stack.
- getCustomBlock(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.byAlreadyPlaced(Block)instead. - getCustomBlockBlockData(ItemStack, boolean) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.getBaseBlockData()instead. - getCustomBlockByFaces(Material, HashMap) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use dedicated custom block APIs instead.
- getCustomBlockItem() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
-
Gets the custom block item stack.
- getCustomBlockItem() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the custom block item stack.
- getCustomBlockItem() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the custom block item stack.
- getCustomBlockLoot(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.getLoot(Block, ItemStack, boolean)instead. - getCustomBlockLoot(Block, boolean) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.getLoot(Block, ItemStack, boolean)instead. - getCustomBlockLoot(Block, ItemStack, boolean) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.getLoot(Block, ItemStack, boolean)instead. - getCustomItem(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.getInstance(String)instead. - getCustomItemDurability(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.getDurability()instead. - getCustomItemMaxDurability(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.getMaxDurability()instead. - getCustomItemName(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.byItemStack(ItemStack)andCustomStack.getNamespacedID()instead. - getCustomItemUsages(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.byItemStack(ItemStack)andCustomStack.getUsages()instead. - getCustomSeedNameFromCrop(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomCrop.byAlreadyPlaced(Block)andCustomCrop.getSeed()instead. - getDamageMainhand() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the calculated main hand damage of this item stack.
- getDisplayName() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the configured legacy display name of this custom item.
- getDurability() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the current custom durability value.
- getEmoteName() - Method in class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
-
Gets the emote name.
- getEmoteName() - Method in class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
-
Gets the emote name.
- getEnchanted() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Checks if this bone is rendered with enchanted glint.
- getEntity() - Method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Get the Bukkit base entity for this custom complex furniture.
- getEntity() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the base Bukkit entity used by this custom entity.
- getEntity() - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Get the armorstand
- getEntity() - Method in class dev.lone.itemsadder.api.CustomMob
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10.
- getEntity() - Method in class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
-
Gets the base Bukkit entity.
- getFloatValue() - Method in class dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
-
Deprecated.Gets the current float value of this HUD.
- getFontImagesCount() - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Gets the amount of font images displayed by this HUD.
- getFrustumCulling() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets whether this custom entity uses frustum culling.
- getFurniture() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureBreakEvent
-
Gets the complex furniture wrapper for this event.
- getFurniture() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureInteractEvent
-
Gets the complex furniture wrapper for this event.
- getFurniture() - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePlacedEvent
-
Gets the complex furniture wrapper for this event.
- getFurniture() - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
-
Gets the furniture wrapper for this event.
- getFurniture() - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Gets the furniture wrapper for this event.
- getFurniture() - Method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
-
Gets the furniture wrapper for this event.
- getFurniture() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceSuccessEvent
-
Gets the furniture wrapper for this event.
- getHand() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the hand used for the interaction.
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ComplexFurnitureBreakEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ComplexFurnitureInteractEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ComplexFurniturePlacedEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ComplexFurniturePrePlaceEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurniturePlaceSuccessEvent
-
Deprecated.
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ItemsAdderFirstLoadEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ItemsAdderPackCompressedEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureBreakEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureInteractEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePlacedEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePrePlaceEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceSuccessEvent
-
Deprecated.
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.ItemsAdderFirstLoadEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.ItemsAdderPackCompressedEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
- getHash() - Method in class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
-
Gets the resource pack hash.
- getHeight() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets the font image height.
- getId() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Seems to be available to get (at least with server events)
- getId() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the id of this custom entity without namespace.
- getId() - Method in class dev.lone.itemsadder.api.CustomMob
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10.
- getId() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the id of this custom item without namespace.
- getInCustomRegion(Location) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Gets the custom block namespaced id stored in region data at a location.
- getInitialOffsetX() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Gets the initial X offset configured for this HUD.
- getInstance(String) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets a clone of the custom block item declared in the ItemsAdder registry.
- getInstance(String) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Gets a clone of the custom fire item declared in the ItemsAdder registry.
- getInstance(String) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Gets a clone of the custom stack declared in ItemsAdder registry.
- getInternal() - Method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.this exposes the internal inventory directly.
- getItem() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the item used during the interaction.
- getItemInHand() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the item used to place the custom block.
- getItemModelResourceLocation(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder.Advanced
-
Gets the model resource location of a registered custom item.
- getItemStack() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the Bukkit item stack handled by this wrapper.
- getKiller() - Method in class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
-
Gets the player that killed this entity.
- getLiquidName(Location) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.custom liquid APIs are deprecated.
- getLocation() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Get the current bone location in the world.
- getLocation() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the current custom entity location.
- getLocation() - Method in class dev.lone.itemsadder.api.CustomFire
-
Gets the placed fire location.
- getLocation() - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
-
Gets the target placement location.
- getLoot() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the loot generated by this custom block using the default options.
- getLoot() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the loot generated by this crop.
- getLoot() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the loot generated by this custom entity.
- getLoot(boolean) - Method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the loot generated by this custom block.
- getLoot(Block) - Static method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the loot generated by the custom crop at the provided block.
- getLoot(Block, ItemStack) - Static method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the loot generated by the custom crop at the provided block.
- getLoot(Block, ItemStack, boolean) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the loot generated by a placed custom block.
- getLoot(LivingEntity, ItemStack) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the loot generated by a custom entity.
- getLoot(ItemStack) - Method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the loot generated by this crop.
- getLoot(ItemStack) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the loot generated by this custom entity.
- getLoot(ItemStack, boolean) - Method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the loot generated by this custom block.
- getMaxAge() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the maximum age supported by this crop block.
- getMaxDurability() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the maximum custom durability value.
- getMessage() - Method in class dev.lone.itemsadder.api.Events.ItemsAdderFirstLoadEvent
-
Gets the optional event message.
- getModelPath() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the model path configured for this custom item.
- getMountBoneByPassenger(LivingEntity) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the
CustomEntity.MountBonecurrently ridden by the specified passenger if so - getMountBones() - Method in class dev.lone.itemsadder.api.CustomEntity
- getName() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Get the name of this bone.
- getName() - Method in class dev.lone.itemsadder.api.CustomMob
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10.
- getNamespace() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the namespace of this custom entity.
- getNamespace() - Method in class dev.lone.itemsadder.api.CustomMob
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10.
- getNamespace() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the namespace of this custom item.
- getNamespacedBlocksNamesInConfig() - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.getNamespacedIdsInRegistry()instead. - getNamespacedBlocksNamesInConfig(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.getNamespacedIdsInRegistry()instead. - getNamespacedID() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the custom entity namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.CustomMob
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the full namespaced id of this custom item.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureBreakEvent
-
Gets the complex furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureInteractEvent
-
Gets the complex furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePlacedEvent
-
Gets the complex furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePrePlaceEvent
-
Gets the complex furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
-
Gets the custom block namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the custom block namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the custom block namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
-
Gets the custom entity namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
-
Gets the furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Gets the furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
-
Gets the furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.Gets the furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceSuccessEvent
-
Deprecated.Gets the furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
-
Gets the furniture namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets the font image namespaced id.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Gets the HUD namespaced id.
- getNamespacedIdsAndValueInRegistry() - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets all font image namespaced ids and their unicode values.
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets all custom block namespaced ids currently registered.
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Gets all complex furniture namespaced ids currently registered.
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Gets all custom entity namespaced ids currently registered.
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Gets all furniture namespaced ids currently registered.
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomStack
-
Gets all custom item namespaced ids currently registered.
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets all font image namespaced ids currently registered.
- getOffset() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets the current pixel offset.
- getOffsetX() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Gets the current X offset.
- getOrdinal() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
- getOriginalIsSolid() - Method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Gets whether this complex furniture is configured as solid.
- getOriginalLightLevel() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the light level configured for this custom block.
- getOriginalLightLevel() - Method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Gets the light level configured for this complex furniture.
- getOriginalLightLevel() - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Gets the light level configured for this furniture.
- getPackUrl(boolean) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Gets the configured resource pack URL.
- getPassenger() - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
- getPassengers() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets all passengers currently mounted on this custom entity.
- getPermission() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the permission suffix configured for this custom item.
- getPlacedAgainst() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the block this block was placed against.
- getPlayer() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Gets the player associated with this holder.
- getPlayerName() - Method in class dev.lone.itemsadder.api.CustomPlayer
-
Gets the skin/player name used to spawn this custom player.
- getReplacedBlockState() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the block state replaced by this placement.
- getRequiredStats(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Gets the player stats required by a custom item stack.
- getSeed() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the seed item used by this crop.
- getString() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets the font image string with the current offset applied.
- getTextures() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the texture paths configured for this custom item.
- getType() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the Bukkit entity type of the base entity.
- getType() - Method in class dev.lone.itemsadder.api.CustomMob
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10.
- getUrl() - Method in class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
-
Gets the resource pack URL.
- getUsages() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the remaining usages stored on this item stack.
- getWidth() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets the font image width.
H
- hasAnimation(String) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Checks if this custom entity has an animation.
- hasAnimation(String, String) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Checks if a registered custom entity has an animation.
- hasAutoGeneratedModel() - Method in class dev.lone.itemsadder.api.CustomStack
-
Checks if this custom item uses an automatically generated model.
- hasCooldown(Player, ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if a player still has cooldown for a custom item stack.
- hasCustomDurability() - Method in class dev.lone.itemsadder.api.CustomStack
-
Checks if this item stack uses ItemsAdder custom durability.
- hasKeepOnDeath(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Checks if a registered item has the keep-on-death behaviour.
- hasKeepOnDeath(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Checks if an item stack has the keep-on-death behaviour.
- hasMountBones() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Checks if this custom entity has mount bones.
- hasPassenger() - Method in class dev.lone.itemsadder.api.CustomEntity
- hasPassenger(LivingEntity) - Method in class dev.lone.itemsadder.api.CustomEntity
- hasPermission() - Method in class dev.lone.itemsadder.api.CustomStack
-
Checks if this custom item has a permission configured.
- hasUsagesAttribute() - Method in class dev.lone.itemsadder.api.CustomStack
-
Checks if this item stack has the usages NBT attribute.
I
- incrementAge() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Increases the crop age by one.
- InjectedItemModifier(String, String, ItemsAdder.Advanced.ModifierHandler) - Constructor for class dev.lone.itemsadder.api.ItemsAdder.Advanced.InjectedItemModifier
-
Creates injected item modifier metadata.
- injectItemModifier(Plugin, ItemsAdder.Advanced.ModifierHandler) - Static method in class dev.lone.itemsadder.api.ItemsAdder.Advanced
-
Injects a modifier for every custom item.
- injectItemModifier(Plugin, String, ItemsAdder.Advanced.ModifierHandler) - Static method in class dev.lone.itemsadder.api.ItemsAdder.Advanced
-
Injects a modifier for a specific custom item.
- instance(String) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Creates a font image wrapper if the font image exists.
- internalGetUnicode() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
INTERNAL USE ONLY!
- isBlock() - Method in class dev.lone.itemsadder.api.CustomStack
-
Checks if this custom item is a custom block.
- isBlock(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if an item stack is a custom block item.
- isBlockAllEnchants() - Method in class dev.lone.itemsadder.api.CustomStack
-
Checks if this custom item blocks all enchantments.
- isCanBuild() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets whether Bukkit allows building at this location.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureBreakEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureInteractEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePlacedEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePrePlaceEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- isComplexFurniture(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if an item stack is complex furniture.
- isCustomBlock(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.byAlreadyPlaced(Block)instead. - isCustomCrop(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomCrop.byAlreadyPlaced(Block)instead. - isCustomEntity(UUID) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Checks if an entity UUID is registered as a custom entity.
- isCustomEntity(Entity) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Checks if a Bukkit entity is registered as a custom entity.
- isCustomItem(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.isInRegistry(String)instead. - isCustomItem(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.byItemStack(ItemStack)instead. - isCustomRecipe(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Checks if a recipe is registered by ItemsAdder.
- isCustomRecipe(NamespacedKey) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Checks if a recipe is registered by ItemsAdder.
- isFullyGrown() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Checks if the crop is fully grown.
- isFurniture(Entity) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomFurniture.byAlreadySpawned(Entity)instead. - isFurniture(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if an item stack is furniture.
- isFurnitureConsumable(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if an item stack is consumable furniture.
- isFurnitureSittable(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if an item stack is sittable furniture.
- isFurnitureTradeMachine(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if an item stack is a furniture trade machine.
- isInRegistry(String) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Checks if a custom block is registered.
- isInRegistry(String) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Checks if a custom entity is registered.
- isInRegistry(String) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if a custom item is registered.
- isItemsAdderPack() - Method in class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
-
Checks if the sent resource pack is an ItemsAdder pack.
- isLocked() - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
-
Checks if this mount bone is locked.
- isPlaced() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Checks if this wrapper is associated with a placed block.
- isPlaced() - Method in class dev.lone.itemsadder.api.CustomFire
-
Checks if this wrapper is associated with a placed block.
- isPlayingAnimation(String) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Checks if an animation is currently playing.
- isSeed(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomCrop
-
Checks if the item is an ItemsAdder custom seed.
- isVehicle(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if an item stack is a vehicle.
- isVisible() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Checks if this HUD is visible.
- itemName() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the Adventure item name component from this item stack.
- ItemsAdder - Class in dev.lone.itemsadder.api
-
API entry point for ItemsAdder.
- ItemsAdder() - Constructor for class dev.lone.itemsadder.api.ItemsAdder
- ItemsAdder.Advanced - Class in dev.lone.itemsadder.api
-
Advanced static API utilities.
- ItemsAdder.Advanced.InjectedItemModifier - Class in dev.lone.itemsadder.api
-
Registered item modifier metadata.
- ItemsAdder.Advanced.ModifierHandler - Interface in dev.lone.itemsadder.api
-
Functional interface used to modify injected item stacks.
- ItemsAdderFirstLoadEvent - Class in dev.lone.itemsadder.api.Events
-
Please use the
ItemsAdderLoadDataEventto know if ItemsAdder is ready. - ItemsAdderFirstLoadEvent() - Constructor for class dev.lone.itemsadder.api.Events.ItemsAdderFirstLoadEvent
-
Creates the first load event.
- ItemsAdderLoadDataEvent - Class in dev.lone.itemsadder.api.Events
-
Async event called when ItemsAdder has finished loading all its stuff.
- ItemsAdderLoadDataEvent(boolean) - Constructor for class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent
-
Deprecated.
- ItemsAdderLoadDataEvent(boolean, boolean) - Constructor for class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent
-
Creates a data load event.
- ItemsAdderLoadDataEvent.Cause - Enum Class in dev.lone.itemsadder.api.Events
-
Reason why ItemsAdder loaded data.
- ItemsAdderPackCompressedEvent - Class in dev.lone.itemsadder.api.Events
-
Async event called when ItemsAdder has finished loading all its stuff.
- ItemsAdderPackCompressedEvent() - Constructor for class dev.lone.itemsadder.api.Events.ItemsAdderPackCompressedEvent
-
Creates the pack compressed event.
M
- matchCustomItemName(ItemStack, String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- matchNamespacedID(CustomStack) - Method in class dev.lone.itemsadder.api.CustomStack
-
Checks if another custom stack has the same namespaced id.
O
- openTradeMenu(String, Player) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Opens a furniture trade machine menu for a player.
P
- place(String, Location) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Places a custom block in the world.
- place(String, Location) - Static method in class dev.lone.itemsadder.api.CustomCrop
-
Places a custom crop using the provided seed namespaced id.
- place(String, Location) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Places custom fire in the world.
- place(Location) - Method in class dev.lone.itemsadder.api.CustomBlock
-
Places this custom block in the world.
- place(Location) - Method in class dev.lone.itemsadder.api.CustomFire
-
Places this custom fire in the world.
- placeCustomBlock(Location, ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.place(String, Location)instead. - placeCustomCrop(Location, ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomCrop.place(String, Location)instead. - placeInCustomRegion(CustomBlock, Location) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Stores a custom block in region data without placing the vanilla block state.
- placeInCustomRegion(String, Location) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Stores a custom block in region data without placing the vanilla block state.
- playAnimation(String) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Plays an animation on this custom entity.
- playAnimation(String) - Method in class dev.lone.itemsadder.api.CustomPlayer
-
Plays an emote animation on this custom player.
- playAnimation(String, Runnable) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Plays an animation on this custom entity.
- playBreakEffect() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Plays the configured break particles and sound for this block.
- playBreakEffect(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Plays the configured break particles and sound for a placed custom block.
- playBreakParticles() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Plays the configured break particles for this block.
- playBreakParticles(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Plays the configured break particles for a placed custom block.
- playBreakSound() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Plays the configured break sound for this block.
- playBreakSound(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Plays the configured break sound for a placed custom block.
- playDamageEffect(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Plays the damage effect on this custom entity.
- playEmote(Player, String) - Static method in class dev.lone.itemsadder.api.CustomPlayer
-
Plays an emote on a real player.
- PlayerCustomHudWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Wrapper for a custom player HUD that can display a list of font images.
- PlayerCustomHudWrapper(PlayerHudsHolderWrapper, String) - Constructor for class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Creates a custom HUD wrapper.
- PlayerEmoteEndEvent - Class in dev.lone.itemsadder.api.Events
-
Called when a player emote stops or finishes.
- PlayerEmoteEndEvent(Player, String, PlayerEmoteEndEvent.Cause) - Constructor for class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
-
Creates a player emote end event.
- PlayerEmoteEndEvent.Cause - Enum Class in dev.lone.itemsadder.api.Events
-
Reason why a player emote ended.
- PlayerEmotePlayEvent - Class in dev.lone.itemsadder.api.Events
-
Called before a player starts playing an emote.
- PlayerEmotePlayEvent(Player, String) - Constructor for class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
-
Creates a player emote play event.
- PlayerHudsHolderWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Wrapper for the HUD holder of a player.
- PlayerHudsHolderWrapper(Player) - Constructor for class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Creates a HUD holder wrapper for a player.
- PlayerHudWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Wrapper for a player HUD.
- PlayerHudWrapper(PlayerHudsHolderWrapper, String) - Constructor for class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Creates a player HUD wrapper.
- PlayerQuantityHudWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Deprecated.this API will be replaced by a dedicated HUD float wrapper.
- PlayerQuantityHudWrapper(PlayerHudsHolderWrapper, String) - Constructor for class dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
-
Deprecated.Creates a quantity HUD wrapper.
- playPlaceSound() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Plays the configured place sound for this block.
- playPlaceSound(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Plays the configured place sound for a placed custom block.
- playTotemAnimation(Player, String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Play totem animation.
R
- recalculateOffsets() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Recalculates HUD offsets for this player.
- reduceUsages(int) - Method in class dev.lone.itemsadder.api.CustomStack
-
Reduces the remaining usages stored on this item stack.
- remove() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Removes this custom block from the world.
- remove() - Method in class dev.lone.itemsadder.api.CustomFire
-
Removes this custom fire from the world.
- remove(boolean) - Method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Removes this complex furniture from the world.
- remove(boolean) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Removes this furniture from the world.
- remove(Entity, boolean) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Removes a furniture entity from the world.
- remove(LivingEntity, boolean) - Static method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Removes a complex furniture entity from the world.
- remove(Location) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Removes a custom block from the world and from ItemsAdder region data.
- remove(Location) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Removes custom fire at the provided location.
- removeCustomBlock(Location) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomBlock.remove(Location)instead. - removeFontImageByIndex(int) - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Removes a font image by index.
- removeFromCustomRegion(Location) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Removes custom block region data at a location.
- removePassenger() - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
-
Removes the passenger currently mounted on this bone.
- removePassenger(LivingEntity) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Removes a passenger from any custom entity mount.
- removeViewer(Player) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Removes a viewer from this custom entity.
- replaceFontImages(String) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Replaces font image placeholders in a string.
- replaceFontImages(Component) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Replaces font image placeholders in an Adventure component.
- replaceFontImages(Permissible, String) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Replaces font image placeholders in a string using player permissions.
- replaceFontImages(Permissible, Component) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Replaces font image placeholders in an Adventure component using player permissions.
- replaceFurniture(String) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Replaces this furniture with another furniture item.
- replaceFurniture(String, Color) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Replaces this furniture with another furniture item and applies a color.
- requiresStats(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Checks if a custom item stack requires player stats.
- ResourcePackSendEvent - Class in dev.lone.itemsadder.api.Events
-
Event triggered when the server sends a resourcepack to the client.
- ResourcePackSendEvent(Player, String, String, boolean) - Constructor for class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
-
Creates a resource pack send event.
- respawn(Player) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Forces this custom entity bones to respawn for a player.
- runActionOnBlocks(Chunk, BiConsumer) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Runs an action for each custom block stored in a chunk.
S
- sendUpdate() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Sends a HUD action bar update to this player.
- setAge(int) - Method in class dev.lone.itemsadder.api.CustomCrop
-
Sets the crop age.
- setAge(int) - Method in class dev.lone.itemsadder.api.CustomFire
-
Sets the age of this placed custom fire.
- setAge(Block, int) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Sets the age of a fire block.
- setAttributeModifier(String, String, double) - Method in class dev.lone.itemsadder.api.CustomStack
-
Complete list here: https://minecraft.gamepedia.com/Attribute#Attributes The slot can be mainhand, offhand, head, chest, legs or feet.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureBreakEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.ComplexFurnitureInteractEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePlacedEvent
-
Warning: You should probably not use this event `FurniturePlacedEvent`.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.ComplexFurniturePrePlaceEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
-
Warning: You should probably not use this event `FurniturePlacedEvent`.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- setCanControl(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
-
Sets whether the passenger can control this mount.
- setColor(int) - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Sets the current color of this bone.
- setColor(TextColor) - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Sets the font image color.
- setColor(ChatColor) - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Sets the font image color from a Bukkit chat color.
- setColor(Color) - Method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Applies a color to all bones of the complex furniture renderer.
- setColor(Color) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Sets the displayed item color when the furniture item supports it.
- setColorAllBones(int) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Sets the color of all rendered bones.
- setCurrentLightLevel(int) - Method in class dev.lone.itemsadder.api.CustomBlock
-
Sets the current light level emitted by this custom block.
- setCurrentLightLevel(int) - Method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Sets the current light level emitted by this complex furniture.
- setCurrentLightLevel(int) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Sets the current light level emitted by this furniture.
- setCustomItemDurability(ItemStack, int) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.setDurability(int)instead. - setCustomItemMaxDurability(ItemStack, int) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.use
CustomStack.setMaxDurability(int)instead. - setDisplayName(String) - Method in class dev.lone.itemsadder.api.CustomStack
-
Deprecated.use Adventure item name APIs when possible.
- setDurability(int) - Method in class dev.lone.itemsadder.api.CustomStack
-
Sets the current custom durability value.
- setEnchanted(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Sets whether this bone is rendered with enchanted glint.
- setEnchantedAllBones(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Sets the enchanted glint state of all rendered bones.
- setFloatValue(float) - Method in class dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
-
Deprecated.Sets the current float value of this HUD.
- setFontImages(List) - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Replaces all font images displayed by this HUD.
- setFrustumCulling(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Sets whether this custom entity uses frustum culling.
- setFullyGrown() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Sets this crop to its maximum age.
- setLiquid(String, Location) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.custom liquid APIs are deprecated.
- setLocked(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
-
Sets whether this mount bone is locked.
- setMaxDurability(int) - Method in class dev.lone.itemsadder.api.CustomStack
-
Sets the maximum custom durability value.
- setMessage(String) - Method in class dev.lone.itemsadder.api.Events.ItemsAdderFirstLoadEvent
-
Sets the optional event message.
- setOffset(int) - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Sets the pixel offset applied to this font image.
- setOffsetX(int) - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Sets the current X offset.
- setPassenger(LivingEntity) - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
-
Sets or replaces the passenger of the mount bone
- setPlayerInventoryTexture(Player, FontImageWrapper) - Static method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Changes the texture of the inventory currently open for a player.
- setPlayerInventoryTexture(Player, FontImageWrapper, int) - Static method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Changes the texture of the inventory currently open for a player.
- setPlayerInventoryTexture(Player, FontImageWrapper, String) - Static method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Changes the texture of the inventory currently open for a player.
- setPlayerInventoryTexture(Player, FontImageWrapper, String, int, int) - Static method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Changes the texture of the inventory currently open for a player.
- setUsages(int) - Method in class dev.lone.itemsadder.api.CustomStack
-
Sets the remaining usages stored on this item stack.
- setVisible(boolean) - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Sets whether this HUD is visible.
- showInventory(Player) - Method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Opens this textured inventory for a player.
- spawn(String, Block) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Spawns furniture at a block location.
- spawn(String, Location) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a custom entity at a location.
- spawn(String, Location) - Static method in class dev.lone.itemsadder.api.CustomMob
-
Deprecated.custom mobs were removed in ItemsAdder 4.0.10.
- spawn(String, Location) - Static method in class dev.lone.itemsadder.api.CustomPlayer
-
Spawns a custom player entity
- spawn(String, Location, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a custom entity at a location.
- spawn(String, Location, boolean, boolean, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a custom entity with advanced base entity options.
- spawn(String, Location, List, boolean, boolean, boolean, Consumer) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a custom entity visible to specific viewers with advanced base entity options.
- spawn(String, Location, List, boolean, Consumer) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a custom entity visible to specific viewers.
- spawn(String, Location, BlockFace, boolean) - Static method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Spawns complex furniture in the world.
- spawnPreciseNonSolid(String, Location) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Spawns non-solid furniture at an exact location.
- stopAnimation() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Stops the current animation.
- stopAnimation() - Method in class dev.lone.itemsadder.api.CustomPlayer
-
Stops the current animation on this custom player.
- stopEmote(Player) - Static method in class dev.lone.itemsadder.api.CustomPlayer
-
Stops the current emote played by a real player.
T
- teleport(Entity) - Method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Teleports this complex furniture to another entity location.
- teleport(Entity) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Teleports this furniture to another entity location.
- teleport(Location) - Method in class dev.lone.itemsadder.api.CustomComplexFurniture
-
Teleports this complex furniture to a location.
- teleport(Location) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Teleports this custom entity.
- teleport(Location) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Teleports this furniture to a location.
- TexturedInventoryWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Helper for creating inventories with font-image based textures in the title.
- TexturedInventoryWrapper(InventoryHolder, int, int, FontImageWrapper...) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Creates a textured inventory with one or more textures and no title text.
- TexturedInventoryWrapper(InventoryHolder, int, FontImageWrapper, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Creates a textured inventory with a single texture and no title text.
- TexturedInventoryWrapper(InventoryHolder, int, String, int, int, FontImageWrapper...) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Creates a textured inventory with one or more textures.
- TexturedInventoryWrapper(InventoryHolder, int, String, FontImageWrapper) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.use constructors that explicitly accept title and texture offsets.
- TexturedInventoryWrapper(InventoryHolder, int, String, FontImageWrapper, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.use constructors that explicitly accept title and texture offsets.
- TexturedInventoryWrapper(InventoryHolder, int, String, FontImageWrapper, int, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Creates a textured inventory with a single texture.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, int, FontImageWrapper...) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Creates a typed textured inventory with one or more textures and no title text.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, String, int, int, FontImageWrapper...) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Creates a textured inventory of a Bukkit inventory type with one or more textures.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, String, FontImageWrapper) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.use constructors that explicitly accept title and texture offsets.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, String, FontImageWrapper, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.use constructors that explicitly accept title and texture offsets.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, String, FontImageWrapper, int, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Creates a textured inventory with a single texture.
U
- updateAttackDamageLore(String) - Method in class dev.lone.itemsadder.api.CustomStack
-
Use this if you change attack damage of the item (via enchant or attribute modifier)
- updateAttackSpeedLore(String) - Method in class dev.lone.itemsadder.api.CustomStack
-
Use this if you change attack speed of the item
V
- valueOf(String) - Static method in enum class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent.Cause
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent.Cause
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent.Cause
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent.Cause
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages
FontImageWrapper.setOffset(int)andFontImageWrapper.getString()instead.