Yusai
认真看题,谢谢。

就是怎么定义游戏中系统自己刷出的怪物[的掉落物]

版本1.11.2

最好是几率掉落
是原版!



⊙v⊙
本帖最后由 ⊙v⊙ 于 2018-5-1 22:51 编辑

建立Loottable文件夹
http://www.mcbbs.net/thread-619304-1-1.html

然后游戏安装位置的.minecraft\versions\1.11.2\1.11.2.jar\assets\minecraft\loot_tables\entities下能看原版的掉落表
按着格式自己写一个就差不多了...

2b的loottable索引...



==============================
说简洁一点...
存档\data\loot_tables\minecraft\entities\zombie.json,内容如下
内容详细介绍等...见上面的索引
  1. {
  2.     "pools": [
  3.         {
  4.             "rolls": 1,
  5.             "entries": [
  6.                 {
  7.                     "type": "item",
  8.                     "name": "minecraft:command_block",
  9.                     "weight": 1,
  10.                     "functions": [
  11.                         {
  12.                             "function": "set_count",
  13.                             "count": {
  14.                                 "min": 0,
  15.                                 "max": 1
  16.                             }
  17.                         },
  18.                         {
  19.                             "function": "looting_enchant",
  20.                             "count": {
  21.                                 "min": 0,
  22.                                 "max": 1
  23.                             }
  24.                         }
  25.                     ]
  26.                 }
  27.             ]
  28.         },
  29.         {
  30.             "conditions": [
  31.                 {
  32.                     "condition": "killed_by_player"
  33.                 },
  34.                 {
  35.                     "condition": "random_chance_with_looting",
  36.                     "chance": 0.5,
  37.                     "looting_multiplier": 0.01
  38.                 }
  39.             ],
  40.             "rolls": 1,
  41.             "entries": [
  42.                 {
  43.                     "type": "item",
  44.                     "name": "minecraft:diamond",
  45.                     "weight": 1
  46.                 },
  47.                 {
  48.                     "type": "item",
  49.                     "name": "minecraft:diamond_block",
  50.                     "weight": 1
  51.                 },
  52.                 {
  53.                     "type": "item",
  54.                     "name": "minecraft:diamond_axe",
  55.                     "weight": 1
  56.                 }
  57.             ]
  58.         }
  59.     ]
  60. }
复制代码



青灯囚心
这个是crafttweaker(以前的mt  mod)怎么修改掉落https://crafttweaker.readthedocs ... tities/IEntityDrop/

Yusai
⊙v⊙ 发表于 2018-5-2 14:14
建立Loottable文件夹
http://www.mcbbs.net/thread-619304-1-1.html

[斜眼笑]相比之下,我这种低智商的更喜欢命令方块的那种

ruhuasiyu
微-葑-破 发表于 2018-5-2 18:17
[斜眼笑]相比之下,我这种低智商的更喜欢命令方块的那种

别这样,玩命令迟早要了解json的

我看你问了很多入门级别的问题,不如了解下我的签名档的教程?然后1.13了解下?

Yusai
嗯,我会去尝试的

STIM0v0
楼主,不妨看看这个帖子:http://www.mcbbs.net/thread-792842-1-1.html 我以前也找人回答过的,希望有帮助!

Yusai
moonzoss 发表于 2018-5-5 19:48
楼主,不妨看看这个帖子:http://www.mcbbs.net/thread-792842-1-1.html 我以前也找人回答过的,希望有帮助 ...

多谢,终于有看得懂的解决办法了

第一页 上一页 下一页 最后一页