Uses of Class
games.stendhal.server.entity.item.Item
Packages that use Item
Package
Description
the scripting backend.
Lua scripting interface.
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
Methods in games.stendhal.server.core.engine that return types with arguments of type ItemMethods in games.stendhal.server.core.engine with parameters of type ItemModifier and TypeMethodDescriptionvoidvoidItemLogger.loadOnLogin(Player player, RPSlot slot, Item item) voidvoidvoidvoidLog a summoned item.voidCall when the item or its container times out, or the containing zone is destroyed -
Uses of Item in games.stendhal.server.core.engine.dbcommand
Constructors in games.stendhal.server.core.engine.dbcommand with parameters of type ItemModifierConstructorDescriptionLogTradeEventCommand(Player player, Item item, int quantity, int price) logs a trade event -
Uses of Item in games.stendhal.server.core.engine.transformer
Methods in games.stendhal.server.core.engine.transformer that return Item -
Uses of Item in games.stendhal.server.core.events
Methods in games.stendhal.server.core.events with parameters of type ItemModifier and TypeMethodDescriptionstatic voidTutorialNotifier.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
Methods in games.stendhal.server.core.rule that return ItemModifier and TypeMethodDescriptionReturns the item ornullif the clazz is unknown.Methods in games.stendhal.server.core.rule that return types with arguments of type Item -
Uses of Item in games.stendhal.server.core.rule.defaultruleset
Methods in games.stendhal.server.core.rule.defaultruleset that return ItemMethods in games.stendhal.server.core.rule.defaultruleset that return types with arguments of type ItemModifier and TypeMethodDescriptionprotected AbstractCreator<Item>DefaultItem.buildCreator(Class<?> implementation) Build a creator for the class.DefaultItem.getCreator()DefaultEntityManager.getItems() -
Uses of Item in games.stendhal.server.core.rule.defaultruleset.creator
Methods in games.stendhal.server.core.rule.defaultruleset.creator that return ItemModifier and TypeMethodDescriptionprotected ItemAttributesItemCreator.createObject()protected ItemDefaultItemCreator.createObject()protected ItemFullItemCreator.createObject() -
Uses of Item in games.stendhal.server.core.scripting
Methods in games.stendhal.server.core.scripting that return Item -
Uses of Item in games.stendhal.server.core.scripting.lua
Methods in games.stendhal.server.core.scripting.lua that return Item -
Uses of Item in games.stendhal.server.entity
Methods in games.stendhal.server.entity that return ItemModifier 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.Methods in games.stendhal.server.entity that return types with arguments of type ItemModifier and TypeMethodDescriptionRPEntity.getAllEquipped(String name) Gets an item that is carried by the RPEntity.RPEntity.getAllEquippedWithItemdata(String name, String itemdata) 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()Methods in games.stendhal.server.entity with parameters of type ItemModifier and TypeMethodDescriptionbooleanRemoves the given item from the RPEntity.voidRPEntity.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.final booleanTries to equip one unit of an item in the given slot.final booleanRPEntity.equipOrPutOnGround(Item item) Tries to equip an item in the appropriate slot.final booleanRPEntity.equipToInventoryOnly(Item item) Tries to equip an item in the appropriate slot.final RPSlotRPEntity.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.Method parameters in games.stendhal.server.entity with type arguments of type ItemModifier and TypeMethodDescriptionvoidRPEntity.handleLifesteal(RPEntity attacker, List<Item> attackerWeapons, int damage) Calculate lifesteal and update hp of source. -
Uses of Item in games.stendhal.server.entity.creature
Fields in games.stendhal.server.entity.creature with type parameters of type ItemModifier and TypeFieldDescriptionCreature.dropItemInstancesThis list of item instances this creature may drop for use in quests.Methods in games.stendhal.server.entity.creature with parameters of type ItemModifier and TypeMethodDescriptionvoidCreature.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
Methods in games.stendhal.server.entity.equip that return Item -
Uses of Item in games.stendhal.server.entity.item
Subclasses of Item in games.stendhal.server.entity.itemModifier and TypeClassDescriptionclassclassa basket which can be unwrapped.classItem class that shows some basic information about enemies around Faiumoni.classa box which can be unwrapped.classAn item that wears & breaks.classrepresents the flag in Capture the Flag games - when player holds flag in hand, outfit displays flag.classRepresents everything that can be consumed by RPentity.classImplementation of container items, such as bags and key rings.classclassclassWeapons that can be given to creatures to adjust their rate of attack, without giving them a visible weapon.classclassclassclassA key that matches if the gate identifier is right.classA key that matches if the identifier and lock number are the right.classclassan item to survive in some environments (e.classA GM only item to help in checking houses.classclassclassRepresents a creature summon staff.classRepresents a stackable item for which we do not want 'Stats' to show in description.classClass representing an item owned by an entity.classA present which can be unwrapped.classclassA ring that protects from XP loss.classA seed can be planted.classclassAn item that can be activated by being held in specific slots.classclassConsumable item that can be used to cure/prevent a single or multiple status effects.classAn item that is resistant to status attacks when equipped.classa stocking which can be openedclassRepresents a marked teleport scroll which also poisoned the player.classclassA special ring that allows the owner to teleport to his or her spouse.Constructors in games.stendhal.server.entity.item with parameters of type ItemModifierConstructorDescriptioncopy constructor.ItemInformation(Item item) copy constructor.SlotActivatedItem(Item item) Copy constructor -
Uses of Item in games.stendhal.server.entity.item.behavior
Methods in games.stendhal.server.entity.item.behavior with parameters of type Item -
Uses of Item in games.stendhal.server.entity.item.scroll
Subclasses of Item in games.stendhal.server.entity.item.scrollModifier and TypeClassDescriptionclassRepresents the balloon that takes the player to 7 kikareukin clouds, after which it will teleport player to a random location in 6 kikareukin islands.classRepresents an empty/blank pet scroll.classRepresents an empty/unmarked teleport scroll.classRepresents an teleport scroll that acts as an invitation to an event.classRepresents a marked teleport scroll.classRepresents 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.classRepresents a scroll.classRepresents a creature summon pet scroll.classRepresents a creature summon scroll.classRepresents a general teleport scroll.classRepresents 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.classRepresents 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
Subclasses of Item in games.stendhal.server.entity.item.timedModifier and TypeClassDescriptionclassclassAbstract base class for a stackable timed item. -
Uses of Item in games.stendhal.server.entity.item.token
Subclasses of Item in games.stendhal.server.entity.item.tokenModifier and TypeClassDescriptionclassa token to be used on a game boardclassTokens are items which trigger an event on movement. -
Uses of Item in games.stendhal.server.entity.mapstuff.sign
Methods in games.stendhal.server.entity.mapstuff.sign that return types with arguments of type ItemModifier 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
Methods in games.stendhal.server.entity.mapstuff.spawner with parameters of type ItemModifier and TypeMethodDescriptionvoidFlowerGrower.onFruitPicked(Item picked) Removes this from world.voidGrowingPassiveEntityRespawnPoint.onFruitPicked(Item picked) voidPassiveEntityRespawnPoint.onFruitPicked(Item picked) Is called when a fruit has been picked from this plant grower.voidSheepFood.onFruitPicked(Item picked) -
Uses of Item in games.stendhal.server.entity.npc.behaviour.impl
Methods in games.stendhal.server.entity.npc.behaviour.impl that return ItemModifier 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
Methods in games.stendhal.server.entity.npc.behaviour.impl.prices with parameters of type ItemModifier and TypeMethodDescriptionintFixedPricePriceCalculationStrategy.calculatePrice(Item i, Player p) intPriceCalculationStrategy.calculatePrice(Item i, Player p) Calculate a priceintRepairingPriceCalculationStrategy.calculatePrice(Item i, Player p) -
Uses of Item in games.stendhal.server.entity.player
Methods in games.stendhal.server.entity.player that return ItemMethods in games.stendhal.server.entity.player with parameters of type ItemModifier and TypeMethodDescriptionbooleanstatic voidUpdateConverter.updateItemAttributes(Item item) -
Uses of Item in games.stendhal.server.entity.trade
Methods in games.stendhal.server.entity.trade that return ItemMethods in games.stendhal.server.entity.trade with parameters of type ItemModifier and TypeMethodDescriptionMarket.createOffer(Player offerer, Item item, Integer money, Integer number) creates a new offer at the marketConstructors in games.stendhal.server.entity.trade with parameters of type Item -
Uses of Item in games.stendhal.server.events
Constructor parameters in games.stendhal.server.events with type arguments of type ItemModifierConstructorDescriptionShowItemListEvent(String title, String caption, Collection<Item> items) Creates a new ShowItemListEvent. -
Uses of Item in games.stendhal.server.maps.quests.a_grandfathers_wish
Subclasses of Item in games.stendhal.server.maps.quests.a_grandfathers_wishModifier and TypeClassDescriptionclassA special item for An Old Man's Wish quest. -
Uses of Item in games.stendhal.server.maps.semos.tavern.market
Methods in games.stendhal.server.maps.semos.tavern.market with parameters of type ItemModifier and TypeMethodDescriptionPrepareOfferHandler.buildTweetMessage(Item i, int q, int p) Builds the message for the tweet to be postedprotected intOfferHandler.getQuantity(Item item) -
Uses of Item in utilities.RPClass
Methods in utilities.RPClass that return ItemModifier and TypeMethodDescriptionstatic ItemItemTestHelper.createItem()static ItemItemTestHelper.createItem(String name) static ItemItemTestHelper.createItem(String name, int quantity)