Package net.xun.armory.api.item.tools
Interface ToolItemFactories.VanillaItemConstructor
- Enclosing class:
ToolItemFactories
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface matching the constructor signature of most vanilla tool classes.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.Itemcreate(net.minecraft.world.item.Tier tier, net.minecraft.world.item.Item.Properties properties) Creates an item using the given tier and properties.
-
Method Details
-
create
net.minecraft.world.item.Item create(net.minecraft.world.item.Tier tier, net.minecraft.world.item.Item.Properties properties) Creates an item using the given tier and properties.- Parameters:
tier- the material tier (nevernull)properties- the item properties (nevernull)- Returns:
- the created item, never
null
-