-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [New] Added the Primis Adventure to the setup menu - [New] Added ModelEngine as a valid folder for the imports. Files in the ModelEngine will be moved to the blueprints folder of ModelEngine when imported and automatically reload ModelEngine to register the files and generate the texture pack. - [New] Goats can now be valid elites (though they're not very good) - [New] Llamas can now be valid elites - [New] Elites with fire resistance are no longer set on fire when exposed to the sun - [New] Added attack_melee and attack_ranged specific animations, will override the attack animation when present - [New] Bosses with Custom Models now display their nametags correctly - [New] Loading Lair / Minidungeon / Adventure worlds through EliteMobs now defaults their difficulty to hard - [Tweak] Improvements to the stay angry mechanic - [Fix] Fixed the aggro range for passive entities - [Refactor] Minor Sonarlint improvements Signed-off-by: MagmaGuy <tiagoarnaut@gmail.com>
- Loading branch information
MagmaGuy
committed
Dec 31, 2021
1 parent
c713efa
commit 4231110
Showing
23 changed files
with
271 additions
and
43 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
16 changes: 16 additions & 0 deletions
16
src/main/java/com/magmaguy/elitemobs/collateralminecraftchanges/CombustionPrevention.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.magmaguy.elitemobs.collateralminecraftchanges; | ||
|
||
import org.bukkit.entity.LivingEntity; | ||
import org.bukkit.event.EventHandler; | ||
import org.bukkit.event.Listener; | ||
import org.bukkit.event.entity.EntityCombustEvent; | ||
import org.bukkit.potion.PotionEffectType; | ||
|
||
public class CombustionPrevention implements Listener { | ||
@EventHandler | ||
public void onCombust(EntityCombustEvent event) { | ||
if (event.getEntity() instanceof LivingEntity && | ||
((LivingEntity) event.getEntity()).hasPotionEffect(PotionEffectType.FIRE_RESISTANCE)) | ||
event.setCancelled(true); | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
39 changes: 39 additions & 0 deletions
39
src/main/java/com/magmaguy/elitemobs/config/dungeonpackager/premade/PrimisAdventure.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package com.magmaguy.elitemobs.config.dungeonpackager.premade; | ||
|
||
import com.magmaguy.elitemobs.config.dungeonpackager.DungeonPackagerConfigFields; | ||
import com.magmaguy.elitemobs.utils.DiscordLinks; | ||
import org.bukkit.World; | ||
import org.bukkit.util.Vector; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
|
||
public class PrimisAdventure extends DungeonPackagerConfigFields { | ||
public PrimisAdventure() { | ||
super("primis_adventure", | ||
false, | ||
"&7Primis", | ||
DungeonPackagerConfigFields.DungeonLocationType.WORLD, | ||
Arrays.asList("&fA tutorial adventure for new players!", | ||
"&6Credits: 69OzCanOfBepis, MagmaGuy"), | ||
new ArrayList<>(), | ||
new ArrayList<>(), | ||
DiscordLinks.premiumMinidungeons, | ||
DungeonPackagerConfigFields.DungeonSizeCategory.ADVENTURE, | ||
"em_primis", | ||
null, | ||
World.Environment.NORMAL, | ||
true, | ||
new Vector(0, 0, 0), | ||
new Vector(0, 0, 0), | ||
new Vector(0, 0, 0), | ||
0D, | ||
0D, | ||
0, | ||
"Difficulty: &2Easy\n" + | ||
"$bossCount bosses, from level $lowestTier to $highestTier\n" + | ||
"&6A tutorial adventure for new players!", | ||
"&8[EM] &6Primis awaits, strike the earth!", | ||
"&8[EM] &6You have left Primis!"); | ||
} | ||
} |
This file contains 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
20 changes: 20 additions & 0 deletions
20
src/main/java/com/magmaguy/elitemobs/config/mobproperties/premade/EliteGoatConfig.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.magmaguy.elitemobs.config.mobproperties.premade; | ||
|
||
import com.magmaguy.elitemobs.config.mobproperties.MobPropertiesConfigFields; | ||
import org.bukkit.entity.EntityType; | ||
|
||
import java.util.Arrays; | ||
|
||
public class EliteGoatConfig extends MobPropertiesConfigFields { | ||
public EliteGoatConfig(){ | ||
super("elite_goat", | ||
EntityType.GOAT, | ||
true, | ||
"&fLvl &2$level &fElite &5Goat", | ||
Arrays.asList("$player &cwas rammed by $entity&c!", | ||
"$player &cwas run over by $entity&c!", | ||
"$player &cwas trampled by $entity&c!", | ||
"$player &cgot $entity&c horns!"), | ||
3); | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/com/magmaguy/elitemobs/config/mobproperties/premade/EliteLlamaConfig.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.magmaguy.elitemobs.config.mobproperties.premade; | ||
|
||
import com.magmaguy.elitemobs.config.mobproperties.MobPropertiesConfigFields; | ||
import org.bukkit.entity.EntityType; | ||
|
||
import java.util.Arrays; | ||
|
||
public class EliteLlamaConfig extends MobPropertiesConfigFields { | ||
public EliteLlamaConfig(){ | ||
super("elite_llama", | ||
EntityType.LLAMA, | ||
true, | ||
"&fLvl &2$level &fElite &5Llama", | ||
Arrays.asList("$player &cwas spit on by $entity&c!", | ||
"$player &cwas made $entity&c angry!"), | ||
1); | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.