mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-26 20:27:38 +01:00
Added 1.17 particles
This commit is contained in:
parent
afcb302975
commit
47ea297468
@ -48,7 +48,7 @@ allprojects {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly 'com.willfp:eco:5.1.0'
|
||||
compileOnly 'com.willfp:eco:5.4.1'
|
||||
|
||||
compileOnly 'org.jetbrains:annotations:19.0.0'
|
||||
|
||||
|
@ -3,7 +3,7 @@ version rootProject.version
|
||||
|
||||
dependencies {
|
||||
compileOnly project(":eco-core:core-proxy")
|
||||
compileOnly 'org.spigotmc:spigot:1.16.4-R0.1-SNAPSHOT'
|
||||
compileOnly 'org.spigotmc:spigot:1.17-R0.1-SNAPSHOT'
|
||||
compileOnly 'commons-io:commons-io:2.8.0'
|
||||
compileOnly 'com.comphenix.protocol:ProtocolLib:4.6.0-SNAPSHOT'
|
||||
compileOnly 'net.ess3:EssentialsX:2.18.1'
|
||||
|
@ -8,6 +8,7 @@ import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.AngerArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.AshArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.BarrierArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.CloudsArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.CopperArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.CrimsonArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.DamageArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.DragonArtifact;
|
||||
@ -16,10 +17,12 @@ import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.EmeraldArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.EnchantmentArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.EndArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.FireArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.GlowArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.HeartArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.HoneyArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.InkArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.LavaArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.LightArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.LimeArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.MagicArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.MagmaArtifact;
|
||||
@ -27,17 +30,21 @@ 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.RedstoneArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SkulkArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SmokeArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SnowArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SoulArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SoulFireArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SparkArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SparkleArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SporeArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SweepArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.TearArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.TotemArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.VillagerArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.WarpedArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.WaterArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.WaxArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.WitchArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.ZapArtifact;
|
||||
import com.willfp.ecoenchants.enchantments.ecoenchants.curse.BreaklessnessCurse;
|
||||
@ -492,6 +499,13 @@ public class EcoEnchants {
|
||||
public static final EcoEnchant REAPER = new Reaper();
|
||||
public static final EcoEnchant WOOD_SWITCHER = new WoodSwitcher();
|
||||
public static final EcoEnchant REBOUNDING = new Rebounding();
|
||||
public static final EcoEnchant COPPER_ARTIFACT = new CopperArtifact();
|
||||
public static final EcoEnchant GLOW_ARTIFACT = new GlowArtifact();
|
||||
public static final EcoEnchant LIGHT_ARTIFACT = new LightArtifact();
|
||||
public static final EcoEnchant SKULK_ARTIFACT = new SkulkArtifact();
|
||||
public static final EcoEnchant SPARK_ARTIFACT = new SparkArtifact();
|
||||
public static final EcoEnchant SPORE_ARTIFACT = new SporeArtifact();
|
||||
public static final EcoEnchant WAX_ARTIFACT = new WaxArtifact();
|
||||
|
||||
/**
|
||||
* Get all registered {@link EcoEnchant}s.
|
||||
|
@ -0,0 +1,20 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.eco.core.Prerequisite;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class CopperArtifact extends Artifact {
|
||||
public CopperArtifact() {
|
||||
super(
|
||||
"copper_artifact",
|
||||
Prerequisite.v1_17
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Particle getParticle() {
|
||||
return Particle.WAX_ON;
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.eco.core.Prerequisite;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class GlowArtifact extends Artifact {
|
||||
public GlowArtifact() {
|
||||
super(
|
||||
"glow_artifact",
|
||||
Prerequisite.v1_17
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Particle getParticle() {
|
||||
return Particle.GLOW;
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.eco.core.Prerequisite;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class LightArtifact extends Artifact {
|
||||
public LightArtifact() {
|
||||
super(
|
||||
"light_artifact",
|
||||
Prerequisite.v1_17
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Particle getParticle() {
|
||||
return Particle.LIGHT;
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.eco.core.Prerequisite;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class SkulkArtifact extends Artifact {
|
||||
public SkulkArtifact() {
|
||||
super(
|
||||
"skulk_artifact",
|
||||
Prerequisite.v1_17
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Particle getParticle() {
|
||||
return Particle.VIBRATION;
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.eco.core.Prerequisite;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class SparkArtifact extends Artifact {
|
||||
public SparkArtifact() {
|
||||
super(
|
||||
"spark_artifact",
|
||||
Prerequisite.v1_17
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Particle getParticle() {
|
||||
return Particle.ELECTRIC_SPARK;
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.eco.core.Prerequisite;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class SporeArtifact extends Artifact {
|
||||
public SporeArtifact() {
|
||||
super(
|
||||
"spore_artifact",
|
||||
Prerequisite.v1_17
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Particle getParticle() {
|
||||
return Particle.FALLING_SPORE_BLOSSOM;
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.willfp.ecoenchants.enchantments.ecoenchants.artifact;
|
||||
|
||||
import com.willfp.eco.core.Prerequisite;
|
||||
import com.willfp.ecoenchants.enchantments.itemtypes.Artifact;
|
||||
import org.bukkit.Particle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class WaxArtifact extends Artifact {
|
||||
public WaxArtifact() {
|
||||
super(
|
||||
"wax_artifact",
|
||||
Prerequisite.v1_17
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Particle getParticle() {
|
||||
return Particle.WAX_OFF;
|
||||
}
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Copper Artifact EcoEnchant
|
||||
#
|
||||
|
||||
name: "Copper Artifact"
|
||||
description: Creates copper particles.
|
||||
enabled: true
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: epic
|
||||
|
||||
general-config:
|
||||
targets:
|
||||
- pickaxe
|
||||
- sword
|
||||
- axe
|
||||
- elytra
|
||||
- bow
|
||||
- crossbow
|
||||
- trident
|
||||
grindstoneable: true
|
||||
disabled-in-worlds: [ ]
|
||||
conflicts: [ ]
|
||||
|
||||
config:
|
||||
# For Attack
|
||||
radius: 1
|
||||
y-delta: 0.07
|
||||
radius-multiplier: 5
|
||||
use-double-helix: false
|
||||
|
||||
# For Arrows + Tridents
|
||||
particle-tick-delay: 2
|
||||
|
||||
# For Pickaxes
|
||||
amount: 10
|
||||
on-blocks:
|
||||
- diamond_ore
|
||||
- gold_ore
|
||||
- lapis_ore
|
||||
- redstone_ore
|
||||
- iron_ore
|
||||
- copper_ore
|
||||
- obsidian
|
||||
- ancient_debris
|
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Glow Artifact EcoEnchant
|
||||
#
|
||||
|
||||
name: "Glow Artifact"
|
||||
description: Creates glow particles.
|
||||
enabled: true
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: epic
|
||||
|
||||
general-config:
|
||||
targets:
|
||||
- pickaxe
|
||||
- sword
|
||||
- axe
|
||||
- elytra
|
||||
- bow
|
||||
- crossbow
|
||||
- trident
|
||||
grindstoneable: true
|
||||
disabled-in-worlds: [ ]
|
||||
conflicts: [ ]
|
||||
|
||||
config:
|
||||
# For Attack
|
||||
radius: 1
|
||||
y-delta: 0.07
|
||||
radius-multiplier: 5
|
||||
use-double-helix: false
|
||||
|
||||
# For Arrows + Tridents
|
||||
particle-tick-delay: 2
|
||||
|
||||
# For Pickaxes
|
||||
amount: 10
|
||||
on-blocks:
|
||||
- diamond_ore
|
||||
- gold_ore
|
||||
- lapis_ore
|
||||
- redstone_ore
|
||||
- iron_ore
|
||||
- copper_ore
|
||||
- obsidian
|
||||
- ancient_debris
|
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Light Artifact EcoEnchant
|
||||
#
|
||||
|
||||
name: "Light Artifact"
|
||||
description: Creates light particles.
|
||||
enabled: true
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: epic
|
||||
|
||||
general-config:
|
||||
targets:
|
||||
- pickaxe
|
||||
- sword
|
||||
- axe
|
||||
- elytra
|
||||
- bow
|
||||
- crossbow
|
||||
- trident
|
||||
grindstoneable: true
|
||||
disabled-in-worlds: [ ]
|
||||
conflicts: [ ]
|
||||
|
||||
config:
|
||||
# For Attack
|
||||
radius: 1
|
||||
y-delta: 0.07
|
||||
radius-multiplier: 5
|
||||
use-double-helix: false
|
||||
|
||||
# For Arrows + Tridents
|
||||
particle-tick-delay: 2
|
||||
|
||||
# For Pickaxes
|
||||
amount: 10
|
||||
on-blocks:
|
||||
- diamond_ore
|
||||
- gold_ore
|
||||
- lapis_ore
|
||||
- redstone_ore
|
||||
- iron_ore
|
||||
- copper_ore
|
||||
- obsidian
|
||||
- ancient_debris
|
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Skulk Artifact EcoEnchant
|
||||
#
|
||||
|
||||
name: "Skulk Artifact"
|
||||
description: Creates skulk vibration particles.
|
||||
enabled: true
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: epic
|
||||
|
||||
general-config:
|
||||
targets:
|
||||
- pickaxe
|
||||
- sword
|
||||
- axe
|
||||
- elytra
|
||||
- bow
|
||||
- crossbow
|
||||
- trident
|
||||
grindstoneable: true
|
||||
disabled-in-worlds: [ ]
|
||||
conflicts: [ ]
|
||||
|
||||
config:
|
||||
# For Attack
|
||||
radius: 1
|
||||
y-delta: 0.07
|
||||
radius-multiplier: 5
|
||||
use-double-helix: false
|
||||
|
||||
# For Arrows + Tridents
|
||||
particle-tick-delay: 2
|
||||
|
||||
# For Pickaxes
|
||||
amount: 10
|
||||
on-blocks:
|
||||
- diamond_ore
|
||||
- gold_ore
|
||||
- lapis_ore
|
||||
- redstone_ore
|
||||
- iron_ore
|
||||
- copper_ore
|
||||
- obsidian
|
||||
- ancient_debris
|
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Spark Artifact EcoEnchant
|
||||
#
|
||||
|
||||
name: "Spark Artifact"
|
||||
description: Creates spark particles.
|
||||
enabled: true
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: epic
|
||||
|
||||
general-config:
|
||||
targets:
|
||||
- pickaxe
|
||||
- sword
|
||||
- axe
|
||||
- elytra
|
||||
- bow
|
||||
- crossbow
|
||||
- trident
|
||||
grindstoneable: true
|
||||
disabled-in-worlds: [ ]
|
||||
conflicts: [ ]
|
||||
|
||||
config:
|
||||
# For Attack
|
||||
radius: 1
|
||||
y-delta: 0.07
|
||||
radius-multiplier: 5
|
||||
use-double-helix: false
|
||||
|
||||
# For Arrows + Tridents
|
||||
particle-tick-delay: 2
|
||||
|
||||
# For Pickaxes
|
||||
amount: 10
|
||||
on-blocks:
|
||||
- diamond_ore
|
||||
- gold_ore
|
||||
- lapis_ore
|
||||
- redstone_ore
|
||||
- iron_ore
|
||||
- copper_ore
|
||||
- obsidian
|
||||
- ancient_debris
|
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Spore Artifact EcoEnchant
|
||||
#
|
||||
|
||||
name: "Spore Artifact"
|
||||
description: Creates dripleaf spore particles.
|
||||
enabled: true
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: epic
|
||||
|
||||
general-config:
|
||||
targets:
|
||||
- pickaxe
|
||||
- sword
|
||||
- axe
|
||||
- elytra
|
||||
- bow
|
||||
- crossbow
|
||||
- trident
|
||||
grindstoneable: true
|
||||
disabled-in-worlds: [ ]
|
||||
conflicts: [ ]
|
||||
|
||||
config:
|
||||
# For Attack
|
||||
radius: 1
|
||||
y-delta: 0.07
|
||||
radius-multiplier: 5
|
||||
use-double-helix: false
|
||||
|
||||
# For Arrows + Tridents
|
||||
particle-tick-delay: 2
|
||||
|
||||
# For Pickaxes
|
||||
amount: 10
|
||||
on-blocks:
|
||||
- diamond_ore
|
||||
- gold_ore
|
||||
- lapis_ore
|
||||
- redstone_ore
|
||||
- iron_ore
|
||||
- copper_ore
|
||||
- obsidian
|
||||
- ancient_debris
|
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Wax Artifact EcoEnchant
|
||||
#
|
||||
|
||||
name: "Wax Artifact"
|
||||
description: Creates wax particles.
|
||||
enabled: true
|
||||
|
||||
obtaining:
|
||||
table: true
|
||||
villager: true
|
||||
loot: true
|
||||
rarity: epic
|
||||
|
||||
general-config:
|
||||
targets:
|
||||
- pickaxe
|
||||
- sword
|
||||
- axe
|
||||
- elytra
|
||||
- bow
|
||||
- crossbow
|
||||
- trident
|
||||
grindstoneable: true
|
||||
disabled-in-worlds: [ ]
|
||||
conflicts: [ ]
|
||||
|
||||
config:
|
||||
# For Attack
|
||||
radius: 1
|
||||
y-delta: 0.07
|
||||
radius-multiplier: 5
|
||||
use-double-helix: false
|
||||
|
||||
# For Arrows + Tridents
|
||||
particle-tick-delay: 2
|
||||
|
||||
# For Pickaxes
|
||||
amount: 10
|
||||
on-blocks:
|
||||
- diamond_ore
|
||||
- gold_ore
|
||||
- lapis_ore
|
||||
- redstone_ore
|
||||
- iron_ore
|
||||
- copper_ore
|
||||
- obsidian
|
||||
- ancient_debris
|
Loading…
Reference in New Issue
Block a user