Index

A C D E F G H I K M N P R S T V 
All Classes and Interfaces|All Packages

A

ALL - Enum constant in enum class fr.olympus.prometheus.register.RegisterType
Represents the registration of all types in the system.
autoRegister(RegisterType, String...) - Static method in class fr.olympus.prometheus.Prometheus
Automatically register components by scanning the specified base packages for annotated classes.
AutoRegistrar - Class in fr.olympus.prometheus.register
Utility class for automatically registering materials, factories, and process recipes by scanning specified base packages for annotated classes.

C

canEvolve(T) - Method in interface fr.olympus.prometheus.evolution.EvolutionCondition
Checks if the given entity can evolve based on this condition.
canEvolveTo(EvolutionCondition) - Method in interface fr.olympus.prometheus.evolution.EvolutionEntity
Checks if this entity can evolve to the given evolution condition.
createEntity(String) - Method in class fr.olympus.prometheus.resources.PrometheusData
Creates a new entity instance based on the provided registry identifier.
createInstance() - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Creates a new instance of the entity using the supplier.
createInstance() - Method in record class fr.olympus.prometheus.register.EvolutionRegistryEntry
Creates a new instance of the evolution condition using the supplier.
currentUUID - Variable in class fr.olympus.prometheus.entity.Entity
Current UUID of the entity instance.
currentUUID() - Method in class fr.olympus.prometheus.entity.Entity
Sets the alive status of the entity.
currentUUID() - Method in interface fr.olympus.prometheus.entity.IEntity
Gets the current UUID of the entity.

D

destroyEntity(IEntity) - Method in class fr.olympus.prometheus.resources.PrometheusData
Destroys an entity by removing it from the list of loaded entities.
drop() - Method in interface fr.olympus.prometheus.entity.DroppableEntity
Method to handle the dropping of items when the entity is killed.
DroppableEntity - Interface in fr.olympus.prometheus.entity
Interface for make AbstractEntity droppable

E

Entity - Class in fr.olympus.prometheus.entity
Abstract base class for all entities in the system.
Entity(String) - Constructor for class fr.olympus.prometheus.entity.Entity
Constructs a new Entity with the specified name.
ENTITY - Enum constant in enum class fr.olympus.prometheus.register.RegisterType
Represents the registration of an entity in the system.
EntityAnnotation - Annotation Interface in fr.olympus.prometheus.entity
Annotation to mark classes related to entity mechanics.
EntityDrop - Class in fr.olympus.prometheus.entity
Represents a drop that an entity can have upon defeat.
EntityDrop(int) - Constructor for class fr.olympus.prometheus.entity.EntityDrop
Constructs an EntityDrop with a fixed quantity and a drop chance of 1.0.
EntityDrop(int, double) - Constructor for class fr.olympus.prometheus.entity.EntityDrop
Constructs an EntityDrop with a fixed quantity and drop chance.
EntityDrop(int, int, double) - Constructor for class fr.olympus.prometheus.entity.EntityDrop
Constructs an EntityDrop with specified minimal and maximal quantities and drop chance.
entityGroup() - Method in class fr.olympus.prometheus.entity.Entity
Gets the groups that this entity belongs to.
entityGroup() - Method in interface fr.olympus.prometheus.entity.IEntity
Gets the entity group to which this entity belongs.
EntityRegistryEntry - Record Class in fr.olympus.prometheus.register
Represents an entry in the entity registry, containing the entity's unique identifier and a supplier for creating instances of the entity.
EntityRegistryEntry(String, Supplier<? extends IEntity>, String[]) - Constructor for record class fr.olympus.prometheus.register.EntityRegistryEntry
Constructs a new EntityRegistryEntry with the specified unique identifier and supplier.
equals(Object) - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class fr.olympus.prometheus.register.EvolutionRegistryEntry
Indicates whether some other object is "equal to" this one.
EVOLUTION - Enum constant in enum class fr.olympus.prometheus.register.RegisterType
Represents the registration of an evolution in the system.
EvolutionAnnotation - Annotation Interface in fr.olympus.prometheus.evolution
Annotation to mark classes related to evolution mechanics.
EvolutionCondition - Interface in fr.olympus.prometheus.evolution
Interface representing a condition for evolution.
EvolutionEntity - Interface in fr.olympus.prometheus.evolution
Interface for representing an entity that can evolve.
EvolutionRegistryEntry - Record Class in fr.olympus.prometheus.register
Represents an entry in the evolution registry, containing the evolution condition's unique identifier and a supplier for creating instances of the evolution condition.
EvolutionRegistryEntry(String, Supplier<? extends EvolutionCondition>) - Constructor for record class fr.olympus.prometheus.register.EvolutionRegistryEntry
Constructs a new EvolutionRegistryEntry with the specified unique identifier and supplier.
evolveTo(String) - Method in interface fr.olympus.prometheus.evolution.EvolutionEntity
Evolves this entity to the given evolution condition ID if possible.

F

FamilyEntity - Interface in fr.olympus.prometheus.entity
Interface for representing a family of entities.
fr.olympus.prometheus - package fr.olympus.prometheus
 
fr.olympus.prometheus.entity - package fr.olympus.prometheus.entity
 
fr.olympus.prometheus.evolution - package fr.olympus.prometheus.evolution
 
fr.olympus.prometheus.register - package fr.olympus.prometheus.register
 
fr.olympus.prometheus.resources - package fr.olympus.prometheus.resources
 

G

getChildUUIDs() - Method in interface fr.olympus.prometheus.entity.FamilyEntity
Gets the UUIDs of the child entities in this family.
getData() - Static method in class fr.olympus.prometheus.Prometheus
Get the PrometheusData instance
getDropChance() - Method in class fr.olympus.prometheus.entity.EntityDrop
Gets the chance of the drop occurring.
getDrops() - Method in interface fr.olympus.prometheus.entity.DroppableEntity
Get the drops of the entity String is the material identifier, EntityDrop is the drop information (chance, quantity, etc.)
getEntityId() - Method in interface fr.olympus.prometheus.evolution.EvolutionCondition
Gets the unique identifier of the entity associated with this evolution condition.
getEvolutionCondition(String) - Method in interface fr.olympus.prometheus.evolution.EvolutionEntity
Gets the evolution condition associated with the given evolution condition ID.
getEvolutionCondition(String) - Method in class fr.olympus.prometheus.resources.PrometheusData
Retrieves an evolution condition from the evolution registry by its unique identifier.
getLoadedEntities() - Method in class fr.olympus.prometheus.resources.PrometheusData
Retrieves the list of currently loaded entities.
getLoadedEntitiesInGroups(String...) - Method in class fr.olympus.prometheus.resources.PrometheusData
Retrieves a list of currently loaded entities that belong to any of the specified groups.
getLoadedEntitiesWithId(String) - Method in class fr.olympus.prometheus.resources.PrometheusData
Retrieves a list of currently loaded entities that have the specified registry identifier.
getLoadedEntitiesWithIds(String...) - Method in class fr.olympus.prometheus.resources.PrometheusData
Retrieves a list of currently loaded entities that have any of the specified registry identifiers.
getLoadedEntityWithUUID(UUID) - Method in class fr.olympus.prometheus.resources.PrometheusData
Retrieves a currently loaded entity that has the specified unique identifier (UUID).
getMaximalQuantity() - Method in class fr.olympus.prometheus.entity.EntityDrop
Gets the maximal quantity of the drop.
getMinimalQuantity() - Method in class fr.olympus.prometheus.entity.EntityDrop
Gets the minimal quantity of the drop.
getName() - Method in class fr.olympus.prometheus.entity.Entity
Gets the name of the entity.
getName() - Method in interface fr.olympus.prometheus.entity.IEntity
Gets the name of the entity.
getNextEvolutions() - Method in interface fr.olympus.prometheus.evolution.EvolutionEntity
Get the list of evolution conditions that can be applied to this entity.
getPreviousEvolutions() - Method in interface fr.olympus.prometheus.evolution.EvolutionEntity
Get the list of evolution conditions that can be applied to this entity.
getRegistryId() - Method in class fr.olympus.prometheus.entity.Entity
Gets the unique identifier of the entity in the registry.
getRegistryId() - Method in interface fr.olympus.prometheus.entity.IEntity
Gets the unique identifier for the entity registry.
getStatsValues() - Method in interface fr.olympus.prometheus.entity.StatableEntity
Map of statistic names to their corresponding numeric values.
groups - Variable in class fr.olympus.prometheus.entity.Entity
Groups that this entity belongs to.
groups() - Element in annotation interface fr.olympus.prometheus.entity.EntityAnnotation
Gets the groups that the entity belongs to.
groups() - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Returns the value of the groups record component.

H

hasGroup(String) - Method in class fr.olympus.prometheus.entity.Entity
Checks if the entity belongs to a specific group.
hasGroup(String) - Method in interface fr.olympus.prometheus.entity.IEntity
Checks if the entity belongs to a specific group.
hasGroup(String) - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Checks if the entity belongs to a specific group.
hasGroups(String[]) - Method in class fr.olympus.prometheus.entity.Entity
Checks if the entity belongs to all of the specified groups.
hasGroups(String[]) - Method in interface fr.olympus.prometheus.entity.IEntity
Checks if the entity belongs to any of the specified groups.
hasGroups(String...) - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Checks if the entity belongs to all specified groups.
hashCode() - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Returns a hash code value for this object.
hashCode() - Method in record class fr.olympus.prometheus.register.EvolutionRegistryEntry
Returns a hash code value for this object.

I

id() - Element in annotation interface fr.olympus.prometheus.entity.EntityAnnotation
Gets the unique identifier for the entity.
id() - Element in annotation interface fr.olympus.prometheus.evolution.EvolutionAnnotation
Gets the unique identifier for the evolution.
id() - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Returns the value of the id record component.
id() - Method in record class fr.olympus.prometheus.register.EvolutionRegistryEntry
Returns the value of the id record component.
IEntity - Interface in fr.olympus.prometheus.entity
Interface representing an entity in the Prometheus system.
init() - Static method in class fr.olympus.prometheus.Prometheus
Get the singleton instance of Prometheus
isAlive - Variable in class fr.olympus.prometheus.entity.Entity
Indicates whether the entity is alive.
isAlive() - Method in class fr.olympus.prometheus.entity.Entity
Checks if the entity is alive.
isAlive() - Method in interface fr.olympus.prometheus.entity.IEntity
Checks if the entity is alive.
isInGroups(String...) - Method in class fr.olympus.prometheus.resources.PrometheusData
Checks which entities in the registry belong to any of the specified groups and returns their unique identifiers.

K

kill() - Method in interface fr.olympus.prometheus.entity.IEntity
Kills the entity, marking it as dead and performing any necessary cleanup operations.

M

mergeData(IEntity) - Method in interface fr.olympus.prometheus.evolution.EvolutionEntity
Merges the data of this entity with the given entity.
mergeStats(Map<String, Number>) - Method in interface fr.olympus.prometheus.entity.StatableEntity
Merge new statistics into the existing stats values.

N

name - Variable in class fr.olympus.prometheus.entity.Entity
Name of the entity.

P

Prometheus - Class in fr.olympus.prometheus
Main class for the Prometheus framework.
PrometheusData - Class in fr.olympus.prometheus.resources
Class representing the main data structure for managing entities and evolutions in the Prometheus system.
PrometheusData() - Constructor for class fr.olympus.prometheus.resources.PrometheusData
Constructs a PrometheusData instance with an empty entities registry.

R

register(RegisterType, String...) - Static method in class fr.olympus.prometheus.register.AutoRegistrar
Registers components based on the specified type and base packages.
registerEntity(EntityRegistryEntry) - Method in class fr.olympus.prometheus.resources.PrometheusData
Registers a new entity in the entities registry.
registerEvolution(EvolutionRegistryEntry) - Method in class fr.olympus.prometheus.resources.PrometheusData
Registers a new evolution in the evolution registry.
RegisterType - Enum Class in fr.olympus.prometheus.register
Types of registrations available.
registryId - Variable in class fr.olympus.prometheus.entity.Entity
Unique identifier for the entity in the registry.
replaceStats(Map<String, Number>) - Method in interface fr.olympus.prometheus.entity.StatableEntity
Replace the existing stats values with the new ones provided in the map.

S

setAlive(boolean) - Method in class fr.olympus.prometheus.entity.Entity
Sets the alive status of the entity.
setAlive(boolean) - Method in interface fr.olympus.prometheus.entity.IEntity
Sets the alive status of the entity.
setRegistryMeta(String, String[]) - Method in class fr.olympus.prometheus.entity.Entity
Sets the registry metadata for the entity.
setRegistryMeta(String, String[]) - Method in interface fr.olympus.prometheus.entity.IEntity
Sets the metadata for the entity registry based on the provided registry ID.
StatableEntity - Interface in fr.olympus.prometheus.entity
Interface representing an entity that has associated statistics.
supplier() - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Returns the value of the supplier record component.
supplier() - Method in record class fr.olympus.prometheus.register.EvolutionRegistryEntry
Returns the value of the supplier record component.

T

toString() - Method in record class fr.olympus.prometheus.register.EntityRegistryEntry
Returns a string representation of this record class.
toString() - Method in record class fr.olympus.prometheus.register.EvolutionRegistryEntry
Returns a string representation of this record class.

V

valueOf(String) - Static method in enum class fr.olympus.prometheus.register.RegisterType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class fr.olympus.prometheus.register.RegisterType
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E F G H I K M N P R S T V 
All Classes and Interfaces|All Packages