MCBiomeSpawnEntry
Link to mcbiomespawnentry
这个类由mod-id为crafttweaker
的模组添加. 因此,如果要使用此功能,则需要安装此mod。
导入类
Link to 导入类
如果遇到任何问题(例如强制转换数组),则可能需要导入软件包,因此,最好的方式就是导入包支持。
ZenScript Copycrafttweaker.api.world.MCBiomeSpawnEntry
Constructor #构造函数
Link to constructor-构造函数
ZenScript Copynew crafttweaker.api.world.MCBiomeSpawnEntry(entityType as crafttweaker.api.entity.MCEntityType, weight as int, minGroupCount as int, maxGroupCount as int);
参数 | 类型 | 描述 |
---|---|---|
参数 entityType | 类型 crafttweaker.api.entity.MCEntityType | 描述 No description provided |
参数 weight | 类型 int | 描述 No description provided |
参数 minGroupCount | 类型 int | 描述 No description provided |
参数 maxGroupCount | 类型 int | 描述 No description provided |
名称 | 类型 | 可获得 | 可设置 |
---|---|---|---|
名称 entityType | 类型 crafttweaker.api.entity.MCEntityType | 可获得 true | 可设置 false |
名称 maxGroupCount | 类型 int | 可获得 true | 可设置 false |
名称 minGroupCount | 类型 int | 可获得 true | 可设置 false |
名称 weight | 类型 int | 可获得 true | 可设置 false |