mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-20 07:29:32 +00:00
Compare commits
107 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d1ea5a7c8 | ||
|
|
7d32350eed | ||
|
|
4361ce0407 | ||
|
|
4267f5bd5d | ||
|
|
a5fc6e7436 | ||
|
|
cc5dfc0b0d | ||
|
|
16082cf3c6 | ||
|
|
0d3485855a | ||
|
|
afaafb5899 | ||
|
|
8fbc672f1f | ||
|
|
19221c8969 | ||
|
|
0f96c5027e | ||
|
|
e58429c9c7 | ||
|
|
f2831f0bcd | ||
|
|
1c84929739 | ||
|
|
67b4e340d8 | ||
|
|
f6b23bf649 | ||
|
|
515d5022ba | ||
|
|
bf0813ae70 | ||
|
|
c5330b79b5 | ||
|
|
e961411808 | ||
|
|
75d8475ece | ||
|
|
9e7d9559d9 | ||
|
|
a58c7c892a | ||
|
|
9eaad16592 | ||
|
|
83690068b2 | ||
|
|
1391cdc978 | ||
|
|
9c6461984e | ||
|
|
340fcb1908 | ||
|
|
7f0f8078aa | ||
|
|
e1c70dd4b4 | ||
|
|
ec3a4215b7 | ||
|
|
4f80c3b5f3 | ||
|
|
55efb74fb4 | ||
|
|
d4efad6cd7 | ||
|
|
4fc10862f6 | ||
|
|
c0b96e58ff | ||
|
|
1bdf9b9f4c | ||
|
|
9baaf37108 | ||
|
|
8b89c16754 | ||
|
|
8ee6b64dec | ||
|
|
507e476de0 | ||
|
|
e4bdc914d6 | ||
|
|
89c11c5d03 | ||
|
|
ace9174713 | ||
|
|
11b755c03e | ||
|
|
e502281fac | ||
|
|
7f5b2e28d4 | ||
|
|
0c77fae5c0 | ||
|
|
67c67fe494 | ||
|
|
91cd161e0f | ||
|
|
0ae01af7cf | ||
|
|
7dd0f35f1f | ||
|
|
e4afc37f45 | ||
|
|
b74a7f1085 | ||
|
|
94d2ab4593 | ||
|
|
9fce6a6d74 | ||
|
|
a84231c13b | ||
|
|
c833cc9b67 | ||
|
|
2018f5c506 | ||
|
|
783b14d650 | ||
|
|
793075a70e | ||
|
|
f1f3d5b014 | ||
|
|
a0af472e17 | ||
|
|
060b981019 | ||
|
|
d559684d7b | ||
|
|
f40cd6f68f | ||
|
|
f185ab58ad | ||
|
|
bed87f4210 | ||
|
|
df9cecc2fd | ||
|
|
72d0e258f4 | ||
|
|
224c243449 | ||
|
|
b925a18ea0 | ||
|
|
801e61c66c | ||
|
|
0c58faf33e | ||
|
|
04cff9070b | ||
|
|
57aee104aa | ||
|
|
bbfeac1cde | ||
|
|
a5b9446afe | ||
|
|
a99e34014f | ||
|
|
3f9ddf08fb | ||
|
|
176b8cae9a | ||
|
|
3cca475d13 | ||
|
|
d4f2f1c7c8 | ||
|
|
87c6481701 | ||
|
|
b184c10f02 | ||
|
|
5428be88ea | ||
|
|
79b96193f1 | ||
|
|
fc68463b5c | ||
|
|
bc5b2dedd3 | ||
|
|
3128091722 | ||
|
|
0887d8af75 | ||
|
|
b879d87720 | ||
|
|
daf5e23b39 | ||
|
|
850455e4c2 | ||
|
|
0e0e986906 | ||
|
|
3b2f77a83b | ||
|
|
5c429ee626 | ||
|
|
3749edc5c1 | ||
|
|
a0b3b62040 | ||
|
|
12b1b99466 | ||
|
|
b4c071fd53 | ||
|
|
93a8937222 | ||
|
|
a565e3d3e7 | ||
|
|
3c92da1998 | ||
|
|
87a240d5d3 | ||
|
|
22b0279057 |
11
build.gradle
11
build.gradle
@@ -4,7 +4,7 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,14 +44,14 @@ allprojects {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly 'com.willfp:eco:6.35.1'
|
||||
implementation 'com.willfp:libreforge:3.49.0'
|
||||
compileOnly 'com.willfp:eco:6.38.0'
|
||||
implementation 'com.willfp:libreforge:3.101.0'
|
||||
implementation 'org.joml:joml:1.10.4'
|
||||
|
||||
compileOnly 'org.jetbrains:annotations:23.0.0'
|
||||
compileOnly 'com.github.ben-manes.caffeine:caffeine:3.0.6'
|
||||
|
||||
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib:1.6.21'
|
||||
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib:1.7.10'
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
@@ -60,7 +60,7 @@ allprojects {
|
||||
}
|
||||
|
||||
processResources {
|
||||
filesNotMatching(["**/*.png", "**/models/**", "**/textures/**", "**reforges.yml", "**lang.yml"]) {
|
||||
filesNotMatching(["**/*.png", "**/models/**", "**/textures/**", "**/reforges/**", "**lang.yml"]) {
|
||||
expand projectVersion: project.version
|
||||
}
|
||||
}
|
||||
@@ -68,6 +68,7 @@ allprojects {
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
freeCompilerArgs += ["-Xjvm-default=all"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -7,29 +7,28 @@ import com.willfp.eco.core.items.Items
|
||||
import com.willfp.libreforge.LibReforgePlugin
|
||||
import com.willfp.reforges.commands.CommandReforge
|
||||
import com.willfp.reforges.commands.CommandReforges
|
||||
import com.willfp.reforges.config.ReforgesYml
|
||||
import com.willfp.reforges.config.TargetYml
|
||||
import com.willfp.reforges.display.ReforgesDisplay
|
||||
import com.willfp.reforges.integrations.talismans.TalismansIntegration
|
||||
import com.willfp.reforges.reforges.Reforges
|
||||
import com.willfp.reforges.reforges.util.ReforgeArgParser
|
||||
import com.willfp.reforges.util.ReforgeEnableListeners
|
||||
import com.willfp.reforges.util.ReforgeLookup
|
||||
import com.willfp.reforges.util.AntiPlaceListener
|
||||
import com.willfp.reforges.util.DiscoverRecipeListener
|
||||
import com.willfp.reforges.util.ReforgeEnableListeners
|
||||
import com.willfp.reforges.util.ReforgeLookup
|
||||
import org.bukkit.event.Listener
|
||||
|
||||
class ReforgesPlugin : LibReforgePlugin() {
|
||||
val targetYml: TargetYml =
|
||||
TargetYml(this)
|
||||
val reforgesYml: ReforgesYml =
|
||||
ReforgesYml(this)
|
||||
|
||||
init {
|
||||
instance = this
|
||||
}
|
||||
|
||||
override fun handleEnableAdditional() {
|
||||
this.copyConfigs("reforges")
|
||||
|
||||
Items.registerArgParser(ReforgeArgParser())
|
||||
registerHolderProvider { ReforgeLookup.provideReforges(it) }
|
||||
}
|
||||
@@ -64,7 +63,7 @@ class ReforgesPlugin : LibReforgePlugin() {
|
||||
}
|
||||
|
||||
override fun getMinimumEcoVersion(): String {
|
||||
return "6.35.1"
|
||||
return "6.38.0"
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
package com.willfp.reforges.config
|
||||
|
||||
import com.willfp.eco.core.EcoPlugin
|
||||
import com.willfp.eco.core.config.BaseConfig
|
||||
import com.willfp.eco.core.config.ConfigType
|
||||
|
||||
class ReforgesYml(plugin: EcoPlugin) : BaseConfig("reforges", plugin, true, ConfigType.YAML)
|
||||
@@ -3,6 +3,7 @@ package com.willfp.reforges.display
|
||||
import com.willfp.eco.core.display.Display
|
||||
import com.willfp.eco.core.display.DisplayModule
|
||||
import com.willfp.eco.core.display.DisplayPriority
|
||||
import com.willfp.eco.core.display.DisplayProperties
|
||||
import com.willfp.eco.core.fast.FastItemStack
|
||||
import com.willfp.eco.core.fast.fast
|
||||
import com.willfp.eco.util.SkullUtils
|
||||
@@ -24,6 +25,7 @@ class ReforgesDisplay(private val plugin: ReforgesPlugin) : DisplayModule(plugin
|
||||
override fun display(
|
||||
itemStack: ItemStack,
|
||||
player: Player?,
|
||||
props: DisplayProperties,
|
||||
vararg args: Any
|
||||
) {
|
||||
val targets = ReforgeTargets.getForItem(itemStack)
|
||||
@@ -44,9 +46,8 @@ class ReforgesDisplay(private val plugin: ReforgesPlugin) : DisplayModule(plugin
|
||||
|
||||
if (reforge == null && stone == null) {
|
||||
if (plugin.configYml.getBool("reforge.show-reforgable")) {
|
||||
if (player != null && plugin.configYml.getBool("reforge.no-reforgable-in-gui")) {
|
||||
val inventory = player.openInventory.topInventory
|
||||
if (inventory.contents.contains(itemStack) && inventory.holder == null) {
|
||||
if (plugin.configYml.getBool("reforge.no-reforgable-in-gui")) {
|
||||
if (props.inGui) {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,11 +18,10 @@ import java.util.*
|
||||
|
||||
@Suppress("DEPRECATION")
|
||||
class Reforge(
|
||||
override val id: String,
|
||||
internal val config: Config,
|
||||
plugin: ReforgesPlugin
|
||||
) : Holder {
|
||||
override val id = config.getString("id")
|
||||
|
||||
val name = config.getFormattedString("name")
|
||||
|
||||
val namePrefixComponent = StringUtils.toComponent("$name ").decoration(TextDecoration.ITALIC, false)
|
||||
|
||||
@@ -2,9 +2,12 @@ package com.willfp.reforges.reforges
|
||||
|
||||
import com.google.common.collect.HashBiMap
|
||||
import com.google.common.collect.ImmutableSet
|
||||
import com.willfp.eco.core.config.ConfigType
|
||||
import com.willfp.eco.core.config.TransientConfig
|
||||
import com.willfp.eco.core.config.updating.ConfigUpdater
|
||||
import com.willfp.libreforge.chains.EffectChains
|
||||
import com.willfp.reforges.ReforgesPlugin
|
||||
import java.io.File
|
||||
|
||||
@Suppress("UNUSED")
|
||||
object Reforges {
|
||||
@@ -51,14 +54,22 @@ object Reforges {
|
||||
@ConfigUpdater
|
||||
@JvmStatic
|
||||
fun update(plugin: ReforgesPlugin) {
|
||||
for (config in plugin.reforgesYml.getSubsections("chains")) {
|
||||
val reforgesYml = TransientConfig(File(plugin.dataFolder, "reforges.yml"), ConfigType.YAML)
|
||||
|
||||
for (config in reforgesYml.getSubsections("chains")) {
|
||||
EffectChains.compile(config, "Chains")
|
||||
}
|
||||
|
||||
for (reforge in values()) {
|
||||
removeReforge(reforge)
|
||||
}
|
||||
for (config in plugin.reforgesYml.getSubsections("reforges")) {
|
||||
Reforge(config, plugin)
|
||||
|
||||
for ((id, config) in plugin.fetchConfigs("reforges")) {
|
||||
Reforge(id, config, plugin)
|
||||
}
|
||||
|
||||
for (config in reforgesYml.getSubsections("reforges")) {
|
||||
Reforge(config.getString("id"), config, plugin)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -40,8 +40,8 @@ class ReforgeEnableListeners(private val plugin: EcoPlugin) : Listener {
|
||||
refresh()
|
||||
val player = event.player
|
||||
for (value in values()) {
|
||||
for ((effect) in value.effects) {
|
||||
effect.disableForPlayer(player)
|
||||
for (effect in value.effects) {
|
||||
effect.disableFor(player)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
21
eco-core/core-plugin/src/main/resources/chains.yml
Normal file
21
eco-core/core-plugin/src/main/resources/chains.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
# Read more about chains: https://plugins.auxilor.io/effects/configuring-an-effect#effect-chains
|
||||
|
||||
chains:
|
||||
- id: example_chain
|
||||
effects:
|
||||
- id: teleport
|
||||
- id: potion_effect
|
||||
args:
|
||||
effect: blindness
|
||||
level: 3
|
||||
duration: 30
|
||||
apply_to_player: true
|
||||
- id: send_message
|
||||
args:
|
||||
message: "&fYou have been teleported!"
|
||||
action_bar: true
|
||||
- id: play_sound
|
||||
args:
|
||||
sound: entity_dragon_fireball_explode
|
||||
pitch: 1.5
|
||||
volume: 4
|
||||
@@ -184,7 +184,6 @@ point-names: # If you have point names that look ugly (eg g_souls) then you can
|
||||
|
||||
use-faster-move-trigger: true # Disable if you want move trigger to detect sub-1-block movements
|
||||
raytrace-distance: 80 # The distance that alt_click should check for a location
|
||||
block-item-drop-place-check: true # If the block_item_drop trigger should only fire on naturally placed blocks (prevents dupes)
|
||||
|
||||
potions:
|
||||
icon:
|
||||
@@ -195,4 +194,6 @@ potions:
|
||||
triggered: true
|
||||
particles:
|
||||
permanent: false
|
||||
triggered: true
|
||||
triggered: true
|
||||
|
||||
share-configs: true # If your configs are allowed to be used to gather data and improve the plugin. Nothing identifying (IP, Name, etc) is shared.
|
||||
@@ -10,13 +10,17 @@ depend:
|
||||
- ProtocolLib
|
||||
softdepend:
|
||||
- Vault
|
||||
- EcoSkills
|
||||
- Talismans
|
||||
- AureliumSkills
|
||||
- PlayerPoints
|
||||
- Jobs
|
||||
- EcoArmor
|
||||
- TMMobcoins
|
||||
- EcoEnchants
|
||||
- EcoBosses
|
||||
- Talismans
|
||||
- EcoArmor
|
||||
- EcoItems
|
||||
- EcoSkills
|
||||
- Boosters
|
||||
|
||||
commands:
|
||||
reforges:
|
||||
|
||||
@@ -1,405 +0,0 @@
|
||||
chains:
|
||||
- id: example_chain
|
||||
effects:
|
||||
- id: teleport
|
||||
- id: potion_effect
|
||||
args:
|
||||
effect: blindness
|
||||
level: 3
|
||||
duration: 30
|
||||
apply_to_player: true
|
||||
- id: send_message
|
||||
args:
|
||||
message: "&fYou have been teleported!"
|
||||
action_bar: true
|
||||
- id: play_sound
|
||||
args:
|
||||
sound: entity_dragon_fireball_explode
|
||||
pitch: 1.5
|
||||
volume: 4
|
||||
|
||||
reforges:
|
||||
- id: acute
|
||||
name: "<gradient:#4776E6>Acute</gradient:#8E54E9>"
|
||||
description:
|
||||
- "&a+2% &fTriple Damage Chance"
|
||||
targets:
|
||||
- axe
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 3
|
||||
chance: 2
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
- id: aerobic
|
||||
name: "<gradient:#B993D6>Aerobic</gradient:#8CA6DB>"
|
||||
description:
|
||||
- "&a+9% &fDamage when shot in air"
|
||||
targets:
|
||||
- bow
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.09
|
||||
triggers:
|
||||
- bow_attack
|
||||
conditions:
|
||||
- id: in_air
|
||||
args:
|
||||
in_air: true
|
||||
- id: dynamic
|
||||
name: "<gradient:#AAFFA9>Dynamic</gradient:#11FFBD>"
|
||||
description:
|
||||
- "&a+5% &fDamage"
|
||||
- "&a+10% &fCrit Damage"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: true
|
||||
name: "<gradient:#AAFFA9>Dynamic</gradient:#11FFBD>&f Reforge Stone"
|
||||
lore:
|
||||
- "&7Place on the right of the"
|
||||
- "&7reforge menu to apply the"
|
||||
- "<gradient:#AAFFA9>Dynamic</gradient:#11FFBD>&7 reforge!"
|
||||
item: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmM0YTY1YzY4OWIyZDM2NDA5MTAwYTYwYzJhYjhkM2QwYTY3Y2U5NGVlYTNjMWY3YWM5NzRmZDg5MzU2OGI1ZCJ9fX0=
|
||||
craftable: true
|
||||
recipe:
|
||||
- air
|
||||
- ecoitems:blank_reforge_stone ? air
|
||||
- air
|
||||
- iron_block
|
||||
- daylight_sensor
|
||||
- iron_block
|
||||
- air
|
||||
- phantom_membrane
|
||||
- air
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.05
|
||||
triggers:
|
||||
- melee_attack
|
||||
- id: crit_multiplier
|
||||
args:
|
||||
multiplier: 1.1
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
- id: evasive
|
||||
name: "<gradient:#EFEFBB>Evasive</gradient:#D4D3DD>"
|
||||
description:
|
||||
- "&a+2% &fIgnore Damage Chance"
|
||||
targets:
|
||||
- armor
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 0
|
||||
chance: 2
|
||||
triggers:
|
||||
- take_damage
|
||||
conditions: []
|
||||
- id: gravitated
|
||||
name: "<gradient:#1e3c72>Gravitated</gradient:#2a5298>"
|
||||
description:
|
||||
- "&a+8% &fCritical Damage"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: crit_multiplier
|
||||
args:
|
||||
multiplier: 1.08
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
- id: light
|
||||
name: "<gradient:#1c92d2>Light</gradient:#f2fcfe>"
|
||||
description:
|
||||
- "&c-5% &fDamage"
|
||||
- "&c-5% &fKnockback"
|
||||
- "&a+10% &fAttack Speed"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 0.95
|
||||
triggers:
|
||||
- melee_attack
|
||||
- id: knockback_multiplier
|
||||
args:
|
||||
multiplier: 0.95
|
||||
- id: attack_speed_multiplier
|
||||
args:
|
||||
multiplier: 1.1
|
||||
conditions: []
|
||||
- id: nautical
|
||||
name: "<gradient:#373B44>Nautical</gradient:#4286f4>"
|
||||
description:
|
||||
- "&a+20% &fDamage in water"
|
||||
targets:
|
||||
- melee
|
||||
- bow
|
||||
- trident
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.2
|
||||
triggers:
|
||||
- melee_attack
|
||||
- bow_attack
|
||||
- trident_attack
|
||||
conditions:
|
||||
- id: in_water
|
||||
args:
|
||||
in_water: true
|
||||
- id: pointy
|
||||
name: "<gradient:#076585>Pointy</gradient:#ffffff>"
|
||||
description:
|
||||
- "&a+10% &fDamage"
|
||||
targets:
|
||||
- trident
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.1
|
||||
triggers:
|
||||
- trident_attack
|
||||
conditions: []
|
||||
- id: prospecting
|
||||
name: "<gradient:#00B4DB>Prospecting</gradient:#0083B0>"
|
||||
description:
|
||||
- "&a+5% &fChance to get &e$$2&f for mining a block"
|
||||
targets:
|
||||
- pickaxe
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: give_money
|
||||
args:
|
||||
amount: 2
|
||||
chance: 5
|
||||
triggers:
|
||||
- mine_block
|
||||
conditions: []
|
||||
- id: reinforced
|
||||
name: "<gradient:#FBD786>Reinforced</gradient:#f7797d>"
|
||||
description:
|
||||
- "&a+4% &fDamage Resistance"
|
||||
targets:
|
||||
- armor
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 0.96
|
||||
triggers:
|
||||
- take_damage
|
||||
conditions: []
|
||||
- id: rich
|
||||
name: "<gradient:#DBDBDB>Rich</gradient:#F2F2F2>"
|
||||
description:
|
||||
- "&a+$$50 &fFor each mob kill"
|
||||
targets:
|
||||
- trident
|
||||
- bow
|
||||
stone:
|
||||
enabled: true
|
||||
name: "<gradient:#DBDBDB>Rich</gradient:#F2F2F2>&f Reforge Stone"
|
||||
lore:
|
||||
- "&7Place on the right of the"
|
||||
- "&7reforge menu to apply the"
|
||||
- "<gradient:#DBDBDB>Rich</gradient:#F2F2F2>&7 reforge!"
|
||||
item: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2RjNTdjNzVhZGYzOWVjNmYwZTA5MTYwNDlkZDk2NzFlOThhOGExZTYwMDEwNGU4NGU2NDVjOTg4OTUwYmQ3In19fQ==
|
||||
craftable: true
|
||||
recipe:
|
||||
- gold_block
|
||||
- trident
|
||||
- gold_block
|
||||
- air
|
||||
- ecoitems:blank_reforge_stone ? obsidian
|
||||
- air
|
||||
- gold_block
|
||||
- bow
|
||||
- gold_block
|
||||
effects:
|
||||
- id: give_money
|
||||
args:
|
||||
amount: 50
|
||||
triggers:
|
||||
- kill
|
||||
conditions: []
|
||||
- id: sharp
|
||||
name: "<gradient:#f12711>Sharp</gradient:#f5af19>"
|
||||
description:
|
||||
- "&a+3% &fDamage"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.03
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
- id: streamlined
|
||||
name: "<gradient:#74ebd5>Streamlined</gradient:#ACB6E5>"
|
||||
description:
|
||||
- "&a+4% &fDamage"
|
||||
targets:
|
||||
- bow
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.04
|
||||
triggers:
|
||||
- bow_attack
|
||||
conditions: []
|
||||
- id: strong
|
||||
name: "<gradient:#ED213A>Strong</gradient:#93291E>"
|
||||
description:
|
||||
- "&a+2% &fDamage"
|
||||
- "&a+10% &fKnockback"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.02
|
||||
triggers:
|
||||
- melee_attack
|
||||
- id: knockback_multiplier
|
||||
args:
|
||||
multiplier: 1.1
|
||||
conditions: []
|
||||
- id: thin
|
||||
name: "<gradient:#D1913C>Thin</gradient:#FFD194>"
|
||||
description:
|
||||
- "&c-5% &fDamage Resistance"
|
||||
- "&a+2.5% &fMovement Speed"
|
||||
targets:
|
||||
- armor
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.05
|
||||
triggers:
|
||||
- take_damage
|
||||
- id: movement_speed_multiplier
|
||||
args:
|
||||
multiplier: 1.025
|
||||
conditions: []
|
||||
- id: tough
|
||||
name: "<gradient:#a73737>Tough</gradient:#7a2828>"
|
||||
description:
|
||||
- "&c+8% &fDamage Resistance"
|
||||
- "&a-5% &fMovement Speed"
|
||||
targets:
|
||||
- armor
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 0.92
|
||||
triggers:
|
||||
- take_damage
|
||||
- id: movement_speed_multiplier
|
||||
args:
|
||||
multiplier: 0.95
|
||||
conditions: []
|
||||
@@ -0,0 +1,28 @@
|
||||
# The ID of the reforge is the name of the .yml file,
|
||||
# for example acute.yml has the ID of acute
|
||||
# You can place reforges anywhere in this folder,
|
||||
# including in subfolders if you want to organize your reforge configs
|
||||
# _example.yml is not loaded.
|
||||
|
||||
name: "<gradient:#4776E6>Acute</gradient:#8E54E9>"
|
||||
description:
|
||||
- "&a+2% &fTriple Damage Chance"
|
||||
targets:
|
||||
- axe
|
||||
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 3
|
||||
chance: 2
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
20
eco-core/core-plugin/src/main/resources/reforges/acute.yml
Normal file
20
eco-core/core-plugin/src/main/resources/reforges/acute.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: "<gradient:#4776E6>Acute</gradient:#8E54E9>"
|
||||
description:
|
||||
- "&a+2% &fTriple Damage Chance"
|
||||
targets:
|
||||
- axe
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 3
|
||||
chance: 2
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
22
eco-core/core-plugin/src/main/resources/reforges/aerobic.yml
Normal file
22
eco-core/core-plugin/src/main/resources/reforges/aerobic.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: "<gradient:#B993D6>Aerobic</gradient:#8CA6DB>"
|
||||
description:
|
||||
- "&a+9% &fDamage when shot in air"
|
||||
targets:
|
||||
- bow
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.09
|
||||
triggers:
|
||||
- bow_attack
|
||||
conditions:
|
||||
- id: in_air
|
||||
args:
|
||||
in_air: true
|
||||
37
eco-core/core-plugin/src/main/resources/reforges/dynamic.yml
Normal file
37
eco-core/core-plugin/src/main/resources/reforges/dynamic.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
name: "<gradient:#AAFFA9>Dynamic</gradient:#11FFBD>"
|
||||
description:
|
||||
- "&a+5% &fDamage"
|
||||
- "&a+10% &fCrit Damage"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: true
|
||||
name: "<gradient:#AAFFA9>Dynamic</gradient:#11FFBD>&f Reforge Stone"
|
||||
lore:
|
||||
- "&7Place on the right of the"
|
||||
- "&7reforge menu to apply the"
|
||||
- "<gradient:#AAFFA9>Dynamic</gradient:#11FFBD>&7 reforge!"
|
||||
item: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmM0YTY1YzY4OWIyZDM2NDA5MTAwYTYwYzJhYjhkM2QwYTY3Y2U5NGVlYTNjMWY3YWM5NzRmZDg5MzU2OGI1ZCJ9fX0=
|
||||
craftable: true
|
||||
recipe:
|
||||
- air
|
||||
- ecoitems:blank_reforge_stone ? air
|
||||
- air
|
||||
- iron_block
|
||||
- daylight_sensor
|
||||
- iron_block
|
||||
- air
|
||||
- phantom_membrane
|
||||
- air
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.05
|
||||
triggers:
|
||||
- melee_attack
|
||||
- id: crit_multiplier
|
||||
args:
|
||||
multiplier: 1.1
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
20
eco-core/core-plugin/src/main/resources/reforges/evasive.yml
Normal file
20
eco-core/core-plugin/src/main/resources/reforges/evasive.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: "<gradient:#EFEFBB>Evasive</gradient:#D4D3DD>"
|
||||
description:
|
||||
- "&a+2% &fIgnore Damage Chance"
|
||||
targets:
|
||||
- armor
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 0
|
||||
chance: 2
|
||||
triggers:
|
||||
- take_damage
|
||||
conditions: []
|
||||
@@ -0,0 +1,19 @@
|
||||
name: "<gradient:#1e3c72>Gravitated</gradient:#2a5298>"
|
||||
description:
|
||||
- "&a+8% &fCritical Damage"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: crit_multiplier
|
||||
args:
|
||||
multiplier: 1.08
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
27
eco-core/core-plugin/src/main/resources/reforges/light.yml
Normal file
27
eco-core/core-plugin/src/main/resources/reforges/light.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: "<gradient:#1c92d2>Light</gradient:#f2fcfe>"
|
||||
description:
|
||||
- "&c-5% &fDamage"
|
||||
- "&c-5% &fKnockback"
|
||||
- "&a+10% &fAttack Speed"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 0.95
|
||||
triggers:
|
||||
- melee_attack
|
||||
- id: knockback_multiplier
|
||||
args:
|
||||
multiplier: 0.95
|
||||
- id: attack_speed_multiplier
|
||||
args:
|
||||
multiplier: 1.1
|
||||
conditions: []
|
||||
@@ -0,0 +1,26 @@
|
||||
name: "<gradient:#373B44>Nautical</gradient:#4286f4>"
|
||||
description:
|
||||
- "&a+20% &fDamage in water"
|
||||
targets:
|
||||
- melee
|
||||
- bow
|
||||
- trident
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.2
|
||||
triggers:
|
||||
- melee_attack
|
||||
- bow_attack
|
||||
- trident_attack
|
||||
conditions:
|
||||
- id: in_water
|
||||
args:
|
||||
in_water: true
|
||||
19
eco-core/core-plugin/src/main/resources/reforges/pointy.yml
Normal file
19
eco-core/core-plugin/src/main/resources/reforges/pointy.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: "<gradient:#076585>Pointy</gradient:#ffffff>"
|
||||
description:
|
||||
- "&a+10% &fDamage"
|
||||
targets:
|
||||
- trident
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.1
|
||||
triggers:
|
||||
- trident_attack
|
||||
conditions: []
|
||||
@@ -0,0 +1,20 @@
|
||||
name: "<gradient:#00B4DB>Prospecting</gradient:#0083B0>"
|
||||
description:
|
||||
- "&a+5% &fChance to get &e$$2&f for mining a block"
|
||||
targets:
|
||||
- pickaxe
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: give_money
|
||||
args:
|
||||
amount: 2
|
||||
chance: 5
|
||||
triggers:
|
||||
- mine_block
|
||||
conditions: []
|
||||
@@ -0,0 +1,19 @@
|
||||
name: "<gradient:#FBD786>Reinforced</gradient:#f7797d>"
|
||||
description:
|
||||
- "&a+4% &fDamage Resistance"
|
||||
targets:
|
||||
- armor
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 0.96
|
||||
triggers:
|
||||
- take_damage
|
||||
conditions: []
|
||||
32
eco-core/core-plugin/src/main/resources/reforges/rich.yml
Normal file
32
eco-core/core-plugin/src/main/resources/reforges/rich.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: "<gradient:#DBDBDB>Rich</gradient:#F2F2F2>"
|
||||
description:
|
||||
- "&a+$$50 &fFor each mob kill"
|
||||
targets:
|
||||
- trident
|
||||
- bow
|
||||
stone:
|
||||
enabled: true
|
||||
name: "<gradient:#DBDBDB>Rich</gradient:#F2F2F2>&f Reforge Stone"
|
||||
lore:
|
||||
- "&7Place on the right of the"
|
||||
- "&7reforge menu to apply the"
|
||||
- "<gradient:#DBDBDB>Rich</gradient:#F2F2F2>&7 reforge!"
|
||||
item: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2RjNTdjNzVhZGYzOWVjNmYwZTA5MTYwNDlkZDk2NzFlOThhOGExZTYwMDEwNGU4NGU2NDVjOTg4OTUwYmQ3In19fQ==
|
||||
craftable: true
|
||||
recipe:
|
||||
- gold_block
|
||||
- trident
|
||||
- gold_block
|
||||
- air
|
||||
- ecoitems:blank_reforge_stone ? obsidian
|
||||
- air
|
||||
- gold_block
|
||||
- bow
|
||||
- gold_block
|
||||
effects:
|
||||
- id: give_money
|
||||
args:
|
||||
amount: 50
|
||||
triggers:
|
||||
- kill
|
||||
conditions: []
|
||||
19
eco-core/core-plugin/src/main/resources/reforges/sharp.yml
Normal file
19
eco-core/core-plugin/src/main/resources/reforges/sharp.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: "<gradient:#f12711>Sharp</gradient:#f5af19>"
|
||||
description:
|
||||
- "&a+3% &fDamage"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.03
|
||||
triggers:
|
||||
- melee_attack
|
||||
conditions: []
|
||||
@@ -0,0 +1,19 @@
|
||||
name: "<gradient:#74ebd5>Streamlined</gradient:#ACB6E5>"
|
||||
description:
|
||||
- "&a+4% &fDamage"
|
||||
targets:
|
||||
- bow
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.04
|
||||
triggers:
|
||||
- bow_attack
|
||||
conditions: []
|
||||
23
eco-core/core-plugin/src/main/resources/reforges/strong.yml
Normal file
23
eco-core/core-plugin/src/main/resources/reforges/strong.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: "<gradient:#ED213A>Strong</gradient:#93291E>"
|
||||
description:
|
||||
- "&a+2% &fDamage"
|
||||
- "&a+10% &fKnockback"
|
||||
targets:
|
||||
- melee
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.02
|
||||
triggers:
|
||||
- melee_attack
|
||||
- id: knockback_multiplier
|
||||
args:
|
||||
multiplier: 1.1
|
||||
conditions: []
|
||||
23
eco-core/core-plugin/src/main/resources/reforges/thin.yml
Normal file
23
eco-core/core-plugin/src/main/resources/reforges/thin.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: "<gradient:#D1913C>Thin</gradient:#FFD194>"
|
||||
description:
|
||||
- "&c-5% &fDamage Resistance"
|
||||
- "&a+2.5% &fMovement Speed"
|
||||
targets:
|
||||
- armor
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 1.05
|
||||
triggers:
|
||||
- take_damage
|
||||
- id: movement_speed_multiplier
|
||||
args:
|
||||
multiplier: 1.025
|
||||
conditions: []
|
||||
23
eco-core/core-plugin/src/main/resources/reforges/tough.yml
Normal file
23
eco-core/core-plugin/src/main/resources/reforges/tough.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: "<gradient:#a73737>Tough</gradient:#7a2828>"
|
||||
description:
|
||||
- "&c+8% &fDamage Resistance"
|
||||
- "&a-5% &fMovement Speed"
|
||||
targets:
|
||||
- armor
|
||||
stone:
|
||||
enabled: false
|
||||
name: ''
|
||||
lore: []
|
||||
item: ''
|
||||
craftable: false
|
||||
recipe: []
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: 0.92
|
||||
triggers:
|
||||
- take_damage
|
||||
- id: movement_speed_multiplier
|
||||
args:
|
||||
multiplier: 0.95
|
||||
conditions: []
|
||||
@@ -1,4 +1,4 @@
|
||||
#libreforge-updater
|
||||
#Sun May 22 15:27:50 BST 2022
|
||||
version=5.0.0
|
||||
#Thu Sep 15 12:10:27 BST 2022
|
||||
version=5.52.0
|
||||
plugin-name=Reforges
|
||||
|
||||
Reference in New Issue
Block a user