Uses of Class
games.stendhal.server.entity.item.Item
Package
Description
the scripting backend.
Entities are all the interactive objects of the gaming world
(including players, NPCs, creatures, items, signs, chests, portals, ...)
Events are notifications send from the server to the clients.
-
Uses of Item in games.stendhal.server.core.engine
Modifier and TypeMethodDescriptionvoid
void
ItemLogger.loadOnLogin(Player player, RPSlot slot, Item item)
void
void
void
void
Call when the item or its container times out, or the containing zone is destroyed -
Uses of Item in games.stendhal.server.core.engine.dbcommand
ModifierConstructorDescriptionLogTradeEventCommand(Player player, Item item, int quantity, int price)
logs a trade event -
Uses of Item in games.stendhal.server.core.engine.transformer
-
Uses of Item in games.stendhal.server.core.events
Modifier and TypeMethodDescriptionstatic void
TutorialNotifier.equippedByNPC(Player player, Item item)
player got something given from an equip item action of an npc -
Uses of Item in games.stendhal.server.core.rule
Modifier and TypeMethodDescriptionReturns the item ornull
if the clazz is unknown. -
Uses of Item in games.stendhal.server.core.rule.defaultruleset
Modifier and TypeMethodDescriptionprotected AbstractCreator<Item>
DefaultItem.buildCreator(Class<?> implementation)
Build a creator for the class.DefaultEntityManager.getItems()
-
Uses of Item in games.stendhal.server.core.rule.defaultruleset.creator
Modifier and TypeMethodDescriptionprotected Item
AttributesItemCreator.createObject()
protected Item
DefaultItemCreator.createObject()
protected Item
FullItemCreator.createObject()
-
Uses of Item in games.stendhal.server.core.scripting
-
Uses of Item in games.stendhal.server.core.scripting.lua
-
Uses of Item in games.stendhal.server.entity
Modifier and TypeMethodDescriptionRPEntity.getArmor()
RPEntity.getBoots()
RPEntity.getCloak()
RPEntity.getEquippedItemClass(String slot, String clazz)
Finds the first item of class clazz from the slot.RPEntity.getFirstEquipped(String name)
Gets an item that is carried by the RPEntity.RPEntity.getHelmet()
RPEntity.getLegs()
RPEntity.getRangeWeapon()
Gets the range weapon (bow etc.) that this entity is holding in its hands.RPEntity.getRing()
RPEntity.getShield()
RPEntity.getWeapon()
Gets the weapon that this entity is holding in its hands.Modifier and TypeMethodDescriptionRPEntity.getAllEquipped(String name)
Gets an item that is carried by the RPEntity.RPEntity.getAllEquippedWithInfostring(String name, String infostring)
Retrieves all of an item with matching info string.RPEntity.getDefenseItems()
get all items that affect a player's defensive value except the weaponRPEntity.getDroppables()
return list of all droppable items in entity's hands.RPEntity.getWeapons()
Modifier and TypeMethodDescriptionboolean
Removes the given item from the RPEntity.void
RPEntity.dropDroppableItem(Item droppable)
Drop specified item from entity's equipment note: seems like this.drop(droppable) should work, but the item just disappears - does not end up on ground.boolean
Tries to equip one unit of an item in the given slot.boolean
RPEntity.equipOrPutOnGround(Item item)
Tries to equip an item in the appropriate slot.boolean
RPEntity.equipToInventoryOnly(Item item)
Tries to equip an item in the appropriate slot.RPEntity.getSlotToEquip(Item item)
Gets the slot in which the entity can equip the item, preferring locations where the item can be merged with existing item stacks.Modifier and TypeMethodDescriptionvoid
RPEntity.handleLifesteal(RPEntity attacker, List<Item> attackerWeapons, int damage)
Calculate lifesteal and update hp of source. -
Uses of Item in games.stendhal.server.entity.creature
Modifier and TypeFieldDescriptionCreature.dropItemInstances
This list of item instances this creature may drop for use in quests.Modifier and TypeMethodDescriptionvoid
Creature.addDropItem(Item item)
adds a specific item to the List of Items that will be dropped on dead with 100 % probability. -
Uses of Item in games.stendhal.server.entity.equip
-
Uses of Item 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
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
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 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.ModifierConstructorDescriptionDummyWeapon(Item item)
Copy constructor.copy constructor.ItemInformation(Item item)
copy constructor.SlotActivatedItem(Item item)
Copy constructor -
Uses of Item in games.stendhal.server.entity.item.behavior
-
Uses of Item 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 Item in games.stendhal.server.entity.item.timed
Modifier and TypeClassDescriptionclass
class
Abstract base class for a stackable timed item. -
Uses of Item 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 Item in games.stendhal.server.entity.mapstuff.sign
Modifier and TypeMethodDescriptionShopSign.generateItemList()
Generates the item list for this shop.ShopSign.generateItemList(Map<String,Integer> items)
Generates the item list for this shop. -
Uses of Item in games.stendhal.server.entity.mapstuff.spawner
Modifier and TypeMethodDescriptionvoid
FlowerGrower.onFruitPicked(Item picked)
Removes this from world.void
GrowingPassiveEntityRespawnPoint.onFruitPicked(Item picked)
void
PassiveEntityRespawnPoint.onFruitPicked(Item picked)
Is called when a fruit has been picked from this plant grower.void
SheepFood.onFruitPicked(Item picked)
-
Uses of Item in games.stendhal.server.entity.npc.behaviour.impl
Modifier and TypeMethodDescriptionSeedSellerBehaviour.getAskedItem(String askedItem, Player player)
SellerBehaviour.getAskedItem(String askedItem)
SellerBehaviour.getAskedItem(String askedItem, Player player)
-
Uses of Item in games.stendhal.server.entity.npc.behaviour.impl.prices
Modifier and TypeMethodDescriptionint
FixedPricePriceCalculationStrategy.calculatePrice(Item i, Player p)
int
PriceCalculationStrategy.calculatePrice(Item i, Player p)
Calculate a priceint
RepairingPriceCalculationStrategy.calculatePrice(Item i, Player p)
-
Uses of Item in games.stendhal.server.entity.player
Modifier and TypeMethodDescriptionboolean
static void
UpdateConverter.updateItemAttributes(Item item)
-
Uses of Item in games.stendhal.server.entity.trade
Modifier and TypeMethodDescriptionMarket.createOffer(Player offerer, Item item, Integer money, Integer number)
creates a new offer at the market -
Uses of Item in games.stendhal.server.events
ModifierConstructorDescriptionShowItemListEvent(String title, String caption, Collection<Item> items)
Creates a new ShowItemListEvent. -
Uses of Item in games.stendhal.server.maps.semos.tavern.market
Modifier and TypeMethodDescriptionPrepareOfferHandler.buildTweetMessage(Item i, int q, int p)
Builds the message for the tweet to be postedprotected int
OfferHandler.getQuantity(Item item)