本帖最后由 CYP大神 于 2016-4-10 13:59 编辑
https://player.youku.com/embed/XMTUyOTQ5MjAxNg==
第一个本mod
上图
made上错图了然后这个删除线也画错了
全部事件代码:高能慎入!1200+行数!
第一个本mod
上图

他会掉唱片!

会生成附魔台,或者给你肌肉,还有顶着药水的蠹虫。这个药水变了,不再是投掷药水,而是持续性范围药水


坑人的苦力怕,叫做nope的高压JJ是真的nope,爆炸威力极小。但是如果他叫rouletteores creeper,爆炸威力会很高!
可以看到还会掉落青金石、红石、黄金等其他矿物,以及闪烁的西瓜、金萝卜等等

蠹虫的药水

没错,会生成一大堆史莱姆,瞬间群殴致死。。。。我回来之后他们都消失了。

这是一个点燃的TNT,威力不变,但是爆炸时间长。。我当时的心里是这样的:
啊我擦挖出了一个 TNT!快跑啊~~~~
怎么不炸?
作者居然吓唬我,弄了个假的!
回去继续挖!
卧槽炸了!
楼主——卒

掉在地上的钻石装备,貌似只有胸甲和鞋子,保护三耐久三附魔(耐久三不是100%)

这是个HIm。一个血超级厚的僵尸带着Him头手持方天画戟武器,攻击力3-4颗心(裸体),出场前还会丢个失明药水。
made上错图了然后这个删除线也画错了
全部事件代码:高能慎入!1200+行数!
最后一个就是群殴史莱姆。。。倒数第二个是Him,可以看到他手持钻石镐,200血,打死后除了脑袋上的东西都会掉落(因为是Him头。。。)
当然这个mod有一个他自己的矿,不管你设置的触发几率是多少,挖这个矿是绝对会触发事件的。大致模样就是彩色矿石飘着一只骷髅头。
再来讲一下怎么添加事件,以HIM为例
这是一个完整的事件
name:事件名称
event:事件
delay:时间(游戏刻)比如第一个事件限时挖掉钻石块,delay0就是在事件触发(挖掉矿)时过0刻,再往下20刻时说Set,就是1秒之后在聊天框显示Set,再过一秒Dig,再过0.05秒(1刻,即delay:1,叠加上刚才的时间应该是delay:61)放置一个钻石块,然后给你几秒去挖,到时间放置空气,说Time is up
command:指令,就是在命令方块里输的。
后缀:
}
],
"req_mods": []
},
https://player.youku.com/embed/XMTUyOTQ5MjAxNg==
第一个本mod
上图
made上错图了然后这个删除线也画错了
全部事件代码:高能慎入!1200+行数!
2021.12 数据,可能有更多内容
http://v.youku.com/v_show/id_XMTUyOTQ5MjAxNg==.html第一个本mod
上图

他会掉唱片!

会生成附魔台,或者给你肌肉,还有顶着药水的蠹虫。这个药水变了,不再是投掷药水,而是持续性范围药水


坑人的苦力怕,叫做nope的高压JJ是真的nope,爆炸威力极小。但是如果他叫rouletteores creeper,爆炸威力会很高!
可以看到还会掉落青金石、红石、黄金等其他矿物,以及闪烁的西瓜、金萝卜等等

蠹虫的药水

没错,会生成一大堆史莱姆,瞬间群殴致死。。。。我回来之后他们都消失了。

这是一个点燃的TNT,威力不变,但是爆炸时间长。。我当时的心里是这样的:
啊我擦挖出了一个 TNT!快跑啊~~~~
怎么不炸?
作者居然吓唬我,弄了个假的!
回去继续挖!
卧槽炸了!
楼主——卒

掉在地上的钻石装备,貌似只有胸甲和鞋子,保护三耐久三附魔(耐久三不是100%)

这是个HIm。一个血超级厚的僵尸带着Him头手持方天画戟
made上错图了然后这个删除线也画错了
全部事件代码:高能慎入!1200+行数!
代码:
- [
- {
- "name": "Ore Murder",
- "events": [
- {
- "delay": 0,
- "command": "/tell VAR_NAME You just murdered an innocent ore :("
- }
- ],
- "req_mods": []
- },
- {
- "name": "Think quick",
- "events": [
- {
- "delay": 0,
- "command": "/tell VAR_NAME Ready..."
- },
- {
- "delay": 40,
- "command": "/tell VAR_NAME Set..."
- },
- {
- "delay": 80,
- "command": "/tell VAR_NAME DIG!"
- },
- {
- "delay": 81,
- "command": "/setblock ~ ~ ~ minecraft:diamond_block"
- },
- {
- "delay": 160,
- "command": "/setblock ~ ~ ~ minecraft:air"
- },
- {
- "delay": 161,
- "command": "/tell VAR_NAME Time\u0027s Up!"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Think quick",
- "events": [
- {
- "delay": 0,
- "command": "/tell VAR_NAME Ready..."
- },
- {
- "delay": 40,
- "command": "/tell VAR_NAME Set..."
- },
- {
- "delay": 80,
- "command": "/tell VAR_NAME DIG!"
- },
- {
- "delay": 81,
- "command": "/setblock ~ ~ ~ minecraft:emerald_block"
- },
- {
- "delay": 160,
- "command": "/setblock ~ ~ ~ minecraft:air"
- },
- {
- "delay": 161,
- "command": "/tell VAR_NAME Time\u0027s Up!"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Think quick",
- "events": [
- {
- "delay": 0,
- "command": "/tell VAR_NAME Ready..."
- },
- {
- "delay": 40,
- "command": "/tell VAR_NAME Set..."
- },
- {
- "delay": 80,
- "command": "/tell VAR_NAME NOPE!"
- },
- {
- "delay": 81,
- "command": "/summon EnderCrystal ~ ~ ~"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Roulette Creeper",
- "events": [
- {
- "delay": 0,
- "command": "/summon Creeper ~ ~ ~ {powered:1,CustomName:Roulette Creeper,ExplosionRadius:0}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Roulette Creeper",
- "events": [
- {
- "delay": 0,
- "command": "/summon Creeper ~ ~ ~ {powered:1,CustomName:Roulette Creeper,ExplosionRadius:0}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Roulette Creeper",
- "events": [
- {
- "delay": 0,
- "command": "/summon Creeper ~ ~ ~ {powered:1,CustomName:Roulette Creeper,ExplosionRadius:0}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Roulette Creeper",
- "events": [
- {
- "delay": 0,
- "command": "/summon Creeper ~ ~ ~ {powered:1,CustomName:Roulette Creeper,ExplosionRadius:0}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Roulette Creeper",
- "events": [
- {
- "delay": 0,
- "command": "/summon Creeper ~ ~ ~ {powered:1,CustomName:Roulette Creeper,ExplosionRadius:16}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Homing TNT",
- "events": [
- {
- "delay": 0,
- "command": "/summon XPOrb ~ ~ ~ {Passengers:[{id:PrimedTnt,Fuse:200}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Bedrock",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:bedrock"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Roulette Ore",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ rouletteores:roulette_ore"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Gold Block",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:gold_block"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Iron Block",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:iron_block"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Diamond Block",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:diamond_block"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Coal Block",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:coal_block"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Redstone Block",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:redstone_block"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Quartz Block",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:quartz_block"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Emerald Block",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:Emerald_block"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Slime Block",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:slime"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Dragon Egg",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:dragon_block"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Enchantment Table",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:enchanting_table"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Beacon",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:beacon"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Anvil",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:anvil"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Brewing Stand",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:brewing_stand"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Ender Chest",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:ender_chest"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Sapling",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:sapling,Count:4,Damage:0}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Sapling",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:sapling,Count:4,Damage:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Sapling",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:sapling,Count:4,Damage:2}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Sapling",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:sapling,Count:4,Damage:3}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Sapling",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:sapling,Count:4,Damage:4}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Sapling",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:sapling,Count:4,Damage:5}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Skull",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:skull,Count:1,Damage:0}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Skull",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:skull,Count:1,Damage:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Skull",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:skull,Count:1,Damage:2}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Skull",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:skull,Count:1,Damage:3}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Skull",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:skull,Count:1,Damage:4}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:bed,Count:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:coal,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:diamond,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:iron_ingot,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:gold_ingot,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:gunpowder,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:redstone,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:glowstone_dust,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:dye,Count:8,Damage:4}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:bone,Count:4}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:emerald,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:quartz,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:cookie,Count:16}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:melon,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:cooked_beef,Count:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Pie Flavored Pie",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:pumpkin_pie,Count:1,tag:{display:{Name:Pie Flavored Pie}}}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Wall Chicken",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:cooked_chicken,Count:1,tag:{display:{Name:Mysterious Wall Chicken}}}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:rotten_flesh,Count:64}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:ender_pearl,Count:4}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:blaze_rod,Count:4}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:ghast_tear,Count:4}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:nether_wart,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:spider_eye,Count:4}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:blaze_powder,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:ender_eye,Count:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:speckled_melon,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:nether_star,Count:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:golden_carrot,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:carrot,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:potato,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:record_11,Count:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:prismarine_shard,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:prismarine_crystals,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:cooked_rabbit,Count:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:rabbit_foot,Count:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:cooked_mutton,Count:1}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Random Loot",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:chorus_fruit,Count:8}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "More Ores!",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:rouletteores:roulette_ore,Count:8}}"
- },
- {
- "delay": 1,
- "command": "/tell VAR_NAME Have some more shiny ores!"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Troll Fish",
- "events": [
- {
- "delay": 0,
- "command": "/summon Silverfish ~ ~ ~ {CustomName:Troll Fish,CustomNameVisible:10,ActiveEffects:[{Id:11,Amplifier:10,Duration:300}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Gary Coleman",
- "events": [
- {
- "delay": 0,
- "command": "/summon Zombie ~ ~ ~ {CustomName:Gary Coleman,IsBaby:1,CustomNameVisible:10}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Cluckington",
- "events": [
- {
- "delay": 0,
- "command": "/summon Chicken ~ ~ ~ {CustomName:Cluckington,CustomNameVisible:10}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Shulker",
- "events": [
- {
- "delay": 0,
- "command": "/summon Shulker ~ ~ ~"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Poison Fish",
- "events": [
- {
- "delay": 0,
- "command": "/summon Silverfish ~ ~ ~ {CustomName:Poison Fish,CustomNameVisible:10,Passengers:[{id:ThrownPotion,Potion:{id:lingering_potion,tag:{Potion:minecraft:long_poison}}}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Death Fish",
- "events": [
- {
- "delay": 0,
- "command": "/summon Silverfish ~ ~ ~ {CustomName:Poison Fish,CustomNameVisible:10,Passengers:[{id:ThrownPotion,Potion:{id:lingering_potion,tag:{Potion:minecraft:strong_harming}}}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Blinding Fish",
- "events": [
- {
- "delay": 0,
- "command": "/summon Silverfish ~ ~ ~ {CustomName:Blinding Fish,CustomNameVisible:10,Passengers:[{id:ThrownPotion,Potion:{id:lingering_potion,tag:{CustomPotionEffects:[{Id:15,Amplifier:0,Duration:900,ShowParticles:0b}]}}}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Paralysis Fish",
- "events": [
- {
- "delay": 0,
- "command": "/summon Silverfish ~ ~ ~ {CustomName:Paralysis Fish,CustomNameVisible:10,Passengers:[{id:ThrownPotion,Potion:{id:lingering_potion,tag:{CustomPotionEffects:[{Id:2,Amplifier:10,Duration:900,ShowParticles:0b}]}}}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Gravity Fish",
- "events": [
- {
- "delay": 0,
- "command": "/summon Silverfish ~ ~ ~ {CustomName:Gravity Fish,CustomNameVisible:10,Passengers:[{id:ThrownPotion,Potion:{id:lingering_potion,tag:{CustomPotionEffects:[{Id:25,Amplifier:1,Duration:200,ShowParticles:0b}]}}}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Famine Fish",
- "events": [
- {
- "delay": 0,
- "command": "/summon Silverfish ~ ~ ~ {CustomName:Famine Fish,CustomNameVisible:10,Passengers:[{id:ThrownPotion,Potion:{id:lingering_potion,tag:{CustomPotionEffects:[{Id:17,Amplifier:2,Duration:200,ShowParticles:0b}]}}}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Damage Potion",
- "events": [
- {
- "delay": 0,
- "command": "/summon ThrownPotion ~ ~ ~ {Potion:{id:splash_potion,tag:{Potion:minecraft:strong_harming}}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "XP Bottle",
- "events": [
- {
- "delay": 0,
- "command": "/summon ThrownExpBottle ~ ~ ~"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Hugs!",
- "events": [
- {
- "delay": 0,
- "command": "/summon Zombie ~ ~ ~ {CustomName:Hugs!,CustomNameVisible:10,IsBaby:1,Passengers:[{id:PrimedTnt,Fuse:200}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Zombie Spawner",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:mob_spawner 0 replace {SpawnData:{id:Zombie}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Cave Spider Spawner",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:mob_spawner 0 replace {SpawnData:{id:CaveSpider}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Water",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:flowing_water"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Lava",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:flowing_lava"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Bat Bomb",
- "events": [
- {
- "delay": 0,
- "command": "/summon Bat ~ ~ ~ {CustomName:Bat Bomb,Passengers:[{id:EnderCrystal}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Panic Crystal",
- "events": [
- {
- "delay": 0,
- "command": "/summon EnderCrystal ~ ~ ~"
- }
- ],
- "req_mods": []
- },
- {
- "name": "The Lie",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:cake"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Herobrine Joined",
- "events": [
- {
- "delay": 0,
- "command": "/tellraw VAR_NAME {text:"",extra:[{text:"Herobrine joined the game",color:yellow}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Herobrine Taunt",
- "events": [
- {
- "delay": 0,
- "command": "/tellraw VAR_NAME {text:"\u003cHerobrine\u003e I\u0027m coming for you VAR_NAME..."}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Herobrine Taunt",
- "events": [
- {
- "delay": 0,
- "command": "/tellraw VAR_NAME {text:"\u003cHerobrine\u003e I wonder how fast you can run VAR_NAME?"}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Boom",
- "events": [
- {
- "delay": 0,
- "command": "/playsound entity.generic.explode VAR_NAME VAR_NAME"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Ssssss",
- "events": [
- {
- "delay": 0,
- "command": "/playsound entity.tnt.primed VAR_NAME VAR_NAME"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Bon Fire",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:fire"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Web",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:web"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Stone?",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:monster_egg"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Unstable TNT",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:tnt 1"
- }
- ],
- "req_mods": []
- },
- {
- "name": "BUFF ARMOR",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:diamond_chestplate,Count:1,tag:{AttributeModifiers:[{AttributeName:generic.maxHealth,Name:generic.maxHealth,Amount:6,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Buff Chestplate},ench:[{id:0,lvl:3}]}}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "BUFF ARMOR",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:diamond_helmet,Count:1,tag:{AttributeModifiers:[{AttributeName:generic.maxHealth,Name:generic.maxHealth,Amount:4,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Buff Helmet},ench:[{id:0,lvl:3}]}}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "BUFF ARMOR",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:diamond_leggings,Count:1,tag:{AttributeModifiers:[{AttributeName:generic.maxHealth,Name:generic.maxHealth,Amount:6,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Buff Leggings},ench:[{id:0,lvl:3}]}}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "BUFF ARMOR",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:diamond_boots,Count:1,tag:{AttributeModifiers:[{AttributeName:generic.maxHealth,Name:generic.maxHealth,Amount:4,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Buff Boots},ench:[{id:0,lvl:3}]}}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "BUFF SWORD",
- "events": [
- {
- "delay": 0,
- "command": "/summon Item ~ ~ ~ {Item:{id:minecraft:diamond_sword,Count:1,tag:{display:{Name:Buff Sword},ench:[{id:16,lvl:5},{id:20,lvl:1},{id:21,lvl:3},{id:34,lvl:3}]}}}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Poison Mines",
- "events": [
- {
- "delay": 0,
- "command": "/setblock ~ ~ ~ minecraft:mob_spawner 0 replace {SpawnData:{id:XPOrb,Passengers:[{id:ThrownPotion,Potion:{id:splash_potion,tag:{Potion:strong_poison}}}]},SpawnCount:1,SpawnRange:16,RequiredPlayerRange:16,MinSpawnDelay:20,MaxSpawnDelay:20,MaxNearbyEntities:8}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Herobrine",
- "events": [
- {
- "delay": 0,
- "command": "/summon ThrownPotion ~ ~1 ~ {Potion:{id:splash_potion,tag:{CustomPotionEffects:[{Id:15,Amplifier:0,Duration:2400,ShowParticles:0b}]}},Passengers:[{id:Zombie,CustomName:Herobrine,CustomNameVisible:1,CanBreakDoors:1,HandItems:[{id:minecraft:diamond_pickaxe,Count:1,tag:{ench:[{id:32,lvl:5}]}},{}],ArmorItems:[{},{},{},{id:minecraft:skull,Damage:3,Count:1,tag:{SkullOwner:Herobrine,ench:[{id:7,lvl:16}]}}],DropChances:[1F,1F,1F,1F,0.0F],Attributes:[{Name:zombie.spawnReinforcements,Base:1.0F}],ActiveEffects:[{Id:5,Amplifier:15,Duration:199980,ShowParticles:0b},{Id:11,Amplifier:10,Duration:2400,ShowParticles:0b}],Attributes:[{Name:generic.maxHealth,Base:200}],Health:200}]}"
- }
- ],
- "req_mods": []
- },
- {
- "name": "Slime-plosion",
- "events": [
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- },
- {
- "delay": 0,
- "command": "/summon Slime ~ ~ ~"
- }
- ],
- "req_mods": []
- }
当然这个mod有一个他自己的矿,不管你设置的触发几率是多少,挖这个矿是绝对会触发事件的。大致模样就是彩色矿石飘着一只骷髅头。
再来讲一下怎么添加事件,以HIM为例
代码:
- {
- "name": "Herobrine",
- "events": [
- {
- "delay": 0,
-
- "command": "/summon ThrownPotion ~ ~1 ~
- {Potion:{id:splash_potion,tag:{CustomPotionEffects:[{Id:15,Amplifier:0,Duration:2400,ShowParticles:0b}]}},Passengers:[{id:Zombie,CustomName:Herobrine,CustomNameVisible:1,CanBreakDoors:1,HandItems:[{id:minecraft:diamond_pickaxe,Count:1,tag:{ench:[{id:32,lvl:5}]}},{}],ArmorItems:[{},{},{},{id:minecraft:skull,Damage:3,Count:1,tag:{SkullOwner:Herobrine,ench:[{id:7,lvl:16}]}}],DropChances:[1F,1F,1F,1F,0.0F],Attributes:[{Name:zombie.spawnReinforcements,Base:1.0F}],ActiveEffects:[{Id:5,Amplifier:15,Duration:199980,ShowParticles:0b},{Id:11,Amplifier:10,Duration:2400,ShowParticles:0b}],Attributes:[{Name:generic.maxHealth,Base:200}],Health:200}]}"
- }
- ],
- "req_mods": []
- },
这是一个完整的事件
name:事件名称
event:事件
delay:时间(游戏刻)比如第一个事件限时挖掉钻石块,delay0就是在事件触发(挖掉矿)时过0刻,再往下20刻时说Set,就是1秒之后在聊天框显示Set,再过一秒Dig,再过0.05秒(1刻,即delay:1,叠加上刚才的时间应该是delay:61)放置一个钻石块,然后给你几秒去挖,到时间放置空气,说Time is up
command:指令,就是在命令方块里输的。
后缀:
}
],
"req_mods": []
},
66666666666666666
图片好像乱了