Index
All Classes and Interfaces|All Packages
A
- addBlockToInventory(Player, ItemStack, int) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Add ItemStack to:
- CubeGenerator Inventory. - addBlockToInventory(ItemStack, int) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Add ItemStack to:
- CubeGenerator Inventory.
B
- BreakEvent - Class in io.eliotesta98.CubeGenerator.Events.ApiEvents
-
This Event is invoked when a player break a block of a generator
- BreakEvent(Player, Block, ItemStack) - Constructor for class io.eliotesta98.CubeGenerator.Events.ApiEvents.BreakEvent
-
Constructor
C
- CubeGeneratorAPI - Class in io.eliotesta98.CubeGenerator.api
-
CubeGenerator API.
- CubeGeneratorAPI() - Constructor for class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
D
- DisbandEvent - Class in io.eliotesta98.CubeGenerator.Events.ApiEvents
-
This Event is invoked when a player disband a generator
- DisbandEvent(Player, String, int) - Constructor for class io.eliotesta98.CubeGenerator.Events.ApiEvents.DisbandEvent
-
Constructor
- doBlockBreak(Block, ItemStack, String) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Returns true if the event is completed successfully, false if something goes wrong.
G
- getBlockBreaked() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.BreakEvent
-
Returns the block broken by player.
- getBreakableLocationsByGenerator(int) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Returns ArrayList<Location> of all the blocks that can be broken of the provided CubeGenerator.
- getBreaker() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.BreakEvent
-
Returns the player who break a block of the Cube.
- getCompatibility() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Return the compatibility used for sale.
Possible values: Default or ShopGuiPlus. - getConvertedBlock(ItemStack, int, ItemStack) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Returns the custom drop of the provided block or NULL if the generatorId is invalid.
- getCoordinatesFromId(int) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Deprecated.
- getDisbander() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.DisbandEvent
-
Returns the player who disband the Cube.
- getFrameBlockAtLocation(Location) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Check if the provided block location is a Frame of the CubeGenerator.
- getFrameLocations() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Returns the locations of generator frame.
- getGeneratorId() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.DisbandEvent
-
Returns the id of generator
- getGeneratorId() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Returns the id of future generator placed
- getGeneratorIdFromLocation(Location) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Returns the ID of the CubeGenerator from the location of the block or -1 if not found.
- getGeneratorOwnerFromId(int) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Returns the Owner nickname of the CubeGenerator from the id of the generator.
If GeneratorOwnerControl config option is disabled, it returns "controlOwnerDisabled".
If not found, it returns blank. - getHandlerList() - Static method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.BreakEvent
-
Event List
- getHandlerList() - Static method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.DisbandEvent
-
Event List
- getHandlerList() - Static method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Event List
- getHandlerList() - Static method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Event List
- getHandlers() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.BreakEvent
-
Event List
- getHandlers() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.DisbandEvent
-
Event List
- getHandlers() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Event List
- getHandlers() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Event List
- getInternalLocations() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Returns the locations breakable inside generator.
- getItemInHand() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.BreakEvent
-
Returns the item in hand of player
- getItemsToSell() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Returns the list of items used for sale.
ATTENTION! - getOwner() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.DisbandEvent
-
Returns the owner of generator
- getPlacer() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Returns the player who place the Cube.
- getPrice() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Return the final price of sale calculated.
- getReason() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Return the reason of sale.
Possible reasons: Button Sell or AutoSell. - getSeller() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Returns the player who made the sale.
I
- io.eliotesta98.CubeGenerator.api - package io.eliotesta98.CubeGenerator.api
- io.eliotesta98.CubeGenerator.Events.ApiEvents - package io.eliotesta98.CubeGenerator.Events.ApiEvents
- isAGenerator(String, int) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Deprecated.use
CubeGeneratorAPI.isGeneratorOwner(String, int)instead. - isAGeneratorBlock(Block) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Returns if the block is a Generator Block type
- isCancelled() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.BreakEvent
-
Cancelled event control
- isCancelled() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.DisbandEvent
-
Cancelled event control
- isCancelled() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Cancelled event control
- isCancelled() - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Cancelled event control
- isGeneratorOwner(String, int) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Check if the provided nickname is the owner of the provided generatorId.
P
- PlaceEvent - Class in io.eliotesta98.CubeGenerator.Events.ApiEvents
-
This Event is invoked when a player place a generator
- PlaceEvent(Player, ArrayList<Location>, ArrayList<Location>, int) - Constructor for class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Constructor
- price(int, double) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Return the sell price of a specific CubeGenerator with id and a multiplier.
S
- SellEvent - Class in io.eliotesta98.CubeGenerator.Events.ApiEvents
-
This Event is invoked when a generator sell the items in interface
- SellEvent(String, String, Player, double, ArrayList<ItemStack>) - Constructor for class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Constructor
- setCancelled(boolean) - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.BreakEvent
-
Set on true if you want event to be cancelled
- setCancelled(boolean) - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.DisbandEvent
-
Set on true if you want event to be cancelled
- setCancelled(boolean) - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.PlaceEvent
-
Set on true if you want event to be cancelled
- setCancelled(boolean) - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Set on true if you want event to be cancelled
- setPrice(double) - Method in class io.eliotesta98.CubeGenerator.Events.ApiEvents.SellEvent
-
Set the total price you want use for sale.
- setRandomGeneratorBlock(int, Location) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Change the provided location to a random block of the CubeGenerator.
- setRandomGeneratorBlock(int, Location, boolean, long, boolean) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Deprecated.
- setRandomGeneratorBlock(int, Location, boolean, long, boolean, boolean) - Static method in class io.eliotesta98.CubeGenerator.api.CubeGeneratorAPI
-
Change the provided location to a random block of the CubeGenerator.
All Classes and Interfaces|All Packages
CubeGeneratorAPI.getBreakableLocationsByGenerator(int)instead.