MCTagWithAmount<T : Object>
Link to mctagwithamountt--object
Импорт класса
Link to импорт-класса
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.tag.MCTagWithAmount;
Implemented Interfaces
Link to implemented-interfaces
MCTagWithAmount implements the following interfaces. That means all methods defined in these interfaces are also available in MCTagWithAmount
Методы
Link to методы
Name: getAmount
Return Type: int
ZenScript Copy// MCTagWithAmount.getAmount() as int
myMCTagWithAmount.getAmount();
Name: getTag
Return Type: MCTag<T>
ZenScript Copy// MCTagWithAmount.getTag() as MCTag<T>
myMCTagWithAmount.getTag();
Name: setAmount
Return Type: MCTagWithAmount<T>
ZenScript CopyMCTagWithAmount.setAmount(amount as int) as MCTagWithAmount<T>
Параметр | Тип | Описание |
---|---|---|
Параметр amount | Тип int | Описание No Description Provided |
Свойства
Link to свойства
Название | Тип | Имеет Getter | Имеет Setter | Описание |
---|---|---|---|---|
Название amount | Тип int | Имеет Getter true | Имеет Setter true | Описание No Description Provided |
Название tag | Тип MCTag<T> | Имеет Getter true | Имеет Setter false | Описание No Description Provided |