| 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:\"bowl\",Count:4}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"emerald\",Count:1}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:bowl\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"wheat_seeds\",Count:2}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"emerald\",Count:1}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:wheat_seeds\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"light_gray_dye\",Count:2}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"emerald\",Count:1}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:light_gray_dye\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"oak_boat\",Count:1}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"emerald\",Count:1}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:oak_boat\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"oak_fence\",Count:3}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"emerald\",Count:1}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:oak_fence\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"dirt\",Count:6}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"emerald\",Count:1}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:dirt\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"flint\",Count:1}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"emerald\",Count:1}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:flint\"}}]}}"
- }}}]
- },
- {
- "type": "item", "name": "stone", "functions": [{ "function": "set_nbt",
- "tag": "{buy:{id:\"gravel\",Count:6}}"
- }, { "function": "set_nbt",
- "tag":"{sell:{id:\"emerald\",Count:2}}"
- }], "conditions": [{ "condition": "inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": {
- "nbt": "{Offers:{Recipes:[{buy:{id:\"minecraft:gravel\"}}]}}"
- }}}]
- }
- ]}]
- }
|