Package | Description |
---|---|
net.tridentsdk.effect.entity |
Represents entity visual effects
|
net.tridentsdk.entity |
Other entities and general abstractions and types
|
net.tridentsdk.entity.block |
Represents tiles that are considered entities, or maybe blocks that used to be "solid" (such as
PrimeTNT ) |
net.tridentsdk.entity.living |
Entity classes that represent various world mobs, hostile and passive, including the Player class
|
net.tridentsdk.entity.projectile |
Entities that can be thrown (such as potions) or can be launched (arrows, fireballs, snowballs, etc.)
|
net.tridentsdk.entity.traits |
Entity functionality that can be possessed by certain entities
|
net.tridentsdk.entity.vehicle |
Non-living entities that can be ridden, mostly minecarts
|
net.tridentsdk.event.entity |
Entity-based events, called when an event relating to an entity occurs
|
net.tridentsdk.event.player |
Called when a player-based event occurs, such as an event that involves a player
|
net.tridentsdk.server.effect.entity |
Entity status effects
|
net.tridentsdk.server.entity |
Contains general entity implementations and base abstractions
|
net.tridentsdk.server.entity.ai.pathfind |
The entity AI implementation
|
net.tridentsdk.server.entity.block |
Contains implementation for Entites that are similar to blocks, i.e.
|
net.tridentsdk.server.entity.living |
Contains implementations of entities which are sentient
|
net.tridentsdk.server.entity.projectile |
Contains classes that represents launchable entities
|
net.tridentsdk.server.entity.vehicle |
Contains classes that represent various vehicles
|
net.tridentsdk.server.packets.play.out |
Packets related to the gameplay of the server sent from the server
|
net.tridentsdk.server.player |
Contains implementations related to TridentPlayer and the associcated OfflinePlayer classes
|
net.tridentsdk.server.world |
Implements classes in the package
net.tridentsdk.world .* package |
net.tridentsdk.util |
Utilities used primarily within the API and available to plugins and the implementation
|
net.tridentsdk.world |
World access: Chunks, dimensions, and loading, and world generation
|
Modifier and Type | Method and Description |
---|---|
Entity |
EntityStatusEffect.entity()
Returns the entity to which the status effect will be applied
|
Modifier and Type | Method and Description |
---|---|
void |
EntityStatusEffect.setEntity(Entity entity)
Set the entity to which the status effect will be applied
|
Modifier and Type | Interface and Description |
---|---|
interface |
DroppedItem
Represents a dropped ItemStack
|
interface |
ExperienceOrb
Represents an Experience Orb
|
interface |
Firework
A charge that explodes with various specified colors and properties
|
interface |
Hanging
Represents a hanging entity
|
interface |
LivingEntity
An entity that is alive, which can be damaged and move with AI
|
interface |
Projectile
Represents a Projectile
|
Modifier and Type | Method and Description |
---|---|
Entity |
Entity.passenger()
Gets the entity that is riding this entity, if there is any
|
Modifier and Type | Method and Description |
---|---|
Set<Entity> |
Entity.withinRange(double radius)
Gets the entities that are within proximity to this entity
|
Modifier and Type | Method and Description |
---|---|
void |
LivingEntity.hide(Entity entity)
Makes the specified entity invisible to the current entity
|
void |
Entity.setPassenger(Entity entity)
Mounts the specified entity on this entity
|
void |
LivingEntity.show(Entity entity)
Un-hides the entity that was hidden from view, or does nothing of already visible
|
void |
Entity.teleport(Entity entity)
Moves the current entity to the provided entity's position
|
Modifier and Type | Interface and Description |
---|---|
interface |
ArmorStand
Represents an Armor Stand
|
interface |
FallingBlock
Represents a dynamic tile
|
interface |
ItemFrame
Represents an ItemFrame
|
interface |
Painting
Represents a Painting
|
interface |
PrimeTNT
Represents a Primed TNT
|
Modifier and Type | Interface and Description |
---|---|
interface |
Bat
Represents a Bat
|
interface |
Blaze
Represents a Blaze
|
interface |
Chicken
Represents a Chicken
|
interface |
Cow
Represents a Cow
|
interface |
Creeper
Represents a Creeper
|
interface |
EnderDragon
Represents an Ender Dragon (base)
|
interface |
Enderman
Represents an Enderman
|
interface |
Endermite
Represents an Endermite
|
interface |
Ghast
Represents a Ghast
|
interface |
Guardian
Represents a Guardian
|
interface |
Horse
Represents a Horse
|
interface |
MagmaCube
Represents a Magma Cube
|
interface |
Mooshroom
Represents a Mooshroom Cow
|
interface |
Ocelot
Represents an Ocelot
|
interface |
Pig
Represents a Pig
|
interface |
Player
Represents a player entity after joining the server
|
interface |
Rabbit
Represents a Rabbit
|
interface |
Sheep
Represents a Sheep
|
interface |
Shulker
Represents a shulker mob.
|
interface |
Skeleton
Represents a skeleton mob
|
interface |
Slime
Represents a Slime
|
interface |
Villager
Represents a Villager
|
interface |
Wither
Represents a wither
|
interface |
Wolf
Represents a Wolf
|
interface |
Zombie
Represents a Zombie
|
Modifier and Type | Interface and Description |
---|---|
interface |
Arrow
Represents an Arrow
|
interface |
Egg
Represents an Egg
|
interface |
Enderpearl
Represents an Enderpearl
|
interface |
ExpBottle
Represents an Exp Bottle
|
interface |
Fireball
Represents a Fireball
|
interface |
FishHook
A inject at the end of the fishing rod that can catch fish or damage entities
|
interface |
Potion
Represents a Potion
|
interface |
SmallFireball
Represents a small Fireball
|
interface |
Snowball
Represents a Snowball
|
interface |
WitherSkull
Represents a WitherSkull
|
Modifier and Type | Interface and Description |
---|---|
interface |
Ageable
Represents a LivingEntity that has an age and has the ability to bread
|
interface |
Equippable
Represents an entity that can be equipped
|
interface |
Hostile
Represents a hostile entity Purpose of interface is to provide ease-of-access to large groups of a single type (i.e.
|
interface |
Neutral
Represents a neutral entity Purpose of interface is to provide ease-of-access to large groups of a single type (i.e.
|
interface |
Peaceful
Represents a paceful entity Purpose of interface is to provide ease-of-access to large groups of a single type (i.e.
|
interface |
Saddleable
Represents a living entity that can wear a saddle
|
interface |
Tameable
Represents a tameable entity
|
interface |
WindowHolder
Represents an Entity that holds an Inventory
|
Modifier and Type | Interface and Description |
---|---|
interface |
Boat
Represents a Boat
|
interface |
CommandMinecart
Represents a Command Block Minecart
|
interface |
FurnaceMinecart
Represents a Furnace Minecart
|
interface |
HopperMinecart
Represents a Hopper Minecart
|
interface |
MinecartBase
Represents the generic Minecart
|
interface |
SpawnerMinecart
Represents a Spawner Minecart
|
interface |
TNTMinecart
Represents a TNT Minecart
|
Modifier and Type | Method and Description |
---|---|
Entity |
EntityBurnByEntityEvent.burner()
Gets the entity that set this entity on fire
|
Entity |
EntityDamageEntityEvent.damager() |
Entity |
EntityEvent.entity() |
Entity |
EntityLaunchProjectileEvent.getTarget()
Gets the Entity the skeleton was targeting when it fired
|
Modifier and Type | Method and Description |
---|---|
protected void |
EntityEvent.setEntity(Entity entity)
set the entity associated with this event
|
void |
PlayerDropItemEvent.setItem(Entity item) |
Modifier and Type | Method and Description |
---|---|
Entity |
PlayerLaunchProjectileEvent.projectile() |
Constructor and Description |
---|
PlayerDamageEvent(Entity player,
double damage,
EntityDamageEvent.Cause cause) |
PlayerDeathEvent(Entity player) |
PlayerLaunchProjectileEvent(Player player,
Entity projectile) |
PlayerShootBowEvent(Player player,
Entity projectile) |
Modifier and Type | Method and Description |
---|---|
Entity |
TridentEntityStatusEffect.entity() |
Modifier and Type | Method and Description |
---|---|
void |
TridentEntityStatusEffect.setEntity(Entity entity) |
Modifier and Type | Class and Description |
---|---|
class |
TridentAgeable |
class |
TridentBreedable |
class |
TridentDroppedItem
Represents an item that is dropped on the ground
|
class |
TridentEntity
Entity abstraction base
|
class |
TridentExpOrb
Represents an orb of experience
|
class |
TridentFirework
Represents a firable firework that explodes after a set amount of time
|
class |
TridentInventoryHolder
An entity that is able to hold an inventory
|
class |
TridentLivingEntity
An entity that has health
|
class |
TridentTameable |
Modifier and Type | Field and Description |
---|---|
protected Entity |
TridentEntity.passenger
The entity's passenger, if there are any
|
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
EntityBuilder.build(Class<T> entityType) |
<T extends Entity> |
EntityBuilder.build(Class<T> entityType,
EntityBuilder.ParameterValue<?>... parameterValues) |
<T extends Entity> |
EntityHandler.entities(Class<T> type)
Gets all entities with the given type class
|
Modifier and Type | Method and Description |
---|---|
Entity |
EntityHandler.entityBy(int id)
Gets the entity with the given ID
|
Entity |
TridentEntity.passenger() |
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
EntityHandler.entities(Class<T> type)
Gets all entities with the given type class
|
Set<Entity> |
TridentEntity.withinRange(double radius) |
Modifier and Type | Method and Description |
---|---|
void |
TridentLivingEntity.hide(Entity entity) |
EntityBuilder |
EntityBuilder.passenger(Entity passenger) |
void |
EntityHandler.register(Entity entity)
Starts entity management and tracks the entity
|
void |
EntityHandler.removeEntity(Entity entity)
Removes the entity from management
|
void |
TridentEntity.setPassenger(Entity entity) |
void |
TridentLivingEntity.show(Entity entity) |
void |
TridentEntity.teleport(Entity entity) |
void |
EntityHandler.trackMovement(Entity entity,
Position from,
Position to)
Tracks the movement of the entity, not for teleportation
|
Constructor and Description |
---|
Pathfinder(Entity entity,
Position target,
double range) |
Modifier and Type | Class and Description |
---|---|
class |
TridentArmorStand |
class |
TridentFallingBlock |
class |
TridentItemFrame |
class |
TridentPainting |
class |
TridentPrimeTNT |
Modifier and Type | Method and Description |
---|---|
void |
TridentArmorStand.hide(Entity entity) |
void |
TridentArmorStand.show(Entity entity) |
Modifier and Type | Class and Description |
---|---|
class |
TridentBat |
class |
TridentBlaze |
class |
TridentChicken |
class |
TridentCow |
class |
TridentCreeper |
class |
TridentEnderDragon |
class |
TridentEnderman |
class |
TridentEndermite |
class |
TridentGhast |
class |
TridentGuardian
Represents a guardian entity
|
class |
TridentHorse |
class |
TridentMagmaCube |
class |
TridentMooshroom |
class |
TridentOcelot |
class |
TridentPig |
class |
TridentRabbit
Represents a rabbit
|
class |
TridentSheep
Represents a sheep
|
class |
TridentSkeleton
Represents a skeleton
|
class |
TridentSlime
Represents a slime
|
class |
TridentVillager
Represents a Villager
|
class |
TridentWither
Represents a Wither boss entity
|
class |
TridentWolf
Represents a wolf
|
class |
TridentZombie
Represents a zombie
|
Modifier and Type | Method and Description |
---|---|
void |
TridentPig.hide(Entity entity) |
void |
TridentOcelot.hide(Entity entity) |
void |
TridentMooshroom.hide(Entity entity) |
void |
TridentMagmaCube.hide(Entity entity) |
void |
TridentGhast.hide(Entity entity) |
void |
TridentEndermite.hide(Entity entity) |
void |
TridentEnderDragon.hide(Entity entity) |
void |
TridentCreeper.hide(Entity entity) |
void |
TridentCow.hide(Entity entity) |
void |
TridentBlaze.hide(Entity entity) |
void |
TridentBat.hide(Entity entity) |
void |
TridentPig.show(Entity entity) |
void |
TridentOcelot.show(Entity entity) |
void |
TridentMooshroom.show(Entity entity) |
void |
TridentMagmaCube.show(Entity entity) |
void |
TridentGhast.show(Entity entity) |
void |
TridentEndermite.show(Entity entity) |
void |
TridentEnderDragon.show(Entity entity) |
void |
TridentCreeper.show(Entity entity) |
void |
TridentCow.show(Entity entity) |
void |
TridentBlaze.show(Entity entity) |
void |
TridentBat.show(Entity entity) |
Modifier and Type | Class and Description |
---|---|
class |
TridentArrow
Represents a launchable arrow in flight
|
class |
TridentEgg
Represents an egg after being thrown
|
class |
TridentEnderPearl
Represents an ender pearl in flight
|
class |
TridentExpBottle
Represents an experience bottle that is thrown
|
class |
TridentFireball
Represents a fireball
|
class |
TridentFishHook
Represents a fishing hook
|
class |
TridentPotion
Represents a thrown potion
|
class |
TridentProjectile
Represents an entity that is thrown or launched
|
class |
TridentSmallFireball
Represents a small fireball
|
class |
TridentSnowball
Represents a snowball which is thrown
|
class |
TridentWitherSkull |
Modifier and Type | Class and Description |
---|---|
class |
TridentBoat
Represents a boat
|
class |
TridentCmdMinecart
Represents a minecart that holds a command block
|
class |
TridentFurnaceMinecart
Represents a minecart that holds a furnace
|
class |
TridentHopperMinecart
Represents a minecart that holds a Hopper block
|
class |
TridentMinecart
Represents a minecart
|
class |
TridentSpawnerMinecart
Represents a minecart that holds a spawner block
|
class |
TridentTntMinecart
Represents a minecart that holds a TNT block
|
Modifier and Type | Field and Description |
---|---|
protected Entity |
PacketPlayOutSpawnObject.entity |
protected Entity |
PacketPlayOutSpawnMob.entity |
Modifier and Type | Method and Description |
---|---|
Entity |
PacketPlayOutSpawnMob.getEntity() |
Modifier and Type | Class and Description |
---|---|
class |
OfflinePlayer |
class |
TridentPlayer |
Modifier and Type | Method and Description |
---|---|
void |
OfflinePlayer.hide(Entity entity) |
void |
OfflinePlayer.show(Entity entity) |
Modifier and Type | Method and Description |
---|---|
Entity |
TridentWorld.addEntity(Entity entity) |
Entity |
TridentWorld.spawn(EntityType type,
Position spawnPosition) |
Modifier and Type | Method and Description |
---|---|
Set<Entity> |
TridentWorld.entities() |
Set<Entity> |
TridentChunkSnapshot.entities() |
Set<Entity> |
TridentChunk.entities() |
Set<Entity> |
TridentChunk.entitiesInternal() |
ArrayList<Entity> |
TridentWorld.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
ArrayList<Entity> |
TridentChunkSnapshot.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
ArrayList<Entity> |
TridentChunk.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
Set<Entity> |
TridentWorld.internalEntities() |
Modifier and Type | Method and Description |
---|---|
Entity |
TridentWorld.addEntity(Entity entity) |
ArrayList<Entity> |
TridentWorld.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
ArrayList<Entity> |
TridentChunkSnapshot.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
ArrayList<Entity> |
TridentChunk.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
void |
TridentWorld.removeEntity(Entity entity) |
Modifier and Type | Method and Description |
---|---|
ArrayList<Entity> |
TridentWorld.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
ArrayList<Entity> |
TridentChunkSnapshot.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
ArrayList<Entity> |
TridentChunk.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate) |
Modifier and Type | Class and Description |
---|---|
class |
WeakEntity<T extends Entity>
A reference to an entity
|
Modifier and Type | Method and Description |
---|---|
static <T extends Entity> |
WeakEntity.empty()
Obtains a WeakEntity which holds a
null referenced entity |
static <T extends Entity> |
WeakEntity.of(T referencedEntity)
Obtains a WeakEntity which holds the specified entity
|
static <T extends Entity> |
WeakEntity.orEmpty(T referencedEntity)
Obtains a WeakEntity which is either a
WeakEntity.empty() reference or a reference
WeakEntity.of(net.tridentsdk.entity.Entity) , depending on if the specified entity is null or
non-null , respectively |
Modifier and Type | Method and Description |
---|---|
static void |
WeakEntity.clearReferencesTo(Entity entity)
Removes the references of the entity from any WeakEntity instances which are non-null
|
static Object |
WeakEntity.searchFor(Entity entity)
Provides an object which possesses the matching properties for a WeakEntity
|
Modifier and Type | Method and Description |
---|---|
Entity |
World.spawn(EntityType type,
Position spawnPosition)
Spawns an entity in the world
|
Modifier and Type | Method and Description |
---|---|
Set<Entity> |
World.entities()
Get the entities currently in this world
|
Set<Entity> |
Chunk.entities()
The entities in the chunk
|
ArrayList<Entity> |
World.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate)
Find all entities that are colliding with the bounding box
|
ArrayList<Entity> |
Chunk.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate)
Find all entities that are colliding with the bounding box
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Entity> |
World.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate)
Find all entities that are colliding with the bounding box
|
ArrayList<Entity> |
Chunk.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate)
Find all entities that are colliding with the bounding box
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Entity> |
World.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate)
Find all entities that are colliding with the bounding box
|
ArrayList<Entity> |
Chunk.getEntities(Entity exclude,
BoundingBox boundingBox,
java.util.function.Predicate<? super Entity> predicate)
Find all entities that are colliding with the bounding box
|
Copyright © 2016. All rights reserved.