MCTag
Questa classe è stata aggiunta da una mod con ID crafttweaker
. Perciò, è necessario avere questa mod installata per poter utilizzare questa funzione.
Importing the class
Potrebbe essere necessario importare il pacchetto, se si incontrano dei problemi (come castare un vettore), quindi meglio essere sicuri e aggiungere la direttiva di importazione.
Interfacce Implementate
MCTag implements the following interfaces. Ciò significa che ogni metodo presente nell'interfaccia può essere usato anche per questa classe.
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?
Restituisce un booleano