| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- {
- "type": "entity",
- "functions": [
- {
- "function": "set_nbt",
- "tag": "{TradeItem:1b,maxUses:1}"
- }
- ],
- "pools": [{"rolls": 1,"entries": [
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"emerald\",Count:1}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"coal_block\",Count:3}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{sell:{id:\"minecraft:coal_block\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"emerald\",Count:1}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"oak_log\",Count:16}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{sell:{id:\"minecraft:oak_log\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"emerald\",Count:1}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"cobblestone\",Count:32}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{sell:{id:\"minecraft:cobblestone\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"emerald\",Count:1}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"raw_iron\",Count:8}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{sell:{id:\"minecraft:raw_iron\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"emerald\",Count:1}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"iron_ingot\",Count:4}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{sell:{id:\"minecraft:iron_ingot\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"emerald\",Count:1}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"diamond_ore\",Count:4}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{sell:{id:\"minecraft:diamond_ore\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"emerald\",Count:2}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"nether_star\",Count:1,tag:{display:{Name:'{\"text\":\"1 积分\",\"color\":\"white\",\"italic\":false}'}}}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:emerald\"},sell:{id:\"minecraft:nether_star\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"emerald\",Count:3}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"chest\",Count:1,tag:{BlockEntityTag:{LootTable:\"mini:diamond\",id:\"minecraft:chest\"},display:{Name:'{\"text\":\"地牢箱子\",\"color\":\"aqua\",\"italic\":false}'}}}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{sell:{id:\"minecraft:chest\"}}]}}"
- }}}]
- }
- ]}]
- }
|