Index
All Classes|All Packages
G
- generate(Block, DragonTemplate, Player) - Method in class wtf.choco.dragoneggdrop.dragon.loot.DragonLootTable
-
Generate item loot for this loot table and place it in a chest to be set at the given Block position.
- generate(DragonBattle, DragonTemplate, Player) - Method in class wtf.choco.dragoneggdrop.dragon.loot.DragonLootTable
-
Generate loot for the given
DragonBattle
andEnderDragon
. - generate(DragonBattle, DragonTemplate, Player, Random, Chest) - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementCommand
- generate(DragonBattle, DragonTemplate, Player, Random, Chest) - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementEgg
- generate(DragonBattle, DragonTemplate, Player, Random, Chest) - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementItem
- generate(DragonBattle, DragonTemplate, Player, Random, Chest) - Method in interface wtf.choco.dragoneggdrop.dragon.loot.elements.IDragonLootElement
-
Generate this loot element.
- get() - Static method in class wtf.choco.dragoneggdrop.utils.UpdateChecker
-
Get the initialized instance of UpdateChecker.
- get(String) - Method in class wtf.choco.dragoneggdrop.registry.HashRegistry
- get(String) - Method in interface wtf.choco.dragoneggdrop.registry.Registry
-
Get a value according to its key in this registry.
- get(String, double) - Method in class wtf.choco.dragoneggdrop.particle.ParticleVariables
-
Get a variable by its name.
- get(World) - Method in enum wtf.choco.dragoneggdrop.world.PortalCrystal
-
Get the current crystal relative to the world's portal location.
- get(T) - Method in interface wtf.choco.dragoneggdrop.utils.function.DoubleProvider
-
Applies this provider to supply a primitive double.
- getActiveTemplate() - Method in class wtf.choco.dragoneggdrop.world.EndWorldWrapper
-
Get the template represented in the active battle.
- getAll() - Static method in class wtf.choco.dragoneggdrop.world.EndWorldWrapper
-
Get an unmodifiable collection of all world wrappers.
- getAllSpawnedCrystals(World) - Static method in enum wtf.choco.dragoneggdrop.world.PortalCrystal
-
Get all crystals that have been spawned on the portal in the given world.
- getAttribute(Attribute) - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get the value to be applied for a specific attribute.
- getAttributes() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get an immutable Map of all attributes and their values according to this template.
- getBarColor() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get the colour of the boss bar.
- getBarStyle() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get the style of the boss bar.
- getChance() - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementEgg
-
Get the chance that this element will generate.
- getChance() - Method in class wtf.choco.dragoneggdrop.dragon.loot.pool.LootPoolCommand
- getChance() - Method in interface wtf.choco.dragoneggdrop.dragon.loot.pool.ILootPool
-
Get the chance that this loot pool will generate when created.
- getChestChance() - Method in class wtf.choco.dragoneggdrop.dragon.loot.DragonLootTable
-
Get the chance (0.0 - 100.0) that a chest will be generated and item loot pools will be rolled.
- getChestName() - Method in class wtf.choco.dragoneggdrop.dragon.loot.DragonLootTable
-
Get the custom name of the generated chest.
- getChestPools() - Method in class wtf.choco.dragoneggdrop.dragon.loot.DragonLootTable
-
Get an immutable list of the chest loot pools.
- getCommandPools() - Method in class wtf.choco.dragoneggdrop.dragon.loot.DragonLootTable
-
Get an immutable list of the command loot pools.
- getCurrentLocation() - Method in class wtf.choco.dragoneggdrop.particle.AnimatedParticleSession
-
Get the
Location
at which this session is currently animating. - getDamage() - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory.DamageEntry
-
Get the amount of damage caused by the entity.
- getDragon() - Method in class wtf.choco.dragoneggdrop.api.BattleStateChangeEvent
-
Get an instance of the EnderDragon involved in this event.
- getDragonBattle() - Method in class wtf.choco.dragoneggdrop.api.BattleStateChangeEvent
-
Get an instance of the EnderDragonBattle involved in this event.
- getDragonTemplateDirectory() - Method in class wtf.choco.dragoneggdrop.DragonEggDrop
-
Get the directory in which dragon templates are located.
- getDragonTemplateRegistry() - Method in class wtf.choco.dragoneggdrop.DragonEggDrop
-
Get the dragon template registry.
- getEgg() - Method in class wtf.choco.dragoneggdrop.dragon.loot.DragonLootTable
-
Get the egg loot element.
- getEntity() - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get the Entity instance to which this damage history belongs.
- getEntityUUID() - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get the UUID of the entity to which this damage history belongs.
- getFormattedTime(int, boolean, TimeUnit...) - Static method in class wtf.choco.dragoneggdrop.utils.math.MathUtils
-
Get a formatted time String from a time in seconds.
- getFrameIntervalTicks() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the amount of ticks between each frame of the animation.
- getHandlerList() - Static method in class wtf.choco.dragoneggdrop.api.BattleStateChangeEvent
- getHandlers() - Method in class wtf.choco.dragoneggdrop.api.BattleStateChangeEvent
- getId() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
- getId() - Method in class wtf.choco.dragoneggdrop.dragon.loot.DragonLootTable
- getId() - Method in class wtf.choco.dragoneggdrop.particle.ParticleShapeDefinition
- getId() - Method in interface wtf.choco.dragoneggdrop.registry.Registerable
-
Get the unique id for this registerable object.
- getInstance() - Static method in class wtf.choco.dragoneggdrop.DragonEggDrop
-
Get the DragonEggDrop instance.
- getLastResult() - Method in class wtf.choco.dragoneggdrop.utils.UpdateChecker
-
Get the last update result that was queried by
UpdateChecker.requestUpdateCheck()
. - getLootTable() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get the loot table used to generate the loot for this dragon once killed.
- getLootTableDirectory() - Method in class wtf.choco.dragoneggdrop.DragonEggDrop
-
Get the directory in which loot tables are located.
- getLootTableOverride() - Method in class wtf.choco.dragoneggdrop.world.EndWorldWrapper
-
Get the next loot table from which to generate loot.
- getLootTableRegistry() - Method in class wtf.choco.dragoneggdrop.DragonEggDrop
-
Get the loot table registry for all dragon loot tables.
- getLore() - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementEgg
-
Get the egg's lore.
- getMax() - Method in class wtf.choco.dragoneggdrop.utils.IntegerRange
-
Get the maximum value in this range.
- getMaxRolls() - Method in class wtf.choco.dragoneggdrop.dragon.loot.pool.LootPoolCommand
- getMaxRolls() - Method in interface wtf.choco.dragoneggdrop.dragon.loot.pool.ILootPool
-
Get the maximum amount of times this loot pool should be rolled (inclusive).
- getMin() - Method in class wtf.choco.dragoneggdrop.utils.IntegerRange
-
Get the minimum value in this range.
- getMinRolls() - Method in class wtf.choco.dragoneggdrop.dragon.loot.pool.LootPoolCommand
- getMinRolls() - Method in interface wtf.choco.dragoneggdrop.dragon.loot.pool.ILootPool
-
Get the minimum amount of times this loot pool should be rolled (inclusive).
- getMostRecentDamage() - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get the most recent damage entry to this history.
- getMostRecentDamage(int) - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get the damage entry at the given offset (from most recent + offset).
- getName() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get the name of the dragon.
- getName() - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementEgg
-
Get the egg's name.
- getName() - Method in class wtf.choco.dragoneggdrop.dragon.loot.pool.LootPoolCommand
- getName() - Method in interface wtf.choco.dragoneggdrop.dragon.loot.pool.ILootPool
-
Get this loot pool's name.
- getNewestVersion() - Method in class wtf.choco.dragoneggdrop.utils.UpdateChecker.UpdateResult
-
Get the latest version of the plugin.
- getNewState() - Method in class wtf.choco.dragoneggdrop.api.BattleStateChangeEvent
-
Get the new state of the battle.
- getOptionalField(JsonObject, String, Function<JsonElement, T>, T) - Static method in class wtf.choco.dragoneggdrop.utils.JsonUtils
-
Get a field with the given name from the provided
JsonObject
and cast it using the provided function. - getParticle() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the particle to be spawned for this shape definition.
- getParticleAmount() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the amount of particles to spawn.
- getParticleDirectory() - Method in class wtf.choco.dragoneggdrop.DragonEggDrop
-
Get the directory in which particle shape definitions are located.
- getParticleExtra() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the extra data for this particle definition.
- getParticleOffsetX() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the particle's x offset.
- getParticleOffsetY() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the particle's y offset.
- getParticleOffsetZ() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the particle's z offset.
- getParticleShapeDefinition() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get the particle shape definition to use when this dragon is killed.
- getParticleShapeDefinitionRegistry() - Method in class wtf.choco.dragoneggdrop.DragonEggDrop
-
Get the particle shape definition registry.
- getParticleStreams() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the amount of particle streams to generate.
- getPreviousDragonUUID() - Method in class wtf.choco.dragoneggdrop.world.EndWorldWrapper
-
Get the UUID of the dragon that was most recently slain.
- getPreviousState() - Method in class wtf.choco.dragoneggdrop.api.BattleStateChangeEvent
-
Get the state that the battle was in prior to this change.
- getPreviousTemplate() - Method in class wtf.choco.dragoneggdrop.world.EndWorldWrapper
-
Get the template represented in the last successful battle.
- getProvider() - Static method in class wtf.choco.dragoneggdrop.placeholder.DragonEggDropPlaceholders
-
Get the active placeholder provider.
- getRandomTemplate() - Method in class wtf.choco.dragoneggdrop.registry.DragonTemplateRegistry
-
Get a random template while taking into consideration its weighted value.
- getRandomValue(Random) - Method in class wtf.choco.dragoneggdrop.utils.IntegerRange
-
Get a random integer between the minimum and maximum value of this range (both inclusive).
- getReason() - Method in class wtf.choco.dragoneggdrop.utils.UpdateChecker.UpdateResult
-
Get the constant reason of this result.
- getRelativeTo(Location) - Method in enum wtf.choco.dragoneggdrop.world.PortalCrystal
-
Get a
Location
representing the crystal's expected location relative to a given location. - getRelativeToPortal(World) - Method in enum wtf.choco.dragoneggdrop.world.PortalCrystal
-
Get a
Location
representing the crystal's expected location relative to the provided world's portal. - getRequiredField(JsonObject, String, Function<JsonElement, T>) - Static method in class wtf.choco.dragoneggdrop.utils.JsonUtils
-
Get a field with the given name from the provided
JsonObject
and cast it using the provided function. - getRespawningTemplate() - Method in class wtf.choco.dragoneggdrop.world.EndWorldWrapper
-
Get the template preparing to be respawned.
- getRespawnTime(FileConfiguration) - Method in enum wtf.choco.dragoneggdrop.world.RespawnReason
- getSecondsUntilRespawn() - Method in class wtf.choco.dragoneggdrop.tasks.RespawnRunnable
-
Get the amount of time remaining (in seconds) until the dragon respawns.
- getShape() - Method in class wtf.choco.dragoneggdrop.particle.AnimatedParticleSession
-
Get the shape definition being animated by this session.
- getSource() - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory.DamageEntry
-
Get the UUID of the entity to which this damage entry is attributed.
- getSourceEntity() - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory.DamageEntry
-
Get the Entity instance to which this damage entry is attributed.
- getSpawnAnnouncement() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get the messages to be announced to all players when this template spawns.
- getSpawnWeight() - Method in class wtf.choco.dragoneggdrop.dragon.DragonTemplate
-
Get the weight of this dragon's spawn percentage.
- getSpeedMultiplier() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the animation's speed multiplier.
- getStartY() - Method in class wtf.choco.dragoneggdrop.particle.ParticleShapeDefinition
-
Get the y coordinate at which this shape should start.
- getT() - Method in class wtf.choco.dragoneggdrop.particle.ParticleVariables
-
Get the t variable.
- getTheta() - Method in class wtf.choco.dragoneggdrop.particle.ParticleVariables
-
Get the theta variable.
- getThetaIncrement() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the value by which theta will be incremented each tick in the animation.
- getTimeUnits(List<String>) - Static method in class wtf.choco.dragoneggdrop.utils.ConfigUtils
-
Get an array of
TimeUnit
instances by name according to the list of strings. - getTimeUntilRespawn() - Method in class wtf.choco.dragoneggdrop.world.EndWorldWrapper
-
Get the amount of time remaining until the dragon respawns.
- getTopDamager() - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get the entity that caused the most amount of damage to this entity.
- getTopDamager(int) - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get the top damager at the given offset (from most amount of damage + offset).
- getTopDamagers(int) - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get an array of entities that caused the most amount of damage to this entity in order of most amount of damage (first index) to least amount of damage (last index).
- getTotalDamageFrom(UUID) - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get the total amount of damage caused by the specified entity's UUID.
- getTotalDamageFrom(Entity) - Method in class wtf.choco.dragoneggdrop.dragon.DamageHistory
-
Get the total amount of damage caused by the specified entity.
- getVariables() - Method in class wtf.choco.dragoneggdrop.particle.condition.ConditionContext
-
Get the particle variables.
- getWeight() - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementCommand
- getWeight() - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementEgg
-
Get this object's weight in the loot pool.
- getWeight() - Method in class wtf.choco.dragoneggdrop.dragon.loot.elements.DragonLootElementItem
- getWeight() - Method in interface wtf.choco.dragoneggdrop.dragon.loot.elements.IDragonLootElement
-
Get this object's weight in the loot pool.
- getWorld() - Method in class wtf.choco.dragoneggdrop.particle.condition.ConditionContext
-
Get the
World
instance. - getWorld() - Method in class wtf.choco.dragoneggdrop.world.EndWorldWrapper
-
Get the world represented by this wrapper.
- getX() - Method in class wtf.choco.dragoneggdrop.particle.ParticleVariables
-
Get the x variable.
- getXExpression() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the mathematical expression to be used along the x axis.
- getXOffset() - Method in enum wtf.choco.dragoneggdrop.world.PortalCrystal
-
Get the offset on the x axis to be applied for this crystal
- getY() - Method in class wtf.choco.dragoneggdrop.particle.ParticleVariables
-
Get the y variable.
- getZ() - Method in class wtf.choco.dragoneggdrop.particle.ParticleVariables
-
Get the z variable.
- getZExpression() - Method in class wtf.choco.dragoneggdrop.particle.ConditionalEquationData
-
Get the mathematical expression to be used along the z axis.
- getZOffset() - Method in enum wtf.choco.dragoneggdrop.world.PortalCrystal
-
Get the offset on the z axis to be applied for this crystal
- GSON - Static variable in class wtf.choco.dragoneggdrop.DragonEggDrop
All Classes|All Packages