MCBiomeSpawnEntry

Link to mcbiomespawnentry

这个类由mod-id为crafttweaker的模组添加. 因此,如果要使用此功能,则需要安装此mod。

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

ZenScript
Copy
crafttweaker.api.world.MCBiomeSpawnEntry

Constructor #构造函数

Link to constructor-构造函数

ZenScript
Copy
new 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