Index
All Classes and Interfaces|All Packages
A
- asInvulnerable(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets whether the entity is invulnerable or not.
- asPersistent(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets whether or not the entity gets persisted.
- asSilent(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets whether the entity is silent or not.
B
- build() - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Returns the builded entity and casts it to the requested type.
D
- de.eldoria.eldoutilities.entities - package de.eldoria.eldoutilities.entities
- de.eldoria.eldoutilities.entities.projectiles - package de.eldoria.eldoutilities.entities.projectiles
E
- EntityBuilder - Class in de.eldoria.eldoutilities.entities
-
A class to build entities with a builder pattern.
G
- getBlock() - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Get the sender as block.
- getBlockType() - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Get the sender as
Material. - getEntity() - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Get the sender as entity.
- getEntityType() - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Get the sender as
EntityType. - getProjectileSource(Entity) - Static method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileUtil
-
Check if a entity is a projectile.
I
- ifBlock(Consumer<Block>) - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Executes the given consumer if a block is present.
- ifEntity(Consumer<Entity>) - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
If an entity is present, perform the given operation on it.
- isBlock() - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Check if a block is present.
- isEmpty() - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Check if the sender is empty.
- isEntity() - Method in class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Checks if an entity is present.
O
- of(EntityType, Location) - Static method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Returns a new EntityBuilder with an entity at the requested position.
- of(LivingEntity) - Static method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Returns a new EntityBuilder with an entity at the requested position.
P
- ProjectileSender - Class in de.eldoria.eldoutilities.entities.projectiles
-
A class which represends a result used by
getProjectileSource(Entity). - ProjectileSender() - Constructor for class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Empty projectile sender
- ProjectileSender(Block) - Constructor for class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Create a new projectile send with a block
- ProjectileSender(Entity) - Constructor for class de.eldoria.eldoutilities.entities.projectiles.ProjectileSender
-
Create a new projectile send with a entity
- ProjectileUtil - Class in de.eldoria.eldoutilities.entities.projectiles
-
Util to dtermine the sender of a projectile.
S
- setCollidable(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Set if this entity will be subject to collisions with other entities.
- setInvisible(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets whether the entity is invisible or not.
W
- with(Class<T>, Consumer<T>) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Applies a consumer on this entity after casting it to the requested type.
- with(Consumer<LivingEntity>) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Applies a consumer on this entity
- withAbsorptionAmount(double) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets the entity's absorption amount.
- withAI(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets whether an entity will have AI.
- withAttribute(Attribute, double) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets the
AttributeInstance.getBaseValue()to the value which is required to get the target value onAttributeInstance.getValue()for the requestedAttribute - withCustomName(String) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets a custom name on a mob or block.
- withFallDistance(float) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets the fall distance for this entity
- withFireTicks(int) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets the entity's current fire ticks (ticks before the entity stops being on fire).
- withGlowing(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets whether the entity has a team colored (default: white) glow.
- withGravity(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets whether gravity applies to this entity.
- withHealth(double) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets the entity's health from 0 to
Damageable.getMaxHealth(), where 0 is dead. - withMetadata(String, MetadataValue) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets a metadata value in the implementing object's metadata store.
- withNBT(Consumer<PersistentDataContainer>) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Applies changes to the persistent data container of the entity
- withPassenger(Entity...) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Add a passenger to the vehicle.
- withPotionEffect(PotionEffect) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Adds the given
PotionEffectto the living entity. - withRotation(float, float) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets the entity's rotation.
- withScoreboardTag(String) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Add a tag to this entity.
- withTicksLived(int) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets the amount of ticks this entity has lived for.
- withVelocity(Vector) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets this entity's velocity
- withVisibleCustomName(boolean) - Method in class de.eldoria.eldoutilities.entities.EntityBuilder
-
Sets whether or not to display the mob's custom name client side.
All Classes and Interfaces|All Packages