

简介
- 轻量级 API,供其他模组使用以添加新的狐狸变种,同时保持彼此之间的兼容性
- 本身不会添加任何新的变种
- 允许通过自定义标签在生物群系中生成狐狸。
模组推荐
开发中
通用信息
召唤命令
现在可以使用字符串值作为 "variant" NBT 来召唤狐狸。
这类似于 Minecraft 在其他地方几乎都使用的命名空间系统,但对于某些实体变种(包括狐狸的)却未采用该系统。
例如,以下是召唤原版雪地变种的写法:
/summon minecraft:fox ~ ~ ~ {variant:"minecraft:snow"}
或者从自定义变体中召唤:
/summon minecraft:fox ~ ~ ~ {variant:"modid:variant"}
模组开发者信息
关于使用 API 进行模组开发的信息可在 Wiki 中找到。- 允许通过自定义标签在生物群系中添加狐狸的生成。
模组建议
开发中
所有用户须知
召唤命令
现在可以使用字符串值作为 "variant" NBT 来召唤狐狸。
这与 Minecraft 几乎在其他任何地方使用的命名空间系统类似,但对于某些实体变体(包括狐狸的)并未采用此方式。
例如,以下是召唤原版雪地变体的方法:
/summon minecraft:fox ~ ~ ~ {variant:"minecraft:snow"}
或者从自定义变体中召唤:
/summon minecraft:fox ~ ~ ~ {variant:"modid:variant"}
模组开发者信息
关于使用 API 进行模组开发的信息可在 Wiki 中找到。


Introduction
- Lightweight API that other mods can use to add new Fox Variants while keeping compatibility with each other
- Does not any new variants on its own
- Gives the possibility to add fox spawning on biomes using a custom tag.
Mod suggestions
WIP
Information for everyone
Summoning Command
Summoning fox can be now done with a string value as the "variant" nbt.
This is similar to the namespace system minecraft uses almost anywhere else but doesn't for some entity variants included the fox's.
For example this would be how to summon the vanilla snow variant:
/summon minecraft:fox ~ ~ ~ {variant:"minecraft:snow"}
Or to summon a variant from custom variants:
/summon minecraft:fox ~ ~ ~ {variant:"modid:variant"}
Information for Modders
Information dedicated to modding using the API can be found in the Wiki.- Gives the possibility to add fox spawning on biomes using a custom tag.
Mod suggestions
WIP
Information for everyone
Summoning Command
Summoning fox can be now done with a string value as the "variant" nbt.
This is similar to the namespace system minecraft uses almost anywhere else but doesn't for some entity variants included the fox's.
For example this would be how to summon the vanilla snow variant:
/summon minecraft:fox ~ ~ ~ {variant:"minecraft:snow"}
Or to summon a variant from custom variants:
/summon minecraft:fox ~ ~ ~ {variant:"modid:variant"}
Information for Modders
Information dedicated to modding using the API can be found in the Wiki.
评论 0
登录后参与评分
还没有评论,来抢沙发吧