Skip navigation links
A B C E G H I L N R S T V 

A

addTags(ItemTag...) - Method in class net.lenni0451.mcstructs.items.info.ItemMeta
Add tags to the item.
addTypes(ItemType...) - Method in class net.lenni0451.mcstructs.items.info.ItemMeta
Add types to the item.
AItemStack<I,S extends AItemStack<I,S>> - Class in net.lenni0451.mcstructs.items
The abstract implementation of an item stack.
AItemStack(ItemRegistry<I, S>, I) - Constructor for class net.lenni0451.mcstructs.items.AItemStack
 

B

byType(ItemType) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Get a list of items which have the given type.

C

copy() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
copyTag() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
create(I) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Create a new item stack.
create(I, int) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Create a new item stack.
create(I, int, int) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Create a new item stack.
create(I, int, CompoundTag) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Create a new item stack.
create(I, int, int, CompoundTag) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Create a new item stack.

E

empty() - Method in class net.lenni0451.mcstructs.items.ItemRegistry
 
equals(Object) - Method in class net.lenni0451.mcstructs.items.AItemStack
 
equals(Object) - Method in class net.lenni0451.mcstructs.items.stacks.ItemStack
 
equals(Object) - Method in class net.lenni0451.mcstructs.items.stacks.LegacyItemStack
 

G

getCount() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
getCustomName() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
getDamage() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
getDamage() - Method in class net.lenni0451.mcstructs.items.stacks.ItemStack
 
getDamage() - Method in class net.lenni0451.mcstructs.items.stacks.LegacyItemStack
 
getItem() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
getMaterial(List<ItemTag>) - Static method in enum net.lenni0451.mcstructs.items.info.ItemTag
Get the material type for the given item tags.
getMaxCount() - Method in class net.lenni0451.mcstructs.items.info.ItemMeta
 
getMaxDamage() - Method in class net.lenni0451.mcstructs.items.info.ItemMeta
 
getMeta() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
getMeta(I) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Get or create the meta of an item.
getOrCreateTag() - Method in class net.lenni0451.mcstructs.items.AItemStack
Get or create a new Nbt tag for this item stack.
getRegistry() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
getRepairCost() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
getTag() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
getTags() - Method in class net.lenni0451.mcstructs.items.info.ItemMeta
Get the tags of the item.
getTypes() - Method in class net.lenni0451.mcstructs.items.info.ItemMeta
 

H

hasCustomName() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
hashCode() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
hashCode() - Method in class net.lenni0451.mcstructs.items.stacks.ItemStack
 
hashCode() - Method in class net.lenni0451.mcstructs.items.stacks.LegacyItemStack
 
hasTag() - Method in class net.lenni0451.mcstructs.items.AItemStack
 

I

isArmor(List<ItemType>) - Static method in enum net.lenni0451.mcstructs.items.info.ItemType
Check if the given item types are from an armor item.
isEmpty() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
isTool(List<ItemType>) - Static method in enum net.lenni0451.mcstructs.items.info.ItemType
Check if the given item types are from a tool item.
ItemMeta - Class in net.lenni0451.mcstructs.items.info
The metadata of items.
ItemMeta() - Constructor for class net.lenni0451.mcstructs.items.info.ItemMeta
 
ItemRegistry<I,S extends AItemStack<I,S>> - Class in net.lenni0451.mcstructs.items
The registry for all items and their metadata.
ItemRegistry(BiFunction<ItemRegistry<I, S>, I, S>) - Constructor for class net.lenni0451.mcstructs.items.ItemRegistry
 
ItemStack<I> - Class in net.lenni0451.mcstructs.items.stacks
The implementation of AItemStack which stores the damage value in the Nbt tag.
ItemStack(ItemRegistry<I, ItemStack<I>>, I) - Constructor for class net.lenni0451.mcstructs.items.stacks.ItemStack
 
ItemTag - Enum in net.lenni0451.mcstructs.items.info
The tags an item can have.
ItemType - Enum in net.lenni0451.mcstructs.items.info
The types an item can have.

L

LegacyItemStack<I> - Class in net.lenni0451.mcstructs.items.stacks
The implementation of AItemStack which has a damage value.
LegacyItemStack(ItemRegistry<I, LegacyItemStack<I>>, I) - Constructor for class net.lenni0451.mcstructs.items.stacks.LegacyItemStack
 

N

net.lenni0451.mcstructs.items - package net.lenni0451.mcstructs.items
 
net.lenni0451.mcstructs.items.info - package net.lenni0451.mcstructs.items.info
 
net.lenni0451.mcstructs.items.stacks - package net.lenni0451.mcstructs.items.stacks
 

R

removeCustomName() - Method in class net.lenni0451.mcstructs.items.AItemStack
Remove the custom name of this item stack.
requireByType(ItemType) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Get a required item by its type.
requireByType(ItemType, int) - Method in class net.lenni0451.mcstructs.items.ItemRegistry
Get a required list of items with the given type.

S

setCount(int) - Method in class net.lenni0451.mcstructs.items.AItemStack
Set the count of this item stack.
setCustomName(String) - Method in class net.lenni0451.mcstructs.items.AItemStack
Set the custom name of this item stack.
setDamage(int) - Method in class net.lenni0451.mcstructs.items.AItemStack
Set the damage of this item stack.
setDamage(int) - Method in class net.lenni0451.mcstructs.items.stacks.ItemStack
 
setDamage(int) - Method in class net.lenni0451.mcstructs.items.stacks.LegacyItemStack
 
setMaxCount(int) - Method in class net.lenni0451.mcstructs.items.info.ItemMeta
Set the max count of the item.
setMaxDamage(int) - Method in class net.lenni0451.mcstructs.items.info.ItemMeta
Set the max damage of the item.
setRepairCost(int) - Method in class net.lenni0451.mcstructs.items.AItemStack
Set the repair cost of this item stack.
setTag(CompoundTag) - Method in class net.lenni0451.mcstructs.items.AItemStack
Set the Nbt tag of this item stack.
split(int) - Method in class net.lenni0451.mcstructs.items.AItemStack
Split an item stack into two stacks.

T

toString() - Method in class net.lenni0451.mcstructs.items.AItemStack
 
toString() - Method in class net.lenni0451.mcstructs.items.stacks.ItemStack
 
toString() - Method in class net.lenni0451.mcstructs.items.stacks.LegacyItemStack
 

V

valueOf(String) - Static method in enum net.lenni0451.mcstructs.items.info.ItemTag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.lenni0451.mcstructs.items.info.ItemType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lenni0451.mcstructs.items.info.ItemTag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.lenni0451.mcstructs.items.info.ItemType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E G H I L N R S T V 
Skip navigation links