Last active
December 7, 2018 22:56
-
-
Save erichexter/419754aabe1b5d6e3781221b7dd1f5cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"format_version": "1.8.0", | |
"minecraft:entity": { | |
"description": { | |
"identifier": "economy:banker", | |
"is_spawnable": true, | |
"is_summonable": true, | |
"is_experimental": false | |
}, | |
"component_groups": { | |
"economy":{ | |
"minecraft:type_family": { | |
"family":[ "npc" ] | |
}, | |
"minecraft:variant": { | |
"value": 0 | |
}, | |
"minecraft:trade_table": { | |
"display_name": "entity.villager.fisherman", | |
"table": "trading/fisherman_trades.json" | |
} | |
} | |
}, | |
"components": { | |
"minecraft:breathable": { | |
"totalSupply": 15, | |
"suffocateTime": 0 | |
}, | |
"minecraft:nameable": { | |
}, | |
"minecraft:health": { | |
"value": 26, | |
"max": 26 | |
}, | |
"minecraft:navigation.walk": { | |
"can_path_over_water": true, | |
"avoid_water": false | |
}, | |
"minecraft:movement.basic": { | |
}, | |
"minecraft:behavior.float": { | |
"priority": 1 | |
}, | |
"minecraft:behavior.trade_with_player": { | |
"priority": 1 | |
}, | |
"minecraft:behavior.look_at_trading_player": { | |
"priority": 2 | |
}, | |
"minecraft:behavior.look_at_player": { | |
"priority": 3, | |
"look_distance": 8.0 | |
}, | |
"minecraft:behavior.random_look_around": { | |
"priority": 3, | |
"look_distance": 8.0 | |
}, | |
"minecraft:type_family": { | |
"family": [ "npc", "economy" ] | |
}, | |
"minecraft:physics": { | |
} | |
}, | |
"events":{ | |
"minecraft:entity_spawned": { | |
"sequence": [ | |
{ | |
"filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, | |
"randomize": [ | |
{ | |
"weight": 100, | |
"add": { "component_groups": [ "economy" ] } | |
} | |
] | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment