MCTag
Этот класс был добавлен модом с mod-id crafttweaker
. Так что если вы хотите использовать эту функцию, вам нужно установить этот мод.
Импорт класса
Вам может потребоваться импортировать пакет, если вы столкнетесь с какими-либо проблемами (например, с заливкой массива), так что лучше быть в безопасности, чем извиняться и добавлять импорт.
Implemented Interfaces
MCTag implements the following interfaces. That means any method available to them can also be used on this class.
Methods
addBlocks
addEntityTypes
addItems
createBlockTag
Returns crafttweaker.api.tag.MCTag
createEntityTypeTag
Returns crafttweaker.api.tag.MCTag
createItemTag
Returns crafttweaker.api.tag.MCTag
getRemainingItem
When this ingredient stack is crafted, what will remain in the grid? Does not check if the stack matches though! Used e.g. in CrT's net.minecraft.item.crafting.ICraftingRecipe
Returns crafttweaker.api.item.IItemStack
matches
Does the given stack match the ingredient?
Возвращает boolean