This commit is contained in:
Jacob Vinding
2025-12-26 23:36:50 +01:00
commit 44b79588a3
2778 changed files with 418761 additions and 0 deletions

View File

@@ -0,0 +1 @@
dc5954fae1d1f8f5@@@9979424d661a014b@@@4a49dc36831303f9@@@20164199b627e8c0@@@cebda00491a291ab@@@ab6b6f5fd664347b@@@3100ef62f40c71ab@@@9d4b0e0ec28bb9c3@@@ce35546355152e0d@@@

View File

@@ -0,0 +1,60 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:rotten_flesh",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 2
}
},
{
"function": "looting_enchant",
"count": {
"min": 0,
"max": 1
}
}
]
}
]
},
{
"conditions": [
{
"condition": "killed_by_player"
},
{
"condition": "random_chance_with_looting",
"chance": 0.025,
"looting_multiplier": 0.01
}
],
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:iron_ingot",
"weight": 1
},
{
"type": "item",
"name": "minecraft:carrot",
"weight": 1
},
{
"type": "item",
"name": "minecraft:potato",
"weight": 1
}
]
}
]
}

View File

@@ -0,0 +1,50 @@
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:stick",
"weight": 1,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 3
}
},
{
"function": "looting_enchant",
"count": {
"min": 0,
"max": 1
}
}
]
}
]
},
{
"conditions": [
{
"condition": "killed_by_player"
}
],
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:diamond",
"weight": 3
},
{
"type": "item",
"name": "minecraft:emerald",
"weight": 3
}
]
}
]
}

View File

@@ -0,0 +1,729 @@
{
"wiki": "//looking to customize your own invasions? see http://coros.us/wiki/index.php?title=Hostile_Worlds_-_Invasions_-_Customizing for helpfull info",
"format": "mob_spawns",
"templates": [
{
"name": "invasion_stage_1",
"wave_message": "§cAn invasion has started! Zombie Miners!",
"conditions": [
{
"condition": "invasion_number",
"min": 1,
"max": 1
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 3,
"count_max": 5,
"count_difficulty_multiplier": 2,
"spawn_type": "ground",
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 15,
"count_difficulty_multiplier": 2,
"spawn_type": "ground",
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_all_scales"
}
]
}
]
},
{
"name": "invasion_stage_2",
"wave_message": "§cAn invasion has started! Miners and Skeletons!",
"conditions": [
{
"condition": "invasion_number",
"min": 2,
"max": 2
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 3,
"count_max": 5,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
}
]
},
{
"entities": [
"minecraft:skeleton"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_all_scales_no_weapon"
}
]
}
]
},
{
"name": "invasion_stage_3_opt_1_zombies",
"wave_message": "§cAn invasion has started! Miners and Zombies!",
"conditions": [
{
"condition": "invasion_number",
"min": 3
},
{
"condition": "random",
"weight": 10
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 30,
"count_difficulty_multiplier": 0.5,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
}
]
},
{
"name": "invasion_stage_3_opt_2_skeletons",
"wave_message": "§cAn invasion has started! Miners and Skeletons!",
"conditions": [
{
"condition": "invasion_number",
"min": 3
},
{
"condition": "random",
"weight": 10
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"minecraft:skeleton"
],
"count": 5,
"count_max": 30,
"count_difficulty_multiplier": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_all_scales_no_weapon"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
}
]
},
{
"name": "invasion_stage_3_opt_3_endermen",
"wave_message": "§cAn invasion has started! Miners and Endermen!",
"conditions": [
{
"condition": "invasion_number",
"min": 3
},
{
"condition": "random",
"weight": 10
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"minecraft:enderman"
],
"count": 5,
"count_max": 30,
"count_difficulty_multiplier": 0.5,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
}
]
},
{
"name": "invasion_stage_3_opt_4_creepers",
"wave_message": "§cAn invasion has started! Miners and Creepers!",
"conditions": [
{
"condition": "invasion_number",
"min": 3
},
{
"condition": "random",
"weight": 10
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"minecraft:creeper"
],
"count": 5,
"count_max": 30,
"count_difficulty_multiplier": 0.5,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
}
]
},
{
"name": "invasion_stage_3_opt_5_bats",
"wave_message": "§cAn invasion has started! Miners and Bats!",
"conditions": [
{
"condition": "invasion_number",
"min": 3
},
{
"condition": "random",
"weight": 10
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"minecraft:bat"
],
"count": 15,
"count_max": 40,
"count_difficulty_multiplier": 0.5,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "buffed_attributes"
},
{
"cmod": "ai_attack_melee"
}
]
}
]
},
{
"name": "invasion_stage_3_opt_6_spiders",
"wave_message": "§cAn invasion has started! Miners and Spiders!",
"conditions": [
{
"condition": "invasion_number",
"min": 3
},
{
"condition": "random",
"weight": 10
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"minecraft:spider"
],
"count": 15,
"count_max": 40,
"count_difficulty_multiplier": 0.5,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
}
]
},
{
"name": "invasion_stage_3_opt_7_infernal",
"wave_message": "§cAn invasion has started! Miners and Infernal Mobs!",
"conditions": [
{
"condition": "invasion_number",
"min": 7
},
{
"condition": "random",
"weight": 3
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs"
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"minecraft:zombie", "minecraft:skeleton"
],
"count": 3,
"count_max": 8,
"count_difficulty_multiplier": 0.5,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_all_scales_no_weapon"
},
{
"cmod": "attribute_attackdamage",
"base_value": 5,
"max_value": 10,
"difficulty_multiplier": 0.5
},
{
"cmod": "attribute_health",
"base_value": 50,
"max_value": 150,
"difficulty_multiplier": 1.0
},
{
"cmod": "attribute_speed",
"base_value": 0.23,
"max_value": 0.3,
"difficulty_multiplier": 0.5
},
{
"cmod": "attribute_speed_flying",
"base_value": 3.0,
"max_value": 5,
"difficulty_multiplier": 0.5
},
{
"cmod": "xp",
"base_value": 50,
"difficulty_multiplier": 1.5
},
{
"cmod": "ai_infernal",
"randomly_choose_count": "10",
"difficulty_multiplier": 1.0,
"modifiers": [
"1UP", "Alchemist", "Berserk", "Blastoff", "Bulwark", "Choke", "Cloaking", "Darkness", "Ender",
"Exhaust", "Fiery", "Ghastly", "Gravity", "LifeSteal", "Ninja", "Poisonous", "Quicksand", "Regen",
"Rust", "Sapper", "Sprint", "Sticky", "Storm", "Vengeance", "Weakness", "Webber", "Wither"
]
}
]
}
]
},
{
"name": "invasion_stage_3_opt_8_zombie_players",
"wave_message": "§cAn invasion has started! Your zombie player friends have arrived and want to check out your base!",
"conditions": [
{
"condition": "invasion_number",
"min": 5
},
{
"condition": "random",
"weight": 10
},
{
"condition": "mod_loaded",
"mod_id": "zombie_players"
}
],
"spawns": [
{
"entities": [
"zombie_players:zombie_player"
],
"count": 5,
"count_max": 20,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
}
]
},
{
"name": "invasion_stage_3_opt_9_crazy_animals",
"wave_message": "§cAn invasion has started! Animals have gone crazy! Also miners!",
"conditions": [
{
"condition": "invasion_number",
"min": 3
},
{
"condition": "random",
"weight": 10
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 3,
"count_max": 6,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"cow", "pig", "sheep", "chicken", "wolf", "ocelot", "parrot", "polar_bear", "rabbit", "horse", "donkey", "mule", "llama"
],
"count": 20,
"count_max": 30,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "ai_omniscience"
},
{
"cmod": "template",
"template": "buffed_attributes"
},
{
"cmod": "ai_attack_melee"
},
{
"cmod": "attribute_attackdamage",
"base_value": 5,
"max_value": 10,
"difficulty_multiplier": 0.5
}
]
}
]
},
{
"name": "invasion_stage_3_opt_10_illagers",
"wave_message": "§cAn invasion has started! The illagers are coming! Also miners!",
"conditions": [
{
"condition": "invasion_number",
"min": 5
},
{
"condition": "random",
"weight": 10
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"vindication_illager", "illusion_illager"
],
"count": 4,
"count_max": 15,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
},
{
"entities": [
"evocation_illager"
],
"count": 1,
"count_max": 2,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "buffed_attributes"
}
]
}
]
}
]
}

View File

@@ -0,0 +1,282 @@
{
"wiki": "//looking to customize your own invasions? see http://coros.us/wiki/index.php?title=Hostile_Worlds_-_Invasions_-_Customizing for helpfull info",
"format": "mob_spawns_example_commented",
"comment": "//for your main file, normally this should always be named mob_spawns, if you want to test and switch between json files, name the above field differently and change the config option mobSpawnsProfile in CoroUtil developer config file to the name",
"templates": [
{
"name": "invasion_stage_1_opt_1",
"comment": "//name of this wave option, should be uniquely named for troubleshooting, not used anywhere else",
"wave_message": "miners!",
"comment": "//optional, custom invasion start message",
"conditions": [
{
"condition": "random",
"weight": 3
},
{
"condition": "difficulty",
"min": 0,
"max": 0.1
},
{
"condition": "game_stages",
"game_stages": [ "stage1", "stage2" ],
"match_mode": "any_of"
},
{
"condition": "game_stages",
"game_stages": [ "stage1", "sub_stage1" ],
"match_mode": "all_of"
}
],
"comment": "//conditions are optional, but should be structured like this above, see json file all_conditions for everything you can use",
"spawns": [
{
"comment0": "//you can have multiple object entries in the spawns array, this is the first, both the first and second and so on will be used if all the conditions matched",
"entities": [
"minecraft:zombie", "minecraft:skeleton"
],
"comment": "//a list of entities spawnable for this profile, minimum entry of 1 required, will randomize between them",
"count": 2,
"comment": "//the minimum base amount that will spawn at difficulty of 0, if the entities list above has multiple entries, it will not increase the amount spawned",
"count_max": 5,
"comment": "//optional, a safety hard limit on the max spawnable, even if difficulty multiplier is over this amount",
"count_difficulty_multiplier": 2,
"comment": "//multiplies the amount that will spawn by local dynamic difficulty * this multiplier",
"comment": "//the formula is: count + (count * difficulty * count_difficulty_multiplier)",
"comment": "//example: with a count of 5, difficulty of 0.5 and count_difficulty_multiplier of 2: 5 + (5 * 0.5 * 2) = 10",
"comment": "//setting count_difficulty_multiplier to 0 will make the amount of mobs spawned always equal the count field",
"spawn_type": "ground",
"comment": "//optional, specifies how to spawn the entities in the list, choices are: ground, surface, cave, air, water",
"comment": "//if ground: will try to spawn either on the surface or in a cave depending on where the player is",
"comment": "//if surface: will try to spawn on the surface, a place that can see the sky",
"comment": "//if cave: will try to spawn in a cave, a dark stoney place that cant see the sky",
"comment": "//if air: will try to spawn in open air, not requiring a block under it",
"comment": "//if water: will try to spawn underwater",
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "attribute_health",
"base_value": 40,
"difficulty_multiplier": 1.5
}
],
"comment": "//cmods are optional, but should be structured like this above, see json file all_cmods for everything you can use"
},
{
"comment": "//you can have multiple object entries in the spawns array, this is the second, this is the last comment, everything below is just more examples of the same structures",
"comment": "//you can spawn entities with nbt as well, just make sure to escape the quotes correctly",
"entities": [
"minecraft:zombie",
"minecraft:bat{Passengers:[{id:\"tnt\",Fuse:5000}]}"
],
"count": 5,
"count_max": 15,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
}
]
},
{
"name": "invasion_stage_1_opt_2",
"conditions": [
{
"condition": "random",
"weight": 1
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 5,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
},
{
"entities": [
"minecraft:skeleton"
],
"count": 2,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_leather_no_weapon"
}
]
}
]
},
{
"name": "invasion_wave_override_1",
"conditions": [
{
"condition": "random",
"weight": 99999
},
{
"condition": "invasion_rate",
"rate": 5
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs",
"mode_boolean": "invert"
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "attribute_health",
"base_value": 150,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "template",
"template": "inventory_iron"
}
]
}
]
},
{
"name": "invasion_wave_override_2",
"conditions": [
{
"condition": "difficulty",
"min": 0,
"max": 999
},
{
"condition": "invasion_rate",
"rate": 5
},
{
"condition": "random",
"weight": 99999
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs"
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "attribute_health",
"base_value": 30,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "ai_infernal",
"randomly_choose_count": "10",
"difficulty_multiplier": 1.0,
"modifiers": [
"1UP", "Alchemist", "Berserk", "Blastoff", "Bulwark", "Choke", "Cloaking", "Darkness", "Ender",
"Exhaust", "Fiery", "Ghastly", "Gravity", "LifeSteal", "Ninja", "Poisonous", "Quicksand", "Regen",
"Rust", "Sapper", "Sprint", "Sticky", "Storm", "Vengeance", "Weakness", "Webber", "Wither"
]
}
]
}
]
}
]
}

View File

@@ -0,0 +1,57 @@
{
"format": "mob_spawns_testing_miners",
"templates": [
{
"name": "invasion_stage_1_opt_1",
"wave_message": "miners!",
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 10,
"count_difficulty_multiplier": 0,
"spawn_type": "ground",
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_all_scales"
},
{
"cmod": "ai_attack_melee"
},
{
"cmod": "attribute_attackdamage",
"base_value": 5,
"max_value": 10,
"difficulty_multiplier": 1.0
},
{
"cmod": "attribute_health",
"base_value": 20,
"max_value": 50,
"difficulty_multiplier": 1.0
},
{
"cmod": "attribute_speed",
"base_value": 0.28,
"max_value": 0.3,
"difficulty_multiplier": 1.0
},
{
"cmod": "attribute_speed_flying",
"base_value": 3.0,
"max_value": 5,
"difficulty_multiplier": 1.0
}
]
}
]
}
]
}

View File

@@ -0,0 +1,154 @@
{
"format": "cmods",
"templates": [
{
"name": "all_cmods",
"cmods": [
{
"cmod": "template",
"template": "boringvanilla",
"comment": "//to save on copying and pasting, you can define templates with a set of cmods and refer to them using the template cmod, see invasions_cmods for my actual uses of them, and mob_spawns_example_commented for usage of them",
"comment": "//you cant do templates within templates, so this entry isnt technically valid its just here to explain things, but within the mob_spawns json it would be valid"
},
{
"cmod": "inventory",
"inv_hand_main": "minecraft:diamond_sword",
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots",
"comment": "//give inventory to a mob, up to you to make sure the mob you are giving it to supports it, could crash if they dont, supports modded items but cant be sure how they'll work out"
},
{
"cmod": "inventory_difficulty_scaled",
"stages": [
{
"min": 0,
"max": 0.3,
"inv_hand_off": "minecraft:shield",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:leather_helmet",
"inv_chest": "minecraft:leather_chestplate",
"inv_legs": "minecraft:leather_leggings",
"inv_feet": "minecraft:leather_boots"
},
{
"min": 0.3,
"max": 6,
"inv_hand_off": "minecraft:shield",
"inv_hand_main": "minecraft:diamond_sword",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots"
}
],
"comment": "//give inventory depending on difficulty of area, for easy re-use within mob spawn profiles"
},
{
"cmod": "mob_drops",
"loot_table": "testloot",
"comment": "//give a mob extra loot table drops, supports vanilla eg minecraft:zombie or custom ones you put in the config/loot_tables folder, currently does not override existing drops of a mob"
},
{
"cmod": "attribute_health",
"base_value": 40,
"max_value": 80,
"difficulty_multiplier": 1.5,
"comment": "//set the base health of a mob, difficulty_multiplier is used to multiply their health based on the rated difficulty of the area, so if difficulty in area was 2.0, the math would be: base value 40 + (base health 40 * local difficulty 2.0 * multiplier 1.5) = 120 health, set difficulty_multiplier to 0 or dont include the tag to make the value always be the base value",
"comment": "//max_value is optional, if local dynamic difficulty combined with difficulty_multiplier puts the health over what max_value is set to, it will cap the health to max_value"
},
{
"cmod": "attribute_attackdamage",
"base_value": 5,
"max_value": 10,
"difficulty_multiplier": 1.5,
"comment": "//set the base damage of a mob, difficulty_multiplier is used to multiply their damage based on the rated difficulty of the area, so if difficulty in area was 2.0, the math would be: base value 5 + (base value 5 * local difficulty 2.0 * multiplier 1.5) = 15 damage"
},
{
"cmod": "attribute_speed",
"base_value": 0.23,
"max_value": 0.3,
"difficulty_multiplier": 1.1,
"comment": "//set the base ground movement speed of the mob, multiplication formula works the same as attribute_health, be carefull with this one so you dont get hyper speed mobs, vanilla zombie speed is 0.23 for reference"
},
{
"cmod": "attribute_speed_flying",
"base_value": 0.4,
"max_value": 0.5,
"difficulty_multiplier": 0.0,
"comment": "//same as attribute_speed but for flying entities when they arent touching the ground, because mojang, youll generally want a value 2-3x higher than the attribute_speed which is used for ground"
},
{
"cmod": "xp",
"base_value": 0,
"difficulty_multiplier": 1.5,
"comment": "//set the base xp given of a mob, multiplication formula works the same as attribute_health"
},
{
"cmod": "ai_antiair",
"comment": "//gives a mob the ability to perform mean things to flying players depending on ConfigHWMonsters.antiAirType setting, they either leap very far and grab the player by mounting them in their head, or magically pull them down when they see them, pretty mean, antiAirType mode 0 is a bit experimental still"
},
{
"cmod": "ai_mining",
"comment": "//gives a mob the ability to dig towards their target, only use for mobs the size of a zombie"
},
{
"cmod": "ai_explodeonstuck",
"comment": "//gives a mob the ability to explode once they cant get any closer to their target"
},
{
"cmod": "ai_counterattack",
"comment": "//gives a mob the ability to counter attack with a leap towards the target after theyre hit"
},
{
"cmod": "ai_lunge",
"comment": "//gives a mob the ability to move faster towards the target when they are close"
},
{
"cmod": "ai_attack_melee",
"comment": "//gives a mob the ability to chase and hurt a target, use on mobs that didnt have a melee attack like passive mobs, use attribute_attackdamage cmod to set their attack damage"
},
{
"cmod": "ai_infernal",
"randomly_choose_count": "10",
"randomly_choose_count_max": "15",
"difficulty_multiplier": 1.0,
"modifiers": [
"1UP", "Alchemist", "Berserk", "Blastoff", "Bulwark", "Choke", "Cloaking", "Darkness", "Ender",
"Exhaust", "Fiery", "Ghastly", "Gravity", "LifeSteal", "Ninja", "Poisonous", "Quicksand", "Regen",
"Rust", "Sapper", "Sprint", "Sticky", "Storm", "Vengeance", "Weakness", "Webber", "Wither"
],
"comment": "//if atomicstrykers Infernal Mobs mod is installed, this gives a mob a random amount of the abilities you list above, the above list is all the options available from the mod",
"comment": "//you can specify the modifiers and a number of them to randomly choose from, in the above example config, at a local difficulty of 0.1, it will choose 1 modifier from the list, at 0.5, it will choose 5, etc",
"comment": "//randomly_choose_count_max is optional, since its set, itll never choose more than 15 no matter the difficulty",
"comment": "//this functionality depends on my code knowing how to interact with their mods code, if they change theirs, this cmod may break",
"comment": "//you can safely try to use this even if Infernal Mobs isnt installed, it will just not be used"
}
]
}
]
}

View File

@@ -0,0 +1,282 @@
{
"format": "cmods",
"templates": [
{
"name": "invader_miner",
"cmods": [
{
"cmod": "ai_mining"
},
{
"cmod": "ai_omniscience"
}
]
},
{
"name": "invader_soldier",
"cmods": [
{
"cmod": "ai_omniscience"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "ai_hoist"
}
]
},
{
"name": "buffed_attributes",
"cmods": [
{
"cmod": "attribute_attackdamage",
"base_value": 3,
"max_value": 5,
"difficulty_multiplier": 0.5
},
{
"cmod": "attribute_health",
"base_value": 20,
"max_value": 50,
"difficulty_multiplier": 1.0
},
{
"cmod": "attribute_speed",
"base_value": 0.23,
"max_value": 0.3,
"difficulty_multiplier": 0.5
},
{
"cmod": "attribute_speed_flying",
"base_value": 3.0,
"max_value": 5,
"difficulty_multiplier": 0.5
},
{
"cmod": "xp",
"base_value": 5,
"difficulty_multiplier": 1.5
}
]
},
{
"name": "infernal_skeleton_1",
"cmods": [
{
"cmod": "ai_infernal",
"modifiers": [
"Regen", "Cloaking", "Storm"
]
}
]
},
{
"name": "inventory_all_scales",
"cmods": [
{
"cmod": "inventory_difficulty_scaled",
"stages": [
{
"min": 0,
"max": 0.25,
"inv_hand_off": "minecraft:shield",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:leather_helmet",
"inv_chest": "minecraft:leather_chestplate",
"inv_legs": "minecraft:leather_leggings",
"inv_feet": "minecraft:leather_boots"
},
{
"min": 0.25,
"max": 0.5,
"inv_hand_off": "minecraft:shield",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:chainmail_helmet",
"inv_chest": "minecraft:chainmail_chestplate",
"inv_legs": "minecraft:chainmail_leggings",
"inv_feet": "minecraft:chainmail_boots"
},
{
"min": 0.5,
"max": 0.75,
"inv_hand_off": "minecraft:shield",
"inv_hand_main": "minecraft:iron_sword",
"inv_head": "minecraft:iron_helmet",
"inv_chest": "minecraft:iron_chestplate",
"inv_legs": "minecraft:iron_leggings",
"inv_feet": "minecraft:iron_boots"
},
{
"min": 0.75,
"max": 999,
"inv_hand_off": "minecraft:shield",
"inv_hand_main": "minecraft:diamond_sword",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots"
}
]
}
]
},
{
"name": "inventory_all_scales_no_weapon",
"cmods": [
{
"cmod": "inventory_difficulty_scaled",
"stages": [
{
"min": 0,
"max": 0.25,
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:leather_helmet",
"inv_chest": "minecraft:leather_chestplate",
"inv_legs": "minecraft:leather_leggings",
"inv_feet": "minecraft:leather_boots"
},
{
"min": 0.25,
"max": 0.5,
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:chainmail_helmet",
"inv_chest": "minecraft:chainmail_chestplate",
"inv_legs": "minecraft:chainmail_leggings",
"inv_feet": "minecraft:chainmail_boots"
},
{
"min": 0.5,
"max": 0.75,
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:iron_helmet",
"inv_chest": "minecraft:iron_chestplate",
"inv_legs": "minecraft:iron_leggings",
"inv_feet": "minecraft:iron_boots"
},
{
"min": 0.75,
"max": 999,
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots"
}
]
}
]
},
{
"name": "inventory_leather",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:leather_helmet",
"inv_chest": "minecraft:leather_chestplate",
"inv_legs": "minecraft:leather_leggings",
"inv_feet": "minecraft:leather_boots"
}
]
},
{
"name": "inventory_leather_no_weapon",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:leather_helmet",
"inv_chest": "minecraft:leather_chestplate",
"inv_legs": "minecraft:leather_leggings",
"inv_feet": "minecraft:leather_boots"
}
]
},
{
"name": "inventory_chainmail",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:chainmail_helmet",
"inv_chest": "minecraft:chainmail_chestplate",
"inv_legs": "minecraft:chainmail_leggings",
"inv_feet": "minecraft:chainmail_boots"
}
]
},
{
"name": "inventory_iron",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:iron_sword",
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:iron_helmet",
"inv_chest": "minecraft:iron_chestplate",
"inv_legs": "minecraft:iron_leggings",
"inv_feet": "minecraft:iron_boots"
}
]
},
{
"name": "inventory_diamond",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:diamond_sword",
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots"
}
]
},
{
"name": "infernal_skeleton_1_bad",
"cmods": [
{
"cmod": "ai_infernal",
"modifiers": [
"Regen", "Claking", "Storm"
]
}
]
},
{
"name": "inventory_chainmail_bad",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:diamond_swod",
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots"
}
]
}
]
}

View File

@@ -0,0 +1,67 @@
{
"format": "conditions",
"templates": [
{
"name": "all_conditions",
"conditions": [
{
"condition": "context",
"type": "invasion/regular/all",
"comment": "//placeholder for future stuff, dont use for now, dev note: is 'all' even needed? its the same as not using this condition, maybe if recursive templates were a thing, top level one could override lower one"
},
{
"condition": "difficulty",
"min": 0,
"max": 0.1,
"comment": "//only use when local dynamic difficulty as at or between these numbers, difficulty determined by many things, see CoroUtils DynamicDifficulty.cfg for configuring that",
"comment": "//things that can affect difficulty: damage per second, armor rating, server time (default off), vanilla local chunk occupancy time, max health, distance from spawn, buffed location (unused), debuffed location (unused)",
"comment": "//difficulty starts at 0, and goes up to 1 for vanilla and default config, if difficulty goes above 1 its likely due to other mods (like a high damage weapon or stronger than diamond armor, or health over 20)"
},
{
"condition": "invasion_number",
"min": 1,
"max": 5,
"comment": "//only use when the active invasion number/count is at or between these numbers, the counter is global and not per player"
},
{
"condition": "invasion_rate",
"rate": 5,
"comment": "//only use every x invasions, in this example, this will be true every 5th invasion"
},
{
"condition": "random",
"weight": 5,
"comment": "//when you want to randomize between multiple invasion wave profiles, more weight = more likely, if this isnt set, a default weight of 1 is set",
"comment": "//random is evaluated last after all other conditions, if there is more than 1 invasion profile still usable after all other conditions met, it will then randomize between them using these weights",
"comment": "//if there is more than 1 invasion profile still usable after all other conditions met, it will then randomize between them using these weights"
},
{
"condition": "filter_mobs",
"mode": "whitelist/blacklist or allow/deny?",
"entities": [
"minecraft:zombie"
],
"comment": "//currently unused"
},
{
"condition": "template",
"template": "condition_set_1",
"comment": "//since this is a template within a template, maybe dont allow it for now"
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs",
"mode_boolean": "invert",
"comment": "//filter waves to only be used when a certain mod is or isnt installed, depending on if mode_boolean is set to normal or invert, normal = is mod loaded, invert = is mod not loaded"
}
]
}
]
}

View File

@@ -0,0 +1,47 @@
{
"format": "conditions",
"templates": [
{
"name": "invasion_stage_1",
"conditions": [
{
"condition": "context",
"type": "invasion"
},
{
"condition": "difficulty",
"min": 0,
"max": 0.1
}
]
},
{
"name": "invasion_stage_2",
"conditions": [
{
"condition": "context",
"type": "invasion"
},
{
"condition": "difficulty",
"min": 0.1,
"max": 0.2
}
]
},
{
"name": "invasion_stage_3",
"conditions": [
{
"condition": "context",
"type": "invasion"
},
{
"condition": "difficulty",
"min": 0.2,
"max": 5.0
}
]
}
]
}