Package com.minecolonies.api.crafting
Class ExactMatchItemStorage
java.lang.Object
com.minecolonies.api.crafting.ItemStorage
com.minecolonies.api.crafting.ExactMatchItemStorage
Used to exact match stacks when storing them.
-
Field Summary
Fields inherited from class com.minecolonies.api.crafting.ItemStorage
shouldIgnoreDamageValue, shouldIgnoreNBTValue -
Constructor Summary
ConstructorsConstructorDescriptionExactMatchItemStorage(@NotNull net.minecraft.world.item.ItemStack stack) Creates an instance of the storage. -
Method Summary
Methods inherited from class com.minecolonies.api.crafting.ItemStorage
copy, getAmount, getDamageValue, getItem, getItemStack, getItemStackOfListMatchingPredicate, getRemainingDurablityValue, hashCode, ignoreDamageValue, ignoreNBT, isEmpty, matchDefinitionEquals, setAmount, toImmutable, toString
-
Constructor Details
-
ExactMatchItemStorage
public ExactMatchItemStorage(@NotNull @NotNull net.minecraft.world.item.ItemStack stack) Creates an instance of the storage.- Parameters:
stack- the stack.
-
-
Method Details
-
equals
- Overrides:
equalsin classItemStorage
-