Uses of Class
games.stendhal.server.entity.Entity
Package
Description
Actions are commands send from the clients to the server.
the scripting backend.
Entities are all the interactive objects of the gaming world
(including players, NPCs, creatures, items, signs, chests, portals, ...)
This package contains conditions frequently used in quests.
Management of Slots.
This package handles status effects such as eating, poisoned, confused.
Interactive scripts that high level admins can invoke.
-
Uses of Entity in games.stendhal.server.actions
Modifier and TypeMethodDescriptionstatic boolean
ItemAccessPermissions.mayAccessContainedEntity(Player player, Entity entity)
Check if a player may access the location of a contained item. -
Uses of Entity in games.stendhal.server.actions.admin
-
Uses of Entity in games.stendhal.server.actions.equip
Modifier and TypeMethodDescriptionstatic Entity
EquipUtil.getEntityFromId(Player player, int objectId)
Gets the object for the given id.Modifier and TypeMethodDescriptionabstract boolean
MoveableObject.checkDistance(Entity entity, double distance)
is the owner of the slot in reach? -
Uses of Entity in games.stendhal.server.actions.validator
-
Uses of Entity in games.stendhal.server.core.engine
Modifier and TypeMethodDescriptionStendhalRPZone.getEntitiesAt(double x, double y, Class<T> clazz)
Finds all entities at the given coordinates.Modifier and TypeMethodDescriptionStendhalRPZone.getEntityAt(double x, double y)
Finds an Entity at the given coordinates.Modifier and TypeMethodDescriptionStendhalRPZone.getEntitiesAt(double x, double y)
Finds all entities at the given coordinates.StendhalRPZone.getFilteredEntities(FilterCriteria<Entity> criteria)
Modifier and TypeMethodDescriptionboolean
Checks whether the given entity would be able to stand at the given position, or if it would collide with the collision map or with another entity.boolean
Checks whether the given entity would be able to stand at the given position, or if it would collide with the collision map or (if checkObjects is enabled) with another entity.boolean
StendhalRPZone.collidesObjects(Entity entity, Rectangle2D area)
void
ItemLogger.equipAction(Player player, Entity entity, String[] sourceInfo, String[] destInfo)
Find the zone that would contain an entity at global coordinates.boolean
StendhalRPZone.isInProtectionArea(Entity entity)
void
StendhalRPRuleProcessor.killRPEntity(RPEntity entity, Entity killer)
Kills an RPEntity.boolean
StendhalRPZone.leavesZone(Entity entity, double x, double y)
boolean
StendhalRPZone.placeObjectAtEntryPoint(Entity entity)
boolean
StendhalRPZone.simpleCollides(Entity entity, double x, double y, double w, double h)
Modifier and TypeMethodDescriptionStendhalRPZone.getFilteredEntities(FilterCriteria<Entity> criteria)
-
Uses of Entity in games.stendhal.server.core.engine.db
Modifier and TypeMethodDescriptionvoid
StendhalKillLogDAO.logKill(DBTransaction transaction, Entity killed, Killer killer, Timestamp timestamp)
Logs a kill. -
Uses of Entity in games.stendhal.server.core.engine.dbcommand
ModifierConstructorDescriptionLogKillEventCommand(Entity killed, Killer killer)
creates a new LogKillEventCommand -
Uses of Entity in games.stendhal.server.core.pathfinder
Modifier and TypeMethodDescriptionPath.searchPath(Entity entity, int ex, int ey)
Finds a path for the Entityentity
.Path.searchPath(Entity entity, int x, int y, Rectangle2D destination, double maxDistance)
Finds a path for the Entityentity
.Path.searchPath(Entity sourceEntity, StendhalRPZone zone, int x, int y, Rectangle2D destination, double maxDistance, boolean withEntities)
Finds a path for the Entityentity
.Path.searchPath(Entity entity, Entity dest, double maxDistance)
Finds a path for the Entityentity
to the other Entitydest
. -
Uses of Entity in games.stendhal.server.core.rp
Modifier and TypeMethodDescriptionstatic void
StendhalRPAction.decideChangeZone(Entity entity, int x, int y)
Change an entity's zone based on it's global world coordinates.static boolean
StendhalRPAction.placeat(StendhalRPZone zone, Entity entity, int x, int y)
Places an entity at a specified position in a specified zone.static boolean
StendhalRPAction.placeat(StendhalRPZone zone, Entity entity, int x, int y, Shape allowedArea)
Places an entity at a specified position in a specified zone. -
Uses of Entity in games.stendhal.server.core.rp.achievement.condition
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Uses of Entity in games.stendhal.server.core.rp.equipping
Modifier and TypeMethodDescriptionEquipmentActionData.getSourceRoot()
EquipmentActionData.getTargetRoot()
Modifier and TypeMethodDescriptionvoid
EquipmentActionData.addSourceItem(Entity sourceItem)
void
EquipmentActionData.setSourceRoot(Entity sourceRoot)
void
EquipmentActionData.setTargetRoot(Entity targetRoot)
-
Uses of Entity in games.stendhal.server.core.rule
-
Uses of Entity in games.stendhal.server.core.rule.defaultruleset
-
Uses of Entity in games.stendhal.server.core.scripting
-
Uses of Entity in games.stendhal.server.core.scripting.lua
-
Uses of Entity in games.stendhal.server.entity
Modifier and TypeClassDescriptionclass
An entity that has speed and direction.class
Represents a blood puddle that is left on the ground after an entity was injured or killed.class
Defines an entity whose appearance (outfit) can be changed.class
An entity that has speed/direction and is guided via a Path.class
An entity that doesn't move on it's own, but can be moved.class
Modifier and TypeFieldDescriptionprotected CounterMap<Entity>
RPEntity.damageReceived
Maps each attacker to the sum of hitpoint loss it has caused to this RPEntity.Modifier and TypeMethodDescriptionstatic Entity
EntityFactoryHelper.create(String className, Map<String,String> parameters, Map<String,String> attributes)
Create an entity using a [logical] class name, and apply optional attribute values.Modifier and TypeMethodDescriptionRPEntity.getAttackSources()
Returns the Entities that are attacking this character.Modifier and TypeMethodDescriptionprotected Player
RPEntity.entityAsOnlinePlayer(Entity entity)
For rewarding killers.protected Pet
RPEntity.entityAsPet(Entity entity)
void
ActiveEntity.faceToward(Entity entity)
Face toward an entity.ActiveEntity.getDirectionToward(Entity entity)
Get the direction toward an entity.int
Entity.getResistance(Entity entity)
Get the resistance between this and another entity (0-100).boolean
RPEntity.hasLineOfSight(Entity target)
Check if the entity has a line of sight to the the center of another entity.boolean
ActiveEntity.isFacingToward(Entity entity)
Determine if this entity is facing toward another entity.boolean
Check if the other Entity is near enough to be in sight on the client screen.boolean
Entity.isObstacle(Entity entity)
Determine if this is an obstacle for another entity.boolean
Checks whether the given entity is directly next to this entity.boolean
Checks whether the given entity is near this entity.void
This method is called when this entity has been attacked by Entity attacker and it has been damaged with damage points.void
RPEntity.rememberAttacker(Entity attacker)
double
Entity.squaredDistance(Entity other)
This returns square of the distance between this entity and the given one.void
RPEntity.stopAttacking(Entity attacker)
-
Uses of Entity in games.stendhal.server.entity.creature
Modifier and TypeClassDescriptionclass
An creature that will only target enemies which are within a specified area.class
A creature that will be attacked by normal Creatures.class
A baby dragon is a domestic animal that can be owned by a player.class
A cat is a domestic animal that can be owned by a player.class
Server-side representation of a creature.class
A creature that will give no XP to killers.class
A domestic animal can be owned by a player;class
An ItemChangeGuardCreature is a creature that is responsible for guarding a special item (e.g.class
An ItemGuardCreature is a creature that is responsible for guarding a special item (e.g.class
A pet is a domestic animal that can be owned by a player.class
A purple dragon is a domestic animal that can be owned by a player.class
A Raid creature is a creature that doesn't make players killed by it to lose any XP, ATK or DEF.class
-
Uses of Entity in games.stendhal.server.entity.item
Modifier and TypeClassDescriptionclass
class
a basket which can be unwrapped.class
Item class that shows some basic information about enemies around Faiumoni.class
a box which can be unwrapped.class
An item that wears & breaks.class
represents the flag in Capture the Flag games - when player holds flag in hand, outfit displays flag.class
Represents everything that can be consumed by RPentity.class
Implementation of container items, such as bags and key rings.class
A corpse created when a creature or player is killed.class
class
class
Weapons that can be given to creatures to adjust their rate of attack, without giving them a visible weapon.class
class
class
A key that matches if the gate identifier is right.class
A key that matches if the identifier and lock number are the right.class
This is an item.class
class
an item to survive in some environments (e.class
A GM only item to help in checking houses.class
class
class
Represents a creature summon staff.class
Represents a stackable item for which we do not want 'Stats' to show in description.class
Class representing an item owned by an entity.class
A present which can be unwrapped.class
A faster rotting corpse for raid use with time limited access to the contents only by the player having been last attacked by it.class
A ring that protects from XP loss.class
A seed can be planted.class
class
An item that can be activated by being held in specific slots.class
class
Consumable item that can be used to cure/prevent a single or multiple status effects.class
An item that is resistant to status attacks when equipped.class
a stocking which can be openedclass
Represents a marked teleport scroll which also poisoned the player.class
A special ring that allows the owner to teleport to his or her spouse. -
Uses of Entity in games.stendhal.server.entity.item.scroll
Modifier and TypeClassDescriptionclass
Represents the balloon that takes the player to 7 kikareukin clouds, after which it will teleport player to a random location in 6 kikareukin islands.class
Represents an empty/blank pet scroll.class
Represents an empty/unmarked teleport scroll.class
Represents an teleport scroll that acts as an invitation to an event.class
Represents a marked teleport scroll.class
Represents the rainbow beans that takes the player to the dream world zone, after which it will teleport player to a random location in 0_semos_plains_s.class
Represents a scroll.class
Represents a creature summon pet scroll.class
Represents a creature summon scroll.class
Represents a general teleport scroll.class
Represents a teleport scroll that takes the player to a specified location for a specified time, after which it will teleport the player to given location.class
Represents the balloon that takes the player to twilight zone, after which it will teleport player to a random location in ida's sewing room. -
Uses of Entity in games.stendhal.server.entity.item.timed
Modifier and TypeClassDescriptionclass
class
Abstract base class for a stackable timed item. -
Uses of Entity in games.stendhal.server.entity.item.token
Modifier and TypeClassDescriptionclass
a token to be used on a game boardclass
Tokens are items which trigger an event on movement. -
Uses of Entity in games.stendhal.server.entity.mapstuff
Modifier and TypeClassDescriptionclass
class
Burning fire.class
Entity that manages weather properties that are better handled as events than as zone attribute changes. -
Uses of Entity in games.stendhal.server.entity.mapstuff.area
Modifier and TypeClassDescriptionclass
class
A base area entity.class
class
An area prevents creatures from entering.class
An area that damages an RPEntity while over it.class
An entity that acts as an obstacle for "walking" entities.class
An area that drains an RPEntity of HP while over it.class
Area that sends a private message to any player entering and/or leaving it.class
An base area that performs actions on RPEntity's that are entering, leaving, moving in, or standing in it's space.class
An area that only allows one play at a time to enter.class
an area which consists of tiled imagesclass
An entity that just acts as an obstacle.class
An entity that just acts as a visible obstacle like a wall.Modifier and TypeMethodDescriptionprotected boolean
Check if an entity is in this area.boolean
CreatureProtectionArea.isObstacle(Entity entity)
Checks whether a creature can enter.boolean
FlyOverArea.isObstacle(Entity entity)
boolean
OnePlayerArea.isObstacle(Entity entity)
Checks whether players, NPC's, etc.boolean
WalkBlocker.isObstacle(Entity entity)
Determine if this is an obstacle for another entity.boolean
Wall.isObstacle(Entity entity)
Determine if this is an obstacle for another entity. -
Uses of Entity in games.stendhal.server.entity.mapstuff.block
Modifier and TypeClassDescriptionclass
A solid, movable block on a map.class
An entity representing a target for a pushable block -
Uses of Entity in games.stendhal.server.entity.mapstuff.chest
Modifier and TypeClassDescriptionclass
A chest is an unmovable container.class
A chest that is for decoration purpose only.class
A PersonalChest is a Chest that can be used by everyone, but shows different contents depending on the player who is currently using it.class
A Chest whose contents are stored by the zone. -
Uses of Entity in games.stendhal.server.entity.mapstuff.game
Modifier and TypeClassDescriptionclass
class
A switch in the 9 switches gameclass
A sokoban boardclass
a target markerclass
A Tic Tac Toe board. -
Uses of Entity in games.stendhal.server.entity.mapstuff.office
Modifier and TypeClassDescriptionclass
StorableEntityList<T extends Entity>
a list of storable entities that can be accessed by a unique identifier like a name.Modifier and TypeClassDescriptionclass
are persistent arrest warrant.class
A sign rented by a player for a fixed amount of time. -
Uses of Entity in games.stendhal.server.entity.mapstuff.portal
Modifier and TypeClassDescriptionclass
class
A door is a special kind of portal which can be open or closed.class
class
A portal that can be used with a matchingHouseKey
.class
A KeyDestroyingDoor works just like a normal locked door, except that it destroys the key item when used.class
A keyed portal is a special kind of portal which requires a key to pass it.class
A portal which allows only certain levels of player to use it.class
A locked door is a special kind of portal which requires a key to pass it.class
A door to a zone which only one player may enter.class
A OneWayPortalDestination is an invisible point where players are placed when they use a portal that leads there.class
a portal which requires a password to pass throughclass
A portal which teleports the player to another portal if used.class
checks the state of a questclass
class
A portal that sends the using player to a randomly chosen destination.class
-
Uses of Entity in games.stendhal.server.entity.mapstuff.sign
Modifier and TypeClassDescriptionclass
A map object that when looked at shows the server time.class
A sign (or transparent area) which is placed on the ground and can be looked at.class
A sign (or transparent area) which is placed on the ground and can be looked at closely.class
A Reader is a sign that defaults to "transparent" and 0 resistance.class
A sign for a ShopList.class
A sign which is placed on the ground and can be right clicked by players to be read. -
Uses of Entity in games.stendhal.server.entity.mapstuff.sound
Modifier and TypeClassDescriptionclass
Plays an ambient sound in a loop.class
A sound event generating object for the churches.class
Plays an ambient sound in a loop.class
Plays a sound and music in a loop.class
Periodicially plays an ambient sound. -
Uses of Entity in games.stendhal.server.entity.mapstuff.spawner
Modifier and TypeClassDescriptionclass
Is an item producer that destroys itself when item is removed.class
A grain field can be harvested by players who have a scythe.class
This respwan point has to be "used" to get the item.class
A PassiveEntityRespawnPoint basically is a 1x1 area where a plant, a fruit or another non-moving thing grows.class
A regenerative source of food that can be eaten by sheep.class
A growing carrot which can be picked. -
Uses of Entity in games.stendhal.server.entity.mapstuff.useable
Modifier and TypeClassDescriptionclass
A coal source is a spot where a player can pick for coal.class
A fish source is a spot where a player can fish.class
A gold source is a spot where a player can prospect for gold nuggets.class
An entity that performs some activity for a player.class
Plays a sound on "use".class
an entity that can be placed on the map and will allow the client to "use" it.class
An entity that when used, tells the client to change the view center.class
A water spring source is a spot where a player can fill an empty flask with spring water.class
A well source is a spot where a player can make a wish to gain an item. -
Uses of Entity in games.stendhal.server.entity.npc
Modifier and TypeClassDescriptionclass
Simple entity used in spectacles.class
class
Base class for ghost NPCs.class
class
class
Base class for rat kid NPCs.class
A stripped down SpeakerNPC that does not interact with playersclass
This is a finite state machine that implements a chat system.class
An entity that can be used for training a player's ATK & RATK stats.Modifier and TypeMethodDescriptionboolean
void
Override this so training dummies do not lose HP & do not die.void
NPC.setMovement(Entity destEntity, double min, double max, double maxPathRadius)
moves to the given entity. -
Uses of Entity in games.stendhal.server.entity.npc.condition
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
return true if player have killed proper creature numbers.boolean
return true if player have killed proper sum of creatures.boolean
return true if player need update, or if required update was unsuccessful.boolean
boolean
boolean
Does the checking for number of creatures killedboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Uses of Entity in games.stendhal.server.entity.npc.fsm
-
Uses of Entity in games.stendhal.server.entity.player
Modifier and TypeMethodDescriptionboolean
Player.isObstacle(Entity entity)
void
Player.rememberAttacker(Entity attacker)
-
Uses of Entity in games.stendhal.server.entity.slot
Modifier and TypeMethodDescriptiongets the list of accessors for think bank.Modifier and TypeMethodDescriptionvoid
Adds an accessor for this bank.boolean
BankSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
ChestSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
ContainerItemSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
EntitySlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
GroundSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
KeyedSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
LootableSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
PersonalChestSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
PlayerKeyringSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
PlayerMoneyPouchSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
PlayerPortfolioSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
PlayerSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
PlayerTradeSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
Slot.isReachableForTakingThingsOutOfBy(Entity entity)
Is this slot reachable to take things out of?boolean
TradeCenterMarketSlot.isReachableForTakingThingsOutOfBy(Entity entity)
boolean
EntitySlot.isReachableForThrowingThingsIntoBy(Entity entity)
boolean
GroundSlot.isReachableForThrowingThingsIntoBy(Entity entity)
boolean
PlayerKeyringSlot.isReachableForThrowingThingsIntoBy(Entity entity)
boolean
PlayerMoneyPouchSlot.isReachableForThrowingThingsIntoBy(Entity entity)
boolean
PlayerPortfolioSlot.isReachableForThrowingThingsIntoBy(Entity entity)
boolean
Slot.isReachableForThrowingThingsIntoBy(Entity entity)
Is this slot reachable to put things into?boolean
TradeCenterMarketSlot.isReachableForThrowingThingsIntoBy(Entity entity)
ModifierConstructorDescriptionGroundSlot(StendhalRPZone zone, Entity item)
creates a new GroundSlot with an item.LootableSlot(Entity owner)
creates a new lootable slot. -
Uses of Entity in games.stendhal.server.entity.spell
Modifier and TypeClassDescriptionclass
A spell to attack an entityclass
A healing spell.class
Spell to modify a target's atk valueclass
Spell to modify a target's def valueclass
A spell to modify an RPEntity's base hpclass
Slow down spellclass
The base spell classModifier and TypeMethodDescriptionvoid
Casts this spell if all preconditions are fulfilled: - caster has enough mana - cooldown time expired - caster has the minimum level - target is valid for the spellprotected void
protected void
protected void
protected void
protected void
protected void
protected abstract void
Provides the concrete behaviour of each concrete spell, i.e.protected boolean
AttackingSpell.isTargetValid(Entity caster, Entity target)
protected boolean
HealingSpell.isTargetValid(Entity caster, Entity target)
protected boolean
ModifyAtkSpell.isTargetValid(Entity caster, Entity target)
protected boolean
ModifyDefSpell.isTargetValid(Entity caster, Entity target)
protected boolean
Spell.isTargetValid(Entity caster, Entity target)
Checks if the target Entity is applicable for this spell. -
Uses of Entity in games.stendhal.server.entity.spell.effect
Modifier and TypeMethodDescriptionvoid
void
applies the effectvoid
void
void
void
void
-
Uses of Entity in games.stendhal.server.entity.status
Modifier and TypeMethodDescriptionvoid
ConfuseStatusHandler.inflict(ConfuseStatus status, StatusList statusList, Entity attacker)
inflicts a statusvoid
DrunkStatusHandler.inflict(DrunkStatus status, StatusList statusList, Entity attacker)
inflicts a statusvoid
EatStatusHandler.inflict(EatStatus status, StatusList statusList, Entity attacker)
inflicts a statusvoid
HeavyStatusHandler.inflict(HeavyStatus status, StatusList statusList, Entity attacker)
void
PoisonStatusHandler.inflict(PoisonStatus status, StatusList statusList, Entity attacker)
inflicts a statusvoid
ShockStatusHandler.inflict(ShockStatus status, StatusList statusList, Entity attacker)
inflicts a statusvoid
StatusHandler.inflict(T status, StatusList statusList, Entity attacker)
inflicts a statusvoid
ZombieStatusHandler.inflict(ZombieStatus status, StatusList statusList, Entity attacker)
boolean
StatusList.inflictStatus(Status status, Entity attacker)
Add status effect to entity -
Uses of Entity in games.stendhal.server.entity.trade
-
Uses of Entity in games.stendhal.server.maps.nalwor.forest
Modifier and TypeClassDescriptionclass
static class
NPC class that manages access to training area. -
Uses of Entity in games.stendhal.server.maps.quests
-
Uses of Entity in games.stendhal.server.maps.quests.captureflag
-
Uses of Entity in games.stendhal.server.maps.quests.maze
-
Uses of Entity in games.stendhal.server.maps.quests.piedpiper
-
Uses of Entity in games.stendhal.server.maps.semos.city
-
Uses of Entity in games.stendhal.server.maps.semos.jail
-
Uses of Entity in games.stendhal.server.maps.semos.tavern.market
-
Uses of Entity in games.stendhal.server.script
-
Uses of Entity in games.stendhal.server.util
Modifier and TypeMethodDescriptionstatic Entity
EntityHelper.entityFromSlot(Player player, RPAction action)
Retrieves a specified item from a slot.static Entity
EntityHelper.entityFromTargetName(String target, Entity player)
Translate the "target" parameter of actions like "look" into an entity reference.static Entity
EntityHelper.entityFromTargetNameAnyZone(String target, Entity player)
Translate the "target" parameter of actions like "look" into an entity reference.static Entity
EntityHelper.entityFromZoneByID(int objectId, StendhalRPZone zone)
Returns an entity reference by an objectId in a zone.static Entity
EntityHelper.getEntityByName(Player player, String itemName)
gets an entity by name from the players bagstatic Entity
EntityHelper.getEntityFromPath(Player player, List<String> path)
Get an entity from path.Modifier and TypeMethodDescriptionboolean
Checks whether an entity is in this area (e.static Entity
EntityHelper.entityFromTargetName(String target, Entity player)
Translate the "target" parameter of actions like "look" into an entity reference.static Entity
EntityHelper.entityFromTargetNameAnyZone(String target, Entity player)
Translate the "target" parameter of actions like "look" into an entity reference.