MC百科社群

标题: 关于CoT的一些问题!!! [打印本页]

作者: Leo_Qina    时间: 2022-6-28 21:00
标题: 关于CoT的一些问题!!!
我用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





欢迎光临 MC百科社群 (https://bbs.mcmod.cn/) MC百科|最大的MineCraft中文模组百科