rt,我想用addon做一个椅子一样的实体,但是现在他被打的时候会被击退。我想让他像矿车一样,被打的时候只是晃动一下,有没有类似的component或者其他的方法?感谢!
可以用runtime_identifier继承矿车或者船
比如:
复制代码
比如:
- {
- "format_version": "1.13.0",
- "minecraft:entity": {
- "description": {
- "identifier": "czzmc:chair",
- "is_spawnable": true,
- "is_summonable": true,
- "is_experimental": false,
- "runtime_identifier":"minecraft:boat"//继承了船的特性
- },
- "component_groups": {
- },
- "components": {
- ......
- },
- "events": {
- }
- }
- }