Update to 1.19 and add mobs

- Allay
- Frog
- Tadpole
- Warden
This commit is contained in:
colaman90 2022-06-16 20:21:23 +02:00
parent 28bf2bb4dd
commit 5b3976f90c
4 changed files with 44 additions and 6 deletions

View File

@ -4,7 +4,7 @@
<groupId>com.minecraftheads</groupId>
<artifactId>EggCatcher</artifactId>
<version>1.3</version>
<version>1.5</version>
<packaging>jar</packaging>
<name>EggCatcher</name>
@ -65,7 +65,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.17.1-R0.1-SNAPSHOT</version>
<version>1.19-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -73,7 +73,11 @@ public enum EggType {
WANDERING_TRADER(EntityType.WANDERING_TRADER, "WanderingTrader", Material.WANDERING_TRADER_SPAWN_EGG),
AXOLOTL(EntityType.AXOLOTL, "Axolotl", Material.AXOLOTL_SPAWN_EGG),
GOAT(EntityType.GOAT, "Goat", Material.GOAT_SPAWN_EGG),
ZOMBIFIED_PIGLIN(EntityType.ZOMBIFIED_PIGLIN, "ZombifiedPiglin", Material.ZOMBIFIED_PIGLIN_SPAWN_EGG);
ZOMBIFIED_PIGLIN(EntityType.ZOMBIFIED_PIGLIN, "ZombifiedPiglin", Material.ZOMBIFIED_PIGLIN_SPAWN_EGG),
ALLAY(EntityType.ALLAY, "Allay", Material.ALLAY_SPAWN_EGG),
FROG(EntityType.FROG, "Frog", Material.FROG_SPAWN_EGG),
TADPOLE(EntityType.TADPOLE, "Tadpole", Material.TADPOLE_SPAWN_EGG),
WARDEN(EntityType.WARDEN, "Warden", Material.WARDEN_SPAWN_EGG);
private final EntityType entityType;
private final String friendlyName;

View File

@ -1,4 +1,4 @@
ConfigVersion: 6.0
ConfigVersion: 6.1
DeleteVillagerInventoryOnCatch: true
NonPlayerCatching: true
PreventCatchingBabyAnimals: true
@ -18,6 +18,13 @@ LooseEggOnFail: true
setPersistence: true
VaultTargetBankAccount: ''
Entity:
Allay:
CatchChance: 100.0
HealthPercentage: 100.0
ItemCost:
Amount: 0.0
ItemName: gold_nugget
VaultCost: 0.0
Axolotl:
CatchChance: 100.0
HealthPercentage: 100.0
@ -144,6 +151,13 @@ Entity:
Amount: 0.0
ItemName: gold_nugget
VaultCost: 0.0
Frog:
CatchChance: 100.0
HealthPercentage: 100.0
ItemCost:
Amount: 0.0
ItemName: gold_nugget
VaultCost: 0.0
Ghast:
CatchChance: 100.0
HealthPercentage: 100.0
@ -389,6 +403,13 @@ Entity:
Amount: 0.0
ItemName: gold_nugget
VaultCost: 0.0
Tadpole:
CatchChance: 100.0
HealthPercentage: 100.0
ItemCost:
Amount: 0.0
ItemName: gold_nugget
VaultCost: 0.0
TraderLlama:
CatchChance: 100.0
HealthPercentage: 100.0
@ -438,6 +459,13 @@ Entity:
Amount: 0.0
ItemName: gold_nugget
VaultCost: 0.0
Warden:
CatchChance: 100.0
HealthPercentage: 100.0
ItemCost:
Amount: 0.0
ItemName: gold_nugget
VaultCost: 0.0
Witch:
CatchChance: 100.0
HealthPercentage: 100.0

View File

@ -1,8 +1,10 @@
name: EggCatcher
version: 6.0
version: 6.1
description: This plugin allows you to catch mobs in eggs.
author: MinecraftHeads
api-version: 1.17
api-version: 1.19
depend: [ Vault ]
softdepend: []
main: com.minecraftheads.EggCatcher.EggCatcher
@ -11,6 +13,7 @@ permissions:
description: Gives access to catch all types of mobs.
default: op
children:
eggcatcher.catch.allay: true
eggcatcher.catch.axolotl: true
eggcatcher.catch.bat: true
eggcatcher.catch.bee: true
@ -29,6 +32,7 @@ permissions:
eggcatcher.catch.endermite: true
eggcatcher.catch.evoker: true
eggcatcher.catch.fox: true
eggcatcher.catch.frog: true
eggcatcher.catch.ghast: true
eggcatcher.catch.glowsquid: true
eggcatcher.catch.goat: true
@ -64,6 +68,7 @@ permissions:
eggcatcher.catch.squid: true
eggcatcher.catch.stray: true
eggcatcher.catch.strider: true
eggcatcher.catch.tadpole: true
eggcatcher.catch.traderllama: true
eggcatcher.catch.tropicalfish: true
eggcatcher.catch.turtle: true
@ -71,6 +76,7 @@ permissions:
eggcatcher.catch.villager: true
eggcatcher.catch.vindicator: true
eggcatcher.catch.wanderingtrader: true
eggcatcher.catch.warden: true
eggcatcher.catch.witch: true
eggcatcher.catch.witherskeleton: true
eggcatcher.catch.wolf: true