############################## ## dMobs Command ## ############################## dMobs_COMMAND: type: command name: mob script: - choose "": - case "help" - narrate "<&4><&l>[<&6>dMobs<&4><&l>]" - narrate "<&4>'/mob help' <&6>Shows this page." - narrate "<&4>'/mob examples' <&6>Shows examples on how the commands" - narrate "<&6>can be used." - narrate "<&4>'/mob add ' <&6>Add a spawn chunk to a mob." - narrate "<&4>'/mob remove ' <&6>Remove a spawn chunk from a mob." - case "examples": - narrate "<&4><&l>[<&6>dMobs<&4><&l>]" - narrate "<&4>'/mob help'" - narrate "<&4>'/mob examples'" - narrate "<&4>'/mob add PassiveMobs YAK'" - narrate "<&4>'/mob remove AggressiveMobs POLAR_BEAR'" - case "add": - yaml "load:/dMobs/dMobs.yml" id:dMobs - yaml id:dMobs set .: - yaml "savefile:/dMobs/dMobs.yml" id:dMobs - narrate "<&4><&l>[<&6>dMobs<&4><&l>] <&6>This chunk has been added to ." - case "remove": - yaml "load:/dMobs/dMobs.yml" id:dMobs - yaml id:dMobs set .:! - yaml "savefile:/dMobs/dMobs.yml" id:dMobs - narrate "<&4><&l>[<&6>dMobs<&4><&l>] <&6>This chunk has been removed from ." - default: - narrate "<&c>There is no such command in dMobs." dMobs_SPAWN: type: world events: on player steps on block: - if < ############################ ## dMobs Mobs ## ############################ #Water Tribe #*Buffalo Yak, cattle and wild #*Polar Bear #*Wolf #*Whale #*Turtle-Seal #*Caribou-bear YAK: type: entity entity_type: e@sheep has_ai: true fire_time: 2s can_breed: false remaining_air: 10 remove_when_far_away: true age: adult color: BROWN_SHEEP max_health: 12 inventory_contents: i@BUFFALO_YAK_HIDE|i@BUFFALO_YAK_WOOL POLAR_BEAR: type: entity entity_type: e@polar_bear has_ai: true fire_time: 2s remaining_air: 20 remove_when_far_away: true age: adult max_health: 16 inventory_contents: i@POLAR_BEAR_BONE