Class EncodedPatternItemBuilder<T extends IPatternDetails>
java.lang.Object
appeng.api.crafting.EncodedPatternItemBuilder<T>
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.Itembuild(net.minecraft.world.item.Item.Properties p) Builds the pattern item and returns it.When a pattern can no longer be decoded successfully, a custom strategy can be used to still provide the player with some useful information about the invalid pattern (such as: what was it crafting? with which ingredients?)
-
Method Details
-
invalidPatternTooltip
When a pattern can no longer be decoded successfully, a custom strategy can be used to still provide the player with some useful information about the invalid pattern (such as: what was it crafting? with which ingredients?) -
build
public net.minecraft.world.item.Item build(net.minecraft.world.item.Item.Properties p) Builds the pattern item and returns it. Register this item within your mod, and ensure:- >You need to provide an item model.
- >You need to provide an item name translation.
-