Added Lime Artifact

This commit is contained in:
Auxilor 2020-08-29 13:28:52 +01:00
parent f032ab70e0
commit 49e0f087c8
5 changed files with 61 additions and 3 deletions

View File

@ -98,14 +98,12 @@
<orderEntry type="library" scope="PROVIDED" name="Maven: com.github.TownyAdvanced:Towny:0.96.2.0" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.github.angeschossen:LandsAPI:4.7.3" level="project" />
<orderEntry type="library" name="Maven: org.jetbrains:annotations:19.0.0" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: n3kas.ae:aeapi:1.0.0" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: fr.neatmonster:nocheatplus:3.16.1-SNAPSHOT" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: de.janmm14:aac-api:4.2.0" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.github.jiangdashao:matrix-api-repo:317d4635fd" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: me.vagdedes:SpartanAPI:1.0.0" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.comphenix.protocol:ProtocolLib:4.5.0" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.comphenix.protocol:ProtocolLib:4.6.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: cglib:cglib-nodep:3.2.5" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.comphenix.executors:BukkitExecutors:1.1-SNAPSHOT" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: net.ess3:EssentialsX:2.18.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: net.ess3:BaseProviders:2.18.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: net.ess3:NMSReflectionProvider:2.18.1" level="project" />

View File

@ -187,6 +187,7 @@ public class EcoEnchants {
public static final EcoEnchant BUCKSHOT = new Buckshot();
public static final EcoEnchant DIVERSE = new Diverse();
public static final EcoEnchant LIFE_STEAL = new LifeSteal();
public static final EcoEnchant LIME_ARTIFACT = new LimeArtifact();
/**
* Get all registered {@link EcoEnchant}s

View File

@ -0,0 +1,16 @@
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
import com.willfp.ecoenchants.enchantments.Artifact;
import org.bukkit.Color;
import org.bukkit.Particle;
public class LimeArtifact extends Artifact {
public LimeArtifact() {
super(
"lime_artifact",
4.0,
Particle.REDSTONE,
new Particle.DustOptions(Color.fromRGB(3, 252, 140), 1.0f)
);
}
}

View File

@ -0,0 +1,39 @@
#
# Lime Artifact EcoEnchant
#
config-version: 4.0 # Don't edit this.
name: "Lime Artifact"
description: Creates lime particles.
obtaining:
table: true
villager: true
loot: true
rarity: epic
general-config:
grindstoneable: true
conflicts: []
config:
# For Attack
radius: 1
y-delta: 0.07
radius-multiplier: 5
# For Arrows + Tridents
particle-tick-delay: 2
# For Pickaxes
amount: 10
on-blocks:
- diamond_ore
- gold_ore
- lapis_ore
- redstone_ore
- iron_ore
- obsidian
- ancient_debris

View File

@ -206,6 +206,7 @@ permissions:
ecoenchants.fromtable.buckshot: true
ecoenchants.fromtable.diverse: true
ecoenchants.fromtable.lifesteal: true
ecoenchants.fromtable.limeartifact: true
ecoenchants.updateannounce:
description: Informs admins of a new update
@ -696,4 +697,7 @@ permissions:
default: true
ecoenchants.fromtable.lifesteal:
description: Allows getting life steal from an enchanting table
default: true
ecoenchants.fromtable.limeartifact:
description: Allows getting lime artifact from an enchanting table
default: true