Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addFontImage(FontImageWrapper) - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Add a font_image at the end of this HUD.
- addFontImageToIndex(FontImageWrapper, int) - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Adds a font_image to this HUD at a particular index.
- addPassenger(LivingEntity) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Adds a passenger to this entity to the first available mount slot
- addViewer(Player) - Method in class dev.lone.itemsadder.api.CustomEntity
- 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
-
Get a copy of the font_image String with pixel offset applied to it.
- applyPixelsOffsetToString(String, int) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Shift a text/font image back or forward.
- applyResourcepack(Player) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Applies the Resource pack set for ItemsAdder to the provided player.
- areItemsLoaded() - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
B
- Bone() - Constructor for class dev.lone.itemsadder.api.CustomEntity.Bone
- byAlreadyPlaced(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets a CustomBlock instance through the provided Bukkit Block.
- byAlreadyPlaced(Block) - Static method in class dev.lone.itemsadder.api.CustomCrop
-
Gets a CustomCrop instance through the provided block.
- byAlreadyPlaced(Block) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Gets a CustomFire instance through the provided block.
- byAlreadySpawned(Block) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Gets a CustomFurniture instance from the provided Block.
- byAlreadySpawned(Entity) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Gets a CustomEntity instance through a Bukkit Entity.
- byAlreadySpawned(Entity) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Gets a CustomFurniture instance from the provided Armor stand.
- byAlreadySpawned(Entity) - Static method in class dev.lone.itemsadder.api.CustomMob
-
Gets a CustomMob instance through a Bukkit Entity.
- byAlreadySpawned(Entity) - Static method in class dev.lone.itemsadder.api.CustomPlayer
- byItemStack(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets a CustomBlock instance through the provided Bukkit ItemStack.
- byItemStack(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomFire
- 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 interface dev.lone.itemsadder.api.ItemsAdder.Advanced.ModifierHandler
- CampfireLitEvent - Class in dev.lone.itemsadder.api.Events.campfire
- CampfireLitEvent(Campfire, Player) - Constructor for class dev.lone.itemsadder.api.Events.campfire.CampfireLitEvent
- CampfirePutItemEvent - Class in dev.lone.itemsadder.api.Events.campfire
- CampfirePutItemEvent(Campfire, ItemStack, Player) - Constructor for class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- CampfireRemoveItemEvent - Class in dev.lone.itemsadder.api.Events.campfire
- CampfireRemoveItemEvent(Campfire, ItemStack, Player) - Constructor for class dev.lone.itemsadder.api.Events.campfire.CampfireRemoveItemEvent
- CampfireUnlitEvent - Class in dev.lone.itemsadder.api.Events.campfire
- CampfireUnlitEvent(Campfire, Player) - Constructor for class dev.lone.itemsadder.api.Events.campfire.CampfireUnlitEvent
- canControl() - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
- clearFontImagesAndRefresh() - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Removes all the font_imaged from this HUD and sends the change to the client.
- convert(String, LivingEntity) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- convert(String, LivingEntity, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- convert(String, LivingEntity, boolean, boolean, boolean, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- convert(String, LivingEntity, List<Player>, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- CustomBlock - Class in dev.lone.itemsadder.api
-
Class representing a custom block in ItemsAdder.
- CustomBlock() - Constructor for class dev.lone.itemsadder.api.CustomBlock
- CustomBlock.Advanced - Class in dev.lone.itemsadder.api
-
This class contains advanced static methods to perform various uncommon tasks, for example read/write directly into the ItemsAdder CustomBlocks region files.
- CustomBlockBreakEvent - Class in dev.lone.itemsadder.api.Events
-
Event called when a custom block is broken.
- CustomBlockBreakEvent(Player, Block, Object) - Constructor for class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
- CustomBlockInteractEvent - Class in dev.lone.itemsadder.api.Events
-
Event called when a player interacts with a custom block.
- CustomBlockInteractEvent(Player, Action, ItemStack, Block, BlockFace, EquipmentSlot, Object) - Constructor for class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
- CustomBlockPlaceEvent - Class in dev.lone.itemsadder.api.Events
-
Event called when a custom block is placed by a player.
- CustomBlockPlaceEvent(BlockPlaceEvent, Object) - Constructor for class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
- CustomCrop - Class in dev.lone.itemsadder.api
-
Class representing a custom crop in ItemsAdder.
- CustomCrop() - Constructor for class dev.lone.itemsadder.api.CustomCrop
- CustomEntity - Class in dev.lone.itemsadder.api
-
Class representing a custom entity in ItemsAdder
- CustomEntity() - Constructor for class dev.lone.itemsadder.api.CustomEntity
- CustomEntity.Bone - Class in dev.lone.itemsadder.api
- CustomEntity.MountBone - Class in dev.lone.itemsadder.api
- CustomEntityDeathEvent - Class in dev.lone.itemsadder.api.Events
-
Event called when a custom entity is killed.
- CustomEntityDeathEvent(Entity, Object) - Constructor for class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
- CustomFire - Class in dev.lone.itemsadder.api
- CustomFire() - Constructor for class dev.lone.itemsadder.api.CustomFire
- CustomFurniture - Class in dev.lone.itemsadder.api
-
Class representing a CustomFurniture of ItemsAdder.
- CustomFurniture() - Constructor for class dev.lone.itemsadder.api.CustomFurniture
- CustomMob - Class in dev.lone.itemsadder.api
-
Class representing a custom mob in ItemsAdder
- CustomMob() - Constructor for class dev.lone.itemsadder.api.CustomMob
- CustomPlayer - Class in dev.lone.itemsadder.api
- CustomPlayer() - Constructor for class dev.lone.itemsadder.api.CustomPlayer
- CustomStack - Class in dev.lone.itemsadder.api
-
Allows the creation and retrieval of cutom Item Stacks.
- CustomStack() - Constructor for class dev.lone.itemsadder.api.CustomStack
D
- deleteAllCustomBlocksInChunk(Chunk) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
- deleteAllCustomBlocksInChunk(Chunk, boolean, boolean) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
- destroy() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Completely removes this entity from the world
- dev.lone.itemsadder.api - package dev.lone.itemsadder.api
-
This package contains the API reference for ItemsAdder.
- dev.lone.itemsadder.api.Events - package dev.lone.itemsadder.api.Events
- dev.lone.itemsadder.api.Events.campfire - package dev.lone.itemsadder.api.Events.campfire
- dev.lone.itemsadder.api.FontImages - package dev.lone.itemsadder.api.FontImages
- drop(Location) - Method in class dev.lone.itemsadder.api.CustomStack
-
Tries to drop the CustomStack at the provided location.
E
- Examples - Class in dev.lone.itemsadder.api
-
Class containing examples of how to use ItemsAdder API.
- Examples() - Constructor for class dev.lone.itemsadder.api.Examples
- exists() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Checks if the font_image exists in ItemsAdder registry.
- exists() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Check if the player HUDs holder is correctly registered in ItemsAdder.
- exists() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Check if the HUD exists in the ItemsAdder files and it's valid to be used by your plugin code.
F
- FINISHED - Enum constant in enum class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent.Cause
- FIRST_LOAD - Enum constant in enum class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent.Cause
- FontImageWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Class representing ItemAdder custom images feature.
- FontImageWrapper(String) - Constructor for class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Get a wrapper for the internal font image of ItemsAdder.
- FurnitureBreakEvent - Class in dev.lone.itemsadder.api.Events
-
Event called when a player breaks a furniture item.
- FurnitureBreakEvent(Player) - Constructor for class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
-
Constructor of the event
- FurnitureInteractEvent - Class in dev.lone.itemsadder.api.Events
-
Event called when a player interacts with a furniture item.
- FurnitureInteractEvent(Player) - Constructor for class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Constructor of the event
- FurniturePlacedEvent - Class in dev.lone.itemsadder.api.Events
-
Called after placing the furniture.
- FurniturePlacedEvent(Player) - Constructor for class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
-
Constructs a new FurnitureEvent.
- FurniturePlaceEvent - Class in dev.lone.itemsadder.api.Events
-
Deprecated.
- FurniturePlaceEvent(Player) - Constructor for class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.Constructor of the event
- FurniturePlaceSuccessEvent - Class in dev.lone.itemsadder.api.Events
-
Deprecated.
- FurniturePlaceSuccessEvent(Player) - Constructor for class dev.lone.itemsadder.api.Events.FurniturePlaceSuccessEvent
-
Deprecated.
- FurniturePrePlaceEvent - Class in dev.lone.itemsadder.api.Events
-
Called before placing, to avoid useless processing.
- FurniturePrePlaceEvent(Player) - Constructor for class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
G
- generateBlockData() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Deprecated.
- getAction() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Returns the action type
- getAge() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the current age of this CustomCrop.
- getAge() - Method in class dev.lone.itemsadder.api.CustomFire
- getAge(Block) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Gets the current age of this CustomFire.
- getAllBlocksLocations(Chunk) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
- getAllBlocksLocationsList(Chunk) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
- 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
-
Get all custom entity model animations for this custom entity
- getAnimationsNames(String) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Get all custom entity model animations registered by its name
- 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 BlockData for this CustomBlock.
- getBaseBlockData(String) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the base BlockData for this CustomBlock.
- getBlock() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Gets the Bukkit Block associated with this CustomBlock.
- getBlock() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
-
Gets the Bukkit Block associated with this CustomBlock.
- getBlock() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the Bukkit Block associated with this CustomBlock.
- getBlockClicked() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Return the block clicked
- getBlockDataByInternalId(int) - Static method in class dev.lone.itemsadder.api.ItemsAdder.Advanced
-
Deprecated.
- getBlockFace() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Get the face on the clicked block
- getBone(int) - Method in class dev.lone.itemsadder.api.CustomEntity
- 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 associated with this event.
- getCampfire() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireLitEvent
- getCampfire() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- getCampfire() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireRemoveItemEvent
- getCampfire() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireUnlitEvent
- getCause() - Method in class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent
-
Cause of this load event.
- getCause() - Method in class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
- getColor() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Get color of this bone.
- getColor() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Get the text color of this wrapper.
- getConfig() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets a
FileConfiguration
instance for this CustomStack. - getConfigPath() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the path towards the configuration file of this CustomStack.
- getCustomBlock(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomBlockBlockData(ItemStack, boolean) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomBlockByFaces(Material, HashMap<BlockFace, Boolean>) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomBlockItem() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
-
Get a clone of the ItemStack of the custom block broken.
- getCustomBlockItem() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Get a clone of the ItemStack of the custom block broken.
- getCustomBlockItem() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Get a clone of the ItemStack of the custom block broken.
- getCustomBlockLoot(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomBlockLoot(Block, boolean) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomBlockLoot(Block, ItemStack, boolean) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomItem(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomItemDurability(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomItemMaxDurability(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomItemName(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomItemUsages(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getCustomSeedNameFromCrop(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getDamageMainhand() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the damage value of the main hand for this CustomStack.
- getDisplayName() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the displayed name of this CustomStack.
- getDurability() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the current amount of durability of this CustomStack.
- getEmoteName() - Method in class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
- getEmoteName() - Method in class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- getEnchanted() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Get if that bone has the enchant effect.
- getEntity() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the Bukkit Entity associated with this CustomEntity.
- getEntity() - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Gets the Armor stand associated with this CustomFurniture.
- getEntity() - Method in class dev.lone.itemsadder.api.CustomMob
-
Gets the Bukkit Entity associated with this CustomMob.
- getEntity() - Method in class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
-
Gets the Bukkit Entity associated with this CustomMob.
- getFloatValue() - Method in class dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
-
Get the float value of this HUD.
- getFontImagesCount() - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Get total amount of font images in this HUD.
- getFrustumCulling() - Method in class dev.lone.itemsadder.api.CustomEntity
- getFurniture() - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
-
Gets the custom furniture associated with this event.
- getHand() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the hand which placed the block
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.campfire.CampfireRemoveItemEvent
- 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
-
Static utility method to get the handler list of this event.
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Static utility method to get the handler list of this event.
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.Static utility method to get the handler list of this event.
- 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
-
Deprecated.
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent
- getHandlerList() - Static method in class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireLitEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireRemoveItemEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireUnlitEvent
- 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
-
Gets the handler list of this event.
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Gets the handler list of this event.
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
- getHandlers() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.Gets the handler list of this event.
- 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
-
Deprecated.
- 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
-
Get hash of the sent resourcepack.
- getHeight() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Get height of the font_image character.
- 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 CustomEntity.
- getId() - Method in class dev.lone.itemsadder.api.CustomMob
-
Gets the ID of this CustomMob.
- getId() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the id used for this CustomStack instance.
- getInCustomRegion(Location) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Gets the Namespace and ID in the format
namespace:id
of the placed CustomBlock in a specific location. - getInitialOffsetX() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Obtain the original X offset of this player hud, useful in case you edited it using the API.
- getInstance(String) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Gets a CustomBlock instance through the provided namespace and ID.
- getInstance(String) - Static method in class dev.lone.itemsadder.api.CustomFire
- 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.FontImageWrapper
-
Gets the internal ItemsAdder object.
- getInternal() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Gets the internal ItemsAdder object.
- getInternal() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Gets the internal ItemsAdder object.
- getInternal() - Method in class dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
-
Gets the internal ItemsAdder object.
- getInternal() - Method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.
- getItem() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- getItem() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireRemoveItemEvent
- getItem() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Returns the item in hand represented by this event
- getItemInHand() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Get the item in player hand which triggered this event.
- getItemModelResourceLocation(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder.Advanced
-
Returns the model path of the specified item in the Minecraft ResourceLocation format
namespace:path
- getItemStack() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the Bukkit ItemStack associated with this CustomStack instance.
- getKiller() - Method in class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
-
Gets the Bukkit Entity which killed the CustomMob.
- getLiquidName(Location) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
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
- getLocation() - Method in class dev.lone.itemsadder.api.CustomFire
- getLocation() - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
-
Gets the location where the entity would be placed.
- getLoot() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Returns a list of ItemStack instances to drop as loot for this CustomBlock.
- getLoot() - Method in class dev.lone.itemsadder.api.CustomCrop
- getLoot() - Method in class dev.lone.itemsadder.api.CustomEntity
- getLoot(boolean) - Method in class dev.lone.itemsadder.api.CustomBlock
-
Returns a list of ItemStack instances to drop as loot for this CustomBlock.
- getLoot(ItemStack) - Method in class dev.lone.itemsadder.api.CustomCrop
- getLoot(ItemStack) - Method in class dev.lone.itemsadder.api.CustomEntity
- getLoot(ItemStack, boolean) - Method in class dev.lone.itemsadder.api.CustomBlock
-
Returns a list of ItemStack instances to drop as loot for this CustomBlock.
- getLoot(Block) - Static method in class dev.lone.itemsadder.api.CustomCrop
- getLoot(Block, ItemStack) - Static method in class dev.lone.itemsadder.api.CustomCrop
- getLoot(Block, ItemStack, boolean) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Returns a list of ItemStack instances to drop as loot for this CustomBlock.
- getLoot(LivingEntity, ItemStack) - Static method in class dev.lone.itemsadder.api.CustomEntity
- getMaxAge() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Gets the maximum age of this CustomCrop.
- getMaxDurability() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the maximum custom durability of this CustomStack.
- getMessage() - Method in class dev.lone.itemsadder.api.Events.ItemsAdderFirstLoadEvent
-
Deprecated.
- getModelPath() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the path towards the model used for this CustomStack.
- getMountBoneByPassenger(LivingEntity) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the
CustomEntity.MountBone
currently 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
-
Gets the name of this CustomMob.
- getNamespace() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the Namespace for this CustomEntity.
- getNamespace() - Method in class dev.lone.itemsadder.api.CustomMob
-
Gets the Namespace for this CustomMob.
- getNamespace() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the namespace used for this CustomStack instance.
- getNamespacedBlocksNamesInConfig() - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getNamespacedBlocksNamesInConfig(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the Namespace and ID in the format
namespace:id
for this CustomEntity. - getNamespacedID() - Method in class dev.lone.itemsadder.api.CustomMob
-
Gets the Namespace and ID in the format
namespace:id
for this CustomMob. - getNamespacedID() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the namespace and id of this CustomStack instance in the format
namespace:id
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
-
Gets the Namespace and ID in the format
namespace:id
for this CustomBlock. - getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the Namespace and ID in the format
namespace:id
for this CustomBlock. - getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the Namespace and ID in the format
namespace:id
for this CustomBlock. - getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.CustomEntityDeathEvent
-
Gets the Namespace and ID in the format
namespace:id
for this CustomMob. - getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
-
Gets the namespaced ID of the custom furniture.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.Gets the namespaced ID of the item that the player is trying to place.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
-
Gets the namespaced ID of the item that the player is trying to place.
- getNamespacedID() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Gets the Namespace and ID in the format
namespace:id
for this font_image. - getNamespacedID() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Gets the Namespace and ID in the format
namespace:id
for this HUD. - getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Returns a list of all the registered blocks identifiers in the format
namespace:id
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Returns a list of all the registered entities identifiers in the format
namespace:id
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Returns a list of all the registered furniture identifiers in the format
namespace:id
- getNamespacedIdsInRegistry() - Static method in class dev.lone.itemsadder.api.CustomStack
-
Returns a list of all the registered items identifiers in the format
namespace:id
- getOffsetX() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Obtain the current X offset of this player HUD.
- getOrdinal() - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
- getOriginalLightLevel() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Returns the original light level of this CustomBlock.
- getOriginalLightLevel() - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Returns the original light level of this CustomFurniture.
- getPackUrl(boolean) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Retrieve the resourcepack direct download URL.
- getPassenger() - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
- getPassengers() - Method in class dev.lone.itemsadder.api.CustomEntity
- getPermission() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the permission associated with this CustomStack.
- getPlacedAgainst() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Get the block against this block was placed.
- getPlayer() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireLitEvent
- getPlayer() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- getPlayer() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireRemoveItemEvent
- getPlayer() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireUnlitEvent
- getPlayer() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Get owner of this holder.
- getPlayerName() - Method in class dev.lone.itemsadder.api.CustomPlayer
- getReplacedBlockState() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Get the blockstate which was replaced by the placement of this block.
- getSeed() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Gets a
CustomStack
instance of the Seeds associated with this CustomCrop. - getString() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Get the color + font_image unicode character +
ChatColor.RESET
. - getTextures() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets a list of Textures of this CustomStack.
- getType() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Gets the Bukkit EntityType associated with this CustomEntity.
- getType() - Method in class dev.lone.itemsadder.api.CustomMob
-
Gets the Bukkit EntityType associated with this CustomMob.
- getUrl() - Method in class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
-
Get url of the sent resourcepack.
- getUsages() - Method in class dev.lone.itemsadder.api.CustomStack
-
Gets the amount of usages for this CustomStack.
- getWidth() - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Get width of the font_image character.
H
- hasAnimation(String) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Check if this custom entity model has an animation registered
- hasAnimation(String, String) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Check if a custom entity model has an animation registered by its name
- hasAutoGeneratedModel() - Method in class dev.lone.itemsadder.api.CustomStack
-
Returns whether this CustomStack has a auto-generated model.
- hasCustomDurability() - Method in class dev.lone.itemsadder.api.CustomStack
-
Returns whether this CustomStack has a custom durability applied.
- hasKeepOnDeath(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Check if a custom item has keep_on_death behaviour enabled.
- hasKeepOnDeath(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Check if a custom item has keep_on_death behaviour enabled.
- hasMountBones() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Check if this entity has any mount bone and can be mounted by players
- 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
-
Returns whether this CustomStack instance has a permission associated with it.
- hasUsagesAttribute() - Method in class dev.lone.itemsadder.api.CustomStack
-
Returns whether this CustomStack has a usages attribute applied.
I
- incrementAge() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Increments the current age of this CustomCrop by one.
- injectItemModifier(Plugin, ItemsAdder.Advanced.ModifierHandler) - Static method in class dev.lone.itemsadder.api.ItemsAdder.Advanced
-
Inject a function which can edit ANY item registered into the ItemsAdder registry.
- injectItemModifier(Plugin, String, ItemsAdder.Advanced.ModifierHandler) - Static method in class dev.lone.itemsadder.api.ItemsAdder.Advanced
-
Inject a function which can edit a specific item registered into the ItemsAdder registry.
- isBlock() - Method in class dev.lone.itemsadder.api.CustomStack
-
Returns if this CustomStack is actually a Block.
- isBlockAllEnchants() - Method in class dev.lone.itemsadder.api.CustomStack
-
Returns if this CustomStack blocks all enchantings.
- isCanBuild() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the value whether the player would be allowed to build here.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireLitEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireRemoveItemEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireUnlitEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
-
Gets the cancellation state of this event.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Gets the cancellation state of this event.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Gets the cancellation state of this event.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
-
Gets the cancellation state of this event.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Gets the cancellation state of this event.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurniturePlacedEvent
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurniturePlaceEvent
-
Deprecated.Gets the cancellation state of this event.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
-
Gets the cancellation state of this event.
- isCancelled() - Method in class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- isCustomBlock(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- isCustomCrop(Block) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- isCustomEntity(UUID) - Static method in class dev.lone.itemsadder.api.CustomEntity
- isCustomEntity(Entity) - Static method in class dev.lone.itemsadder.api.CustomEntity
- isCustomItem(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- isCustomItem(ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- isCustomRecipe(String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Check if a custom recipe is registered by ItemsAdder.
- isCustomRecipe(NamespacedKey) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Check if a custom recipe is registered by ItemsAdder.
- isFullyGrown() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Returns whether this CustomCrop is fully grown or not.
- isFurniture(Entity) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- isInRegistry(String) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Returns true if the registry contains a block with the specified namespaced id in the format
namespace:id
- isInRegistry(String) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Returns true if the registry contains an entity with the specified namespaced id in the format
namespace:id
- isInRegistry(String) - Static method in class dev.lone.itemsadder.api.CustomStack
-
Returns true if the registry contains an item with the specified namespaced id in the format
namespace:id
- isItemsAdderPack() - Method in class dev.lone.itemsadder.api.Events.ResourcePackSendEvent
-
Get if it's the ItemsAdder resourcepack or another plugin tried to set its own resourcepack.
- isLocked() - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
- isPlaced() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Returns whether this CustomBlock is placed in the world.
- isPlaced() - Method in class dev.lone.itemsadder.api.CustomFire
- isPlayingAnimation(String) - Method in class dev.lone.itemsadder.api.CustomEntity
- isSeed(ItemStack) - Static method in class dev.lone.itemsadder.api.CustomCrop
- isVisible() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Check if the HUD is currently visible.
- ItemsAdder - Class in dev.lone.itemsadder.api
- ItemsAdder() - Constructor for class dev.lone.itemsadder.api.ItemsAdder
- ItemsAdder.Advanced - Class in dev.lone.itemsadder.api
-
Advanced stuff, better not touch it.
- ItemsAdder.Advanced.ModifierHandler - Interface in dev.lone.itemsadder.api
- ItemsAdderFirstLoadEvent - Class in dev.lone.itemsadder.api.Events
-
Deprecated.
- ItemsAdderFirstLoadEvent() - Constructor for class dev.lone.itemsadder.api.Events.ItemsAdderFirstLoadEvent
-
Deprecated.
- 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
- ItemsAdderLoadDataEvent.Cause - Enum Class in dev.lone.itemsadder.api.Events
-
Reason why
ItemsAdderLoadDataEvent
event was called - ItemsAdderPackCompressedEvent - Class in dev.lone.itemsadder.api.Events
-
Event called when ItemsAdder has finished compressing the resourcepack.
- ItemsAdderPackCompressedEvent() - Constructor for class dev.lone.itemsadder.api.Events.ItemsAdderPackCompressedEvent
M
- matchCustomItemName(ItemStack, String) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- matchNamespacedID(CustomStack) - Method in class dev.lone.itemsadder.api.CustomStack
-
Returns whether the namespace and id of the provided CustomStack match the one of this CustomStack.
- MountBone() - Constructor for class dev.lone.itemsadder.api.CustomEntity.MountBone
N
- NotActuallyItemsAdderException - Exception in dev.lone.itemsadder.api
-
The
NotActuallyItemsAdderException
is thrown whenever someone seems to invoke an API method without actually having ItemsAdder installed. - NotActuallyItemsAdderException() - Constructor for exception dev.lone.itemsadder.api.NotActuallyItemsAdderException
-
This creates a new
NotActuallyItemsAdderException
.
P
- place(String, Location) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Places a CustomBlock provided through the namespace and ID at the provided location and returns the CustomBlock instance for it.
- place(String, Location) - Static method in class dev.lone.itemsadder.api.CustomCrop
-
Places a CustomCrop at the provided location and return the CustomCrop instance for it.
- place(String, Location) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Places a CustomFire at the provided location and return the CustomFire instance for it.
- place(Location) - Method in class dev.lone.itemsadder.api.CustomBlock
-
Places a CustomBlock through the provided location and returns a CustomBlock instance for it.
- place(Location) - Method in class dev.lone.itemsadder.api.CustomFire
- placeCustomBlock(Location, ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- placeCustomCrop(Location, ItemStack) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- placeInCustomRegion(CustomBlock, Location) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Saves a block into the ItemsAdder custom region file.
- placeInCustomRegion(String, Location) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Saves a block into the ItemsAdder custom region file.
- playAnimation(String) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Plays an animation
- playAnimation(String) - Method in class dev.lone.itemsadder.api.CustomPlayer
- playAnimation(String, Runnable) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Plays an animation and executes an action after it's finished
- playBreakEffect() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Play the block break particles and sound for this custom block.
- playBreakEffect(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Play the block break particles and sound for this custom block.
- playBreakParticles() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Play the block break particles for this custom block.
- playBreakParticles(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Play the block break particles for this custom block.
- playBreakSound() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Play the block break sound for this custom block.
- playBreakSound(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Play the block break sound for this custom block.
- playDamageEffect(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Plays red color animation and sets entity on fire if needed
- playEmote(Player, String) - Static method in class dev.lone.itemsadder.api.CustomPlayer
- PlayerCustomHudWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Class representing a container for the custom HUD of a particular player.
- PlayerCustomHudWrapper(PlayerHudsHolderWrapper, String) - Constructor for class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Object representing a container for the custom HUD of a particular player.
- PlayerEmoteEndEvent - Class in dev.lone.itemsadder.api.Events
- PlayerEmoteEndEvent(Player) - Constructor for class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent
- PlayerEmoteEndEvent.Cause - Enum Class in dev.lone.itemsadder.api.Events
- PlayerEmotePlayEvent - Class in dev.lone.itemsadder.api.Events
- PlayerEmotePlayEvent(Player, String) - Constructor for class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- PlayerHudsHolderWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Class representing a container which holds all HUDs of a player.
- PlayerHudsHolderWrapper(Player) - Constructor for class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
- PlayerHudWrapper - Class in dev.lone.itemsadder.api.FontImages
- PlayerHudWrapper(PlayerHudsHolderWrapper, String) - Constructor for class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
- PlayerQuantityHudWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Class representing a HUD which accepts float values and its textures are handled by ItemsAdder.
- PlayerQuantityHudWrapper(PlayerHudsHolderWrapper, String) - Constructor for class dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
- playPlaceSound() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Play the block place particles for this custom block.
- playPlaceSound(Block) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Play the block place particles for this 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
-
Force the recalculation the offsets if you have shown a new HUD, added/removed new font images to a
PlayerCustomHudWrapper
HUD. - reduceUsages(int) - Method in class dev.lone.itemsadder.api.CustomStack
-
Reduces the amount of usages from this CustomStack by the provided interger.
- RELOAD - Enum constant in enum class dev.lone.itemsadder.api.Events.ItemsAdderLoadDataEvent.Cause
- remove() - Method in class dev.lone.itemsadder.api.CustomBlock
-
Returns whether removing this CustomBlock was successful or not.
- remove() - Method in class dev.lone.itemsadder.api.CustomFire
- remove(boolean) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Removes this CustomFurniture and the Armor stand associated with it from the world.
- remove(Entity, boolean) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Removes this CustomFurniture and the Armor stand associated with it from the world.
- remove(Location) - Static method in class dev.lone.itemsadder.api.CustomBlock
-
Returns whether removing the CustomBlock at the provided location was successful or not.
- remove(Location) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Returns whether removing the CustomFire at the provided location was successful or not.
- removeCustomBlock(Location) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- removeFontImageByIndex(int) - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Remove a font_image from this HUD at a particular index.
- removeFromCustomRegion(Location) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
-
Remove a CustomBlock from the custom region file.
- removePassenger() - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
- removePassenger(LivingEntity) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Ejects this player only if it's on a custom entity.
- removeViewer(Player) - Method in class dev.lone.itemsadder.api.CustomEntity
- replaceFontImages(String) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Static utility method to replace all the font images placeholders in a String.
- replaceFontImages(Component) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Static utility method to replace all the font images placeholders in a Component.
- replaceFontImages(Permissible, String) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Static utility method to replace all the font images placeholders in a String.
- replaceFontImages(Permissible, Component) - Static method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Static utility method to replace all the font images placeholders in a Component.
- replaceFurniture(String) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Replace the model of this furniture with the model of another furniture.
- replaceFurniture(String, Color) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Replace the model of this furniture with the model of another furniture.
- 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
- respawn(Player) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Sends respawn packets to the specified player
- runActionOnBlocks(Chunk, BiConsumer<String, Location>) - Static method in class dev.lone.itemsadder.api.CustomBlock.Advanced
S
- sendUpdate() - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper
-
Forces the HUDs rendering packet to be sent to the player, this is useful if you have high frequency HUDs.
- setAge(int) - Method in class dev.lone.itemsadder.api.CustomCrop
-
Sets the age of this CustomCrop to the provided one.
- setAge(int) - Method in class dev.lone.itemsadder.api.CustomFire
- setAge(Block, int) - Static method in class dev.lone.itemsadder.api.CustomFire
-
Sets the age of this CustomFire to the provided one.
- setAttributeModifier(String, String, double) - Method in class dev.lone.itemsadder.api.CustomStack
-
Sets the different attributes for this CustomStack.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireLitEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireRemoveItemEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.campfire.CampfireUnlitEvent
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.CustomBlockBreakEvent
-
Sets the cancellation state of this event.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.CustomBlockInteractEvent
-
Sets the cancellation state of this event.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.CustomBlockPlaceEvent
-
Sets the cancellation state of this event.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.FurnitureBreakEvent
-
Sets the cancellation state of this event.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.FurnitureInteractEvent
-
Sets the cancellation state of this event.
- 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.Sets the cancellation state of this event.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.FurniturePrePlaceEvent
-
Sets the cancellation state of this event.
- setCancelled(boolean) - Method in class dev.lone.itemsadder.api.Events.PlayerEmotePlayEvent
- setCanControl(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
- setColor(int) - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Changes color of this bone.
- setColor(ChatColor) - Method in class dev.lone.itemsadder.api.FontImages.FontImageWrapper
-
Set color of this wrapper.
- setColor(Color) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Replace color of this furniture.
- setColorAllBones(int) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Changes color of every bone of this custom entity.
- setCurrentLightLevel(int) - Method in class dev.lone.itemsadder.api.CustomBlock
-
Sets the current light level for this CustomBlock.
- setCurrentLightLevel(int) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Sets the current light level for this CustomFurniture.
- setCustomItemDurability(ItemStack, int) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- setCustomItemMaxDurability(ItemStack, int) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- setDisplayName(String) - Method in class dev.lone.itemsadder.api.CustomStack
-
Sets the displayed name of this CustomStack.
- setDurability(int) - Method in class dev.lone.itemsadder.api.CustomStack
-
Sets the custom durability of this CustomStack to the provided integer.
- setEnchanted(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity.Bone
-
Set enchant effect to this bone.
- setEnchantedAllBones(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Set enchant effect to every bone of this custom entity.
- setFloatValue(float) - Method in class dev.lone.itemsadder.api.FontImages.PlayerQuantityHudWrapper
-
Set the float value of this HUD.
- setFontImages(List<FontImageWrapper>) - Method in class dev.lone.itemsadder.api.FontImages.PlayerCustomHudWrapper
-
Set font images of this HUD overwriting the current ones.
- setFrustumCulling(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity
- setFullyGrown() - Method in class dev.lone.itemsadder.api.CustomCrop
-
Sets the growth-stage of this CustomCrop to fully grown.
- setItem(ItemStack) - Method in class dev.lone.itemsadder.api.Events.campfire.CampfirePutItemEvent
- setLiquid(String, Location) - Static method in class dev.lone.itemsadder.api.ItemsAdder
-
Deprecated.
- setLocked(boolean) - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
- setMaxDurability(int) - Method in class dev.lone.itemsadder.api.CustomStack
-
Sets the custom max durability of this CustomStack to the provided integer.
- setMessage(String) - Method in class dev.lone.itemsadder.api.Events.ItemsAdderFirstLoadEvent
-
Deprecated.
- setOffsetX(int) - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Edit the X offset of this player HUD.
- setPassenger(LivingEntity) - Method in class dev.lone.itemsadder.api.CustomEntity.MountBone
-
Sets or replaces the passenger of the mount bone
- setPassenger(LivingEntity, int) - Method in class dev.lone.itemsadder.api.CustomEntity
-
Sets the passenger of the specified
CustomEntity.MountBone
- setPlayerInventoryTexture(Player, FontImageWrapper) - Static method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Static utility method to change texture of an inventory at runtime.
- setPlayerInventoryTexture(Player, FontImageWrapper, int) - Static method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Static utility method to change texture of an inventory at runtime.
- setPlayerInventoryTexture(Player, FontImageWrapper, String) - Static method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Static utility method to change texture of an inventory at runtime.
- setPlayerInventoryTexture(Player, FontImageWrapper, String, int, int) - Static method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Static utility method to change texture of an inventory at runtime.
- setUsages(int) - Method in class dev.lone.itemsadder.api.CustomStack
-
Sets the amount of usages for this CustomStack to the provided integer.
- setVisible(boolean) - Method in class dev.lone.itemsadder.api.FontImages.PlayerHudWrapper
-
Show or hide the HUD.
- showInventory(Player) - Method in class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Show this custom inventory to a player.
- spawn(String, Block) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Spawns an Armor stand with the furniture of the provided namespace and ID at the provided Block location and returns a CustomFurniture instance for it.
- spawn(String, Location) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- spawn(String, Location) - Static method in class dev.lone.itemsadder.api.CustomMob
-
Spawns a CustomMob and returns the created CustomMob instance, or null if Namespace and ID are invalid.
- 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 CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- spawn(String, Location, boolean, boolean, boolean) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- spawn(String, Location, List<Player>, boolean, boolean, boolean, Consumer<LivingEntity>) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- spawn(String, Location, List<Player>, boolean, Consumer<LivingEntity>) - Static method in class dev.lone.itemsadder.api.CustomEntity
-
Spawns a CustomEntity and returns the created CustomEntity instance, or null if Namespace and ID are invalid.
- spawnPreciseNonSolid(String, Location) - Static method in class dev.lone.itemsadder.api.CustomFurniture
-
Spawns an Armor stand with the furniture of the provided namespace and ID at the provided location and returns a CustomFurniture instance for it.
- STOP - Enum constant in enum class dev.lone.itemsadder.api.Events.PlayerEmoteEndEvent.Cause
- stopAnimation() - Method in class dev.lone.itemsadder.api.CustomEntity
-
Stops the currently playing animation
- stopAnimation() - Method in class dev.lone.itemsadder.api.CustomPlayer
- stopEmote(Player) - Static method in class dev.lone.itemsadder.api.CustomPlayer
T
- teleport(Entity) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Teleports the Armor stand associated with this CustomFurniture to the target Bukkit Entity.
- teleport(Location) - Method in class dev.lone.itemsadder.api.CustomEntity
- teleport(Location) - Method in class dev.lone.itemsadder.api.CustomFurniture
-
Teleports the Armor stand associated with this CustomFurniture to the provided location.
- TexturedInventoryWrapper - Class in dev.lone.itemsadder.api.FontImages
-
Class representing a custom textured inventory.
- TexturedInventoryWrapper(InventoryHolder, int, int, FontImageWrapper...) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Create a custom textured inventory without any title shown.
- TexturedInventoryWrapper(InventoryHolder, int, String, int, int, FontImageWrapper...) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Create a custom textured inventory.
- TexturedInventoryWrapper(InventoryHolder, int, String, FontImageWrapper) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.
- TexturedInventoryWrapper(InventoryHolder, int, String, FontImageWrapper, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.
- TexturedInventoryWrapper(InventoryHolder, int, String, FontImageWrapper, int, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Create a custom textured inventory.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, int, FontImageWrapper...) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Create a custom textured inventory without any title shown.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, String, int, int, FontImageWrapper...) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Create a custom textured inventory.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, String, FontImageWrapper) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, String, FontImageWrapper, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Deprecated.
- TexturedInventoryWrapper(InventoryHolder, InventoryType, String, FontImageWrapper, int, int) - Constructor for class dev.lone.itemsadder.api.FontImages.TexturedInventoryWrapper
-
Create a custom textured inventory.
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|Serialized Form
Use
CustomBlock.getBaseBlockData()
instead.