Added Rain and Slime artifact

This commit is contained in:
Auxilor 2021-07-10 22:30:19 +02:00
parent cd1a39017d
commit bbbb2aa74b
3 changed files with 40 additions and 0 deletions

View File

@ -30,7 +30,9 @@ import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.MagmaArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.MusicArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.NautilusArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.NetherArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.RainArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.RedstoneArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SlimeArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SmokeArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SnowArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SoulArtifact;
@ -505,6 +507,8 @@ public class EcoEnchants {
public static final EcoEnchant SPARK_ARTIFACT = new SparkArtifact();
public static final EcoEnchant SPORE_ARTIFACT = new SporeArtifact();
public static final EcoEnchant WAX_ARTIFACT = new WaxArtifact();
public static final EcoEnchant RAIN_ARTIFACT = new RainArtifact();
public static final EcoEnchant SLIME_ARTIFACT = new SlimeArtifact();
/**
* Get all registered {@link EcoEnchant}s.

View File

@ -0,0 +1,18 @@
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
import org.bukkit.Particle;
import org.jetbrains.annotations.NotNull;
public class RainArtifact extends Artifact {
public RainArtifact() {
super(
"rain_artifact"
);
}
@Override
public @NotNull Particle getParticle() {
return Particle.WATER_SPLASH;
}
}

View File

@ -0,0 +1,18 @@
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
import org.bukkit.Particle;
import org.jetbrains.annotations.NotNull;
public class SlimeArtifact extends Artifact {
public SlimeArtifact() {
super(
"slime_artifact"
);
}
@Override
public @NotNull Particle getParticle() {
return Particle.SLIME;
}
}