|
{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"animations": {
"flying": "animation.actor.billboard"
},
"geometry": {
"default": "geometry.item_sprite"
},
"identifier": "moshan:feigong",
"materials": {
"default": "splash_potion_enchanted"
},
"render_controllers": [
"controller.render.splash_potion"
],
"scripts": {
"animate": [
"flying"
]
},
"textures": {
"absorption": "textures/items/potion_bottle_splash_absorption",
"blindness": "textures/items/potion_bottle_splash_blindness",
"confusion": "textures/items/potion_bottle_splash_confusion",
"damageBoost": "textures/items/potion_bottle_splash_damageBoost",
"default": "textures/items/potion_bottle_splash",
"digSlowdown": "textures/items/potion_bottle_splash_digSlowdown",
"digSpeed": "textures/items/potion_bottle_splash_digSpeed",
"enchanted": "textures/misc/enchanted_item_glint",
"fireResistance": "textures/items/potion_bottle_splash_fireResistance",
"harm": "textures/items/potion_bottle_splash_harm",
"heal": "textures/items/potion_bottle_splash_heal",
"healthBoost": "textures/items/potion_bottle_splash_healthBoost",
"hunger": "textures/items/potion_bottle_splash_hunger",
"invisibility": "textures/items/potion_bottle_splash_invisibility",
"jump": "textures/items/potion_bottle_splash_jump",
"levitation": "textures/items/potion_bottle_splash_levitation",
"moveSlowdown": "textures/items/potion_bottle_splash_moveSlowdown",
"moveSpeed": "textures/items/potion_bottle_splash_moveSpeed",
"nightVision": "textures/items/potion_bottle_splash_nightVision",
"poison": "textures/items/potion_bottle_splash_poison",
"regeneration": "textures/items/potion_bottle_splash_regeneration",
"resistance": "textures/items/potion_bottle_splash_resistance",
"saturation": "textures/items/potion_bottle_splash_saturation",
"slowFall": "textures/items/potion_bottle_splash_slowFall",
"turtleMaster": "textures/items/potion_bottle_splash_turtleMaster",
"waterBreathing": "textures/items/potion_bottle_splash_waterBreathing",
"weakness": "textures/items/potion_bottle_splash_weakness",
"wither": "textures/items/potion_bottle_splash_wither"
}
}
}
}
解释:
几何体设置为 item_sprite,这是 Minecraft 中用于显示物品样式的一个内置平面几何体
splash_potion_enchanted 材质,通常表示一种闪烁的魔法药水材质
"scripts": { "animate": ["flying"] }
定义这个实体一开始就自动播放 "flying" 动画(也就是永远面向玩家的效果),不依赖状态机。 |
|