diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecobosses/bosses/EcoBosses.java b/eco-core/core-plugin/src/main/java/com/willfp/ecobosses/bosses/EcoBosses.java index 42e048f..70eec40 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecobosses/bosses/EcoBosses.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecobosses/bosses/EcoBosses.java @@ -29,7 +29,8 @@ public class EcoBosses { * Sets that exist by default. */ private static final List DEFAULT_BOSSES = Arrays.asList( - "illusioner" + "illusioner", + "tarantula" ); /** diff --git a/eco-core/core-plugin/src/main/resources/bosses/illusioner.yml b/eco-core/core-plugin/src/main/resources/bosses/illusioner.yml index 24e35dc..c91cc4e 100644 --- a/eco-core/core-plugin/src/main/resources/bosses/illusioner.yml +++ b/eco-core/core-plugin/src/main/resources/bosses/illusioner.yml @@ -24,12 +24,9 @@ rewards: maximum: 25000 top-damager-commands: # To set a chance for a command, put :: - 1: - - "give %player% diamond_block" - 2: - - "25::give %player% emerald_block" - 3: - - "10::give %player% iron_block" + 1: [] + 2: [] + 3: [] nearby-player-commands: radius: 10 # To set a chance for a command, put :: @@ -66,7 +63,7 @@ defence: # If the boss should teleport when damaged teleport: - enabled: false + enabled: true range: 7 chance: 15 # As a percentage @@ -102,8 +99,8 @@ sounds: # All the sounds for a given category are played at the same time (layered) spawn: # On spawn - - "entity_illusioner_mirror_move:1000:0.5" - - "entity_wither_spawn:1000:2" + - "entity_illusioner_mirror_move:100:0.5" + - "entity_wither_spawn:100:2" death: # On death - "entity_evoker_prepare_wololo:50:0.8" diff --git a/eco-core/core-plugin/src/main/resources/bosses/tarantula.yml b/eco-core/core-plugin/src/main/resources/bosses/tarantula.yml new file mode 100644 index 0000000..4c25fd8 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/bosses/tarantula.yml @@ -0,0 +1,114 @@ +enabled: true + +name: "Tarantula" # Display name +base-mob: cave_spider # Any existing mob - custom_illusioner is also accepted (like in the old Illusioner plugin) + +bossbar: + enabled: true + color: RED # Choose from: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW + style: SOLID # Choose from: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20 + +max-health: 900 +attack-damage: 80 + +spawn-totem: + enabled: true + top: netherite_block + middle: red_wool + bottom: white_wool + world-blacklist: [] + +rewards: + xp: + minimum: 30000 + maximum: 40000 + top-damager-commands: + # To set a chance for a command, put :: + 1: [] + 2: [] + 3: [] + nearby-player-commands: + radius: 10 + # To set a chance for a command, put :: + # Use %player% as the placeholder for the player name + commands: [] + + # Get items to add here by copying the console output for /ebdrop + # To set the chance for a drop, put :: + drops: [] + +broadcast: + spawn: + - "" + - "&fA &4&lTarantula&r&f has been spawned!" + - "&fCome fight it at &4%x%&f, &4%y%&f, &4%z%&f!" + - "" + death: + - "" + - "&fThe &4&lTarantula&r&f has been killed!" + - "&fMost Damage:" + - "&f - &4%top%&f (%top_damage% Damage)" + - "&f - &4%second%&f (%second_damage% Damage)" + - "&f - &4%third%&f (%third_damage% Damage)" + - "" + + +defence: + immunities: + explosion: true + fire: true + drowning: true + projectiles: true + suffocation: true + + # If the boss should teleport when damaged + teleport: + enabled: false + range: 7 + chance: 15 # As a percentage + +attacks: + # Chance is rolled when boss attacks player + on-injure: true # If chance should be rolled when boss is attacked too + + # Potion effects are formatted like this: + # effect:level:duration:chance + # Duration is in ticks, chance is as a percentage + potion-effects: + - "poison:5:200:10" + - "slow:2:100:20" + - "hunger:3:400:10" + + # Bonus enemies that spawn to fight you + # entity:chance + # Chance is as a percentage + summons: + - "spider:15" + - "cave_spider:15" + + # Chance to shuffle your hotbar as a percentage - set to 0 to disable. + shuffle-chance: 0 + +sounds: + # Sounds are formatted like this: + # sound:volume:pitch + + # Sound is the sound ID + # Volume is the distance that it can be heard from + # Pitch is 0.5-2 + + # All the sounds for a given category are played at the same time (layered) + + spawn: # On spawn + - "entity_spider_ambient:100:0.5" + - "entity_wolf_growl:100:2" + + death: # On death + - "entity_spider_death:50:0.7" + - "entity_wither_death:50:0.5" + + summon: # On summon enemy + - "entity_spider_step:1:1.2" + + injure: # On take damage + - "entity_spider_hurt:1:0.7" \ No newline at end of file