ItemBuilderBasic

项目的基本生成器,也由 mods.contenttweeper.item.basicItemBuilderBasic#build 调用。 Does not have any special properties, it exists.

This class was added by a mod with mod-id contenttweaker. 因此,如果要使用此功能,则需要安装此mod。

导入相关包

如果遇到任何问题(例如强制转换数组),则可能需要导入软件包,因此,最好的方式就是导入包支持。

mods.contenttweeper.item.basicItemBuilderBasic

已实现的接口

ItemBuilderBasic implements the following interfaces. 这意味着对这个接口可用的任何方法也可以在此类上使用。

方法

build

Instructs CoT to actually build whatever this builder is supposed to be building.

new ItemBuilder().withType<ItemBuilderBasic>().build(resourceLocation as String);
new ItemBuilder().withType<ItemBuilderBasic>().build("my_awesome_block");
参数类型描述
resourceLocationStringThe resource path to give this block