Uses of Class
mmud.database.entities.items.Item
Packages that use Item
Package
Description
General info
Provides the JPA Database Entities for Characters.
Provides the JPA Database Entities.
Provides the JPA Database Entities for item definitions and item instances.
-
Uses of Item in mmud
Modifier and TypeMethodDescriptionstatic void
Constants.addInventory
(Set<Item> set, StringBuilder builder) Adds a descriptive set of the items to the string builder.static List
<PrivateItem> Constants.addInventoryForRoom
(Set<Item> set) Adds a descriptive set of the items. -
Uses of Item in mmud.database
Method parameters in mmud.database with type arguments of type ItemModifier and TypeMethodDescriptionstatic void
OutputFormatter.addShopkeeperList
(Set<Item> set, StringBuilder builder) Adds a descriptive set of the items and their buy/sell price to the string builder.static Map
<ItemDefinition, Integer> Provides a map containing description of items and their amounts. -
Uses of Item in mmud.database.entities.characters
Methods in mmud.database.entities.characters that return ItemModifier and TypeMethodDescriptionAdds anItem
to the inventory of this person.Returns the item being worn at that position.Returns the item being wielded at that position.Methods in mmud.database.entities.characters that return types with arguments of type ItemModifier and TypeMethodDescriptionReturns items in the inventory of this character, based on description provided by the user.Person.getItems()
Methods in mmud.database.entities.characters with parameters of type ItemModifier and TypeMethodDescriptionAdds anItem
to the inventory of this person.boolean
Person.destroyItem
(Item item) void
void
Picked up an item from a room.void
boolean
Indicates if an item is being worn,boolean
Person.isWielding
(Item item) Indicates if an item is being wielded,protected void
boolean
Determines if the item is being used or not.void
Makes you wear an item at a specific positionvoid
Makes you wield an item at a specific position -
Uses of Item in mmud.database.entities.game
Methods in mmud.database.entities.game that return ItemMethods in mmud.database.entities.game that return types with arguments of type ItemModifier and TypeMethodDescriptionReturns items if found, otherwise returns an empty list.Admin.getItemCollection()
Room.getItems()
Methods in mmud.database.entities.game with parameters of type ItemModifier and TypeMethodDescriptionAdds anItem
to the room.boolean
Room.destroyItem
(Item item) boolean
A person, apparently, dropped this into the room.void
Method parameters in mmud.database.entities.game with type arguments of type ItemModifier and TypeMethodDescriptionvoid
Admin.setItemCollection
(Collection<Item> itemCollection) void
-
Uses of Item in mmud.database.entities.items
Subclasses of Item in mmud.database.entities.itemsMethods in mmud.database.entities.items that return ItemModifier and TypeMethodDescriptionAdds anItem
to the bag (container).Adds anItem
to this ItemWrangler.Item.getContainer()
Retrieves the item that contains this item (if possible).Itemattribute.getItem()
Methods in mmud.database.entities.items that return types with arguments of type ItemModifier and TypeMethodDescriptionReturns items this entity has, based on description provided.ItemDefinition.getItemCollection()
Item.getItems()
Indicates the items that are contained (if possible) inside this item.ItemWrangler.getItems()
Retrieves a set of items that this entity has.Methods in mmud.database.entities.items with parameters of type ItemModifier and TypeMethodDescriptionAdds anItem
to the bag (container).Adds anItem
to this ItemWrangler.void
boolean
Item.destroyItem
(Item item) boolean
ItemWrangler.destroyItem
(Item item) Physically destroys an item instance.boolean
Verifies that the key provided can open this container.void
Item.setContainer
(Item container) void
Method parameters in mmud.database.entities.items with type arguments of type ItemModifier and TypeMethodDescriptionvoid
ItemDefinition.setItemCollection
(Collection<Item> itemCollection) void
Constructors in mmud.database.entities.items with parameters of type Item -
Uses of Item in mmud.rest.webentities.admin
Constructors in mmud.rest.webentities.admin with parameters of type Item -
Uses of Item in mmud.scripting
Methods in mmud.scripting that return Item -
Uses of Item in mmud.scripting.entities
Constructors in mmud.scripting.entities with parameters of type Item -
Uses of Item in mmud.services
Methods in mmud.services that return ItemMethods in mmud.services with parameters of type ItemModifier and TypeMethodDescriptionItemService.buy
(Item item, User aUser, Shopkeeper shopkeeper) Buys an item from a shopkeeper.boolean
Drops an item on the floor.boolean
Gets an item from off the floor/room.boolean
Gives an item from one person to another person.boolean
Puts an item into a container.boolean
Retrieves an item from a container.ItemService.sell
(Item item, User aUser, Shopkeeper shopkeeper) Sells an item from a user to a shopkeeper.