= 创作分享 =
你问我答
关于CoT的一些问题!!!
Leo_Qina

关于CoT的一些问题!!!

Leo_Qina 于 2022-6-28 21:00 ( 2年前 ) [复制链接] [只看楼主] [打印]
558 0
5RF
我用BlockBench做了一个比较复杂的方块,想用CoT直接放进游戏里,我用BlockBench导出了json文件后改成了同名的放在了model文件夹下,但是好像方块的模型加载有一点问题(我感觉好像blockstates里面那个文件要改,但是我不知道怎么改)
  1. #priority 1000
  2. #loader contenttweaker

  3. import mods.contenttweaker.VanillaFactory;
  4. import mods.contenttweaker.Item;
  5. import mods.contenttweaker.Block;
  6. val SerumReactor as Block = VanillaFactory.createBlock("serum_reactor", <blockmaterial:wood>);
  7. SerumReactor.creativeTab = <creativetab:tools>;
  8. SerumReactor.blockResistance = 6.0;
  9. SerumReactor.blockHardness = 1.5;
  10. SerumReactor.blockLayer = "CUTOUT_MIPPED";
  11. SerumReactor.lightValue = 0.5;
  12. SerumReactor.register();
复制代码



TP17VN6OYN}$`CCV37YDP~U.png (193.81 KB, 下载次数: 221)

TP17VN6OYN}$`CCV37YDP~U.png
发表于 2022-6-28 21:00:27 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

回复 | 举报

该帖共收到 0 条回复!
百科目前不允许匿名发帖哦~ 请先 [ 登陆 ][ 注册 ] 吧~

本版积分规则

发新帖
  • 回复
  • 点评
  • 评分

[ MC百科(mcmod.cn) 除另有声明,所有开放公共编辑的内容均使用 BY-NC-SA 3.0 协议 ]

Minecraft百科CC协议
快速回复 返回顶部 返回列表