diff --git a/src/main/kotlin/com/bibireden/data_attributes/api/factory/DefaultAttributeFactory.kt b/src/main/kotlin/com/bibireden/data_attributes/api/factory/DefaultAttributeFactory.kt index aa78f4d..9128c36 100644 --- a/src/main/kotlin/com/bibireden/data_attributes/api/factory/DefaultAttributeFactory.kt +++ b/src/main/kotlin/com/bibireden/data_attributes/api/factory/DefaultAttributeFactory.kt @@ -16,7 +16,7 @@ import net.minecraft.util.Identifier * Instead, register afterward, such as on **mod initialization**. */ object DefaultAttributeFactory { - @Deprecated("Use the new system to register default entries.", level = DeprecationLevel.WARNING) + @Deprecated("Use the new data-pack based system to register default entries.", level = DeprecationLevel.WARNING) @JvmStatic /** Registers default [AttributeOverride]'s to the config if they are not present currently within the config. */ fun registerOverrides(overrides: Map) { @@ -26,7 +26,7 @@ object DefaultAttributeFactory { DataAttributes.OVERRIDES_CONFIG.save() } - @Deprecated("Use the new system to register default entries.", level = DeprecationLevel.WARNING) + @Deprecated("Use the new data-pack based system to register default entries.", level = DeprecationLevel.WARNING) @JvmStatic /** Registers default [AttributeFunction]'s to the config if they are not present currently within the config. */ fun registerFunctions(functions: Map>) { @@ -46,7 +46,7 @@ object DefaultAttributeFactory { DataAttributes.FUNCTIONS_CONFIG.save() } - @Deprecated("Use the new system to register default entries.", level = DeprecationLevel.WARNING) + @Deprecated("Use the new data-pack based system to register default entries.", level = DeprecationLevel.WARNING) @JvmStatic /** Registers default [EntityTypeData]'s to the config if they are not present currently within the config. */ fun registerEntityTypes(entityTypes: Map) { diff --git a/src/main/resources/data/data_attributes/data_attributes/entity_types/a.json b/src/main/resources/data/data_attributes/data_attributes/entity_types/a.json deleted file mode 100644 index 1170115..0000000 --- a/src/main/resources/data/data_attributes/data_attributes/entity_types/a.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "entries": { - "minecraft:player": { - "playerex:level": 0.0, - "playerex:constitution": 0.0, - "playerex:strength": 0.0, - "playerex:dexterity": 0.0, - "playerex:intelligence": 0.0, - "playerex:luckiness": 0.0, - "playerex:evasion": 0.0, - "playerex:lifesteal": 0.0, - "playerex:focus": 0.0, - "playerex:health_regeneration": 0.0, - "playerex:heal_amplification": 0.0, - "playerex:melee_crit_damage": 0.0, - "playerex:melee_crit_chance": 0.0, - "playerex:ranged_crit_damage": 0.0, - "playerex:ranged_crit_chance": 0.0, - "playerex:fire_resistance": 0.0, - "playerex:freeze_resistance": 0.0, - "playerex:lightning_resistance": 0.0, - "playerex:poison_resistance": 0.0, - "playerex:wither_resistance": 0.0, - "playerex:breaking_speed": 1.0, - "playerex:enchanting": 0.0, - "playerex:logging": 0.0, - "playerex:alchemy": 0.0, - "playerex:fishing": 0.0, - "playerex:mining": 0.0, - "playerex:smithing": 0.0, - "playerex:farming": 0.0 - } - } -} \ No newline at end of file diff --git a/src/main/resources/data/data_attributes/data_attributes/functions/f.json b/src/main/resources/data/data_attributes/data_attributes/functions/f.json deleted file mode 100644 index 57e991d..0000000 --- a/src/main/resources/data/data_attributes/data_attributes/functions/f.json +++ /dev/null @@ -1,146 +0,0 @@ -{ - "entries": { - "playerex:luckiness": [ - { - "id": "playerex:melee_crit_chance", - "behavior": "Add", - "value": 0.02 - }, - { - "id": "playerex:ranged_crit_chance", - "behavior": "Add", - "value": 0.02 - }, - { - "id": "minecraft:generic.luck", - "behavior": "Add", - "value": 0.05 - }, - { - "id": "playerex:evasion", - "behavior": "Add", - "value": 0.01 - }, - { - "id": "spell_power:critical_chance", - "behavior": "Add", - "value": 0.02 - } - ], - "playerex:dexterity": [ - { - "id": "minecraft:generic.attack_speed", - "behavior": "Multiply", - "value": 0.01 - }, - { - "id": "playerex:ranged_crit_damage", - "behavior": "Add", - "value": 0.005 - }, - { - "id": "ranged_weapon:haste", - "behavior": "Multiply", - "value": 0.02 - }, - { - "id": "ranged_weapon:damage", - "behavior": "Multiply", - "value": 0.02 - } - ], - "playerex:constitution": [ - { - "id": "minecraft:generic.max_health", - "behavior": "Add", - "value": 0.5 - }, - { - "id": "minecraft:generic.armor", - "behavior": "Add", - "value": 0.25 - }, - { - "id": "additionalentityattributes:generic.magic_protection", - "behavior": "Add", - "value": 0.25 - }, - { - "id": "additionalentityattributes:generic.lung_capacity", - "behavior": "Add", - "value": 0.01 - }, - { - "id": "playerex:poison_resistance", - "behavior": "Add", - "value": 0.01 - } - ], - "playerex:intelligence": [ - { - "id": "additionalentityattributes:player.dropped_experience", - "behavior": "Multiply", - "value": 0.01 - }, - { - "id": "playerex:wither_resistance", - "behavior": "Add", - "value": 0.01 - }, - { - "id": "spell_power:haste", - "behavior": "Add", - "value": 0.002 - } - ], - "playerex:focus": [ - { - "id": "playerex:health_regeneration", - "behavior": "Add", - "value": 0.0015 - }, - { - "id": "playerex:heal_amplification", - "behavior": "Add", - "value": 2.0E-4 - }, - { - "id": "playerex:freeze_resistance", - "behavior": "Add", - "value": 0.01 - }, - { - "id": "playerex:lightning_resistance", - "behavior": "Add", - "value": 0.01 - }, - { - "id": "playerex:fire_resistance", - "behavior": "Add", - "value": 0.01 - } - ], - "playerex:strength": [ - { - "id": "minecraft:generic.attack_damage", - "behavior": "Multiply", - "value": 0.02 - }, - { - "id": "minecraft:generic.knockback_resistance", - "behavior": "Add", - "value": 0.1 - }, - { - "id": "playerex:melee_crit_damage", - "behavior": "Add", - "value": 0.005 - }, - { - "id": "playerex:breaking_speed", - "behavior": "Add", - "value": 1.0 - } - ] - } -} \ No newline at end of file diff --git a/src/main/resources/data/data_attributes/data_attributes/overrides/l.json b/src/main/resources/data/data_attributes/data_attributes/overrides/l.json deleted file mode 100644 index 8124a16..0000000 --- a/src/main/resources/data/data_attributes/data_attributes/overrides/l.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "entries": { - "playerex:lightning_resistance": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "spell_power:haste": { - "enabled": true, - "min": 100.0, - "max": 1000.0, - "smoothness": 1.0, - "min_fallback": 100.0, - "max_fallback": 1000.0, - "formula": "Diminished" - }, - "playerex:ranged_crit_damage": { - "enabled": true, - "min": 0.0, - "max": 1000000.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1000000.0, - "formula": "Diminished" - }, - "minecraft:generic.knockback_resistance": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "minecraft:generic.luck": { - "enabled": true, - "min": -1024.0, - "max": 1024.0, - "smoothness": 1.0, - "min_fallback": -1024.0, - "max_fallback": 1024.0, - "formula": "Diminished" - }, - "playerex:poison_resistance": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "playerex:melee_crit_damage": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "playerex:wither_resistance": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "playerex:freeze_resistance": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "playerex:health_regeneration": { - "enabled": true, - "min": 0.0, - "max": 100.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 100.0, - "formula": "Diminished" - }, - "playerex:heal_amplification": { - "enabled": true, - "min": 0.0, - "max": 100.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 100.0, - "formula": "Diminished" - }, - "playerex:ranged_crit_chance": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "playerex:evasion": { - "enabled": true, - "min": 0.0, - "max": 100.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 100.0, - "formula": "Diminished" - }, - "playerex:melee_crit_chance": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "playerex:fire_resistance": { - "enabled": true, - "min": 0.0, - "max": 1.0, - "smoothness": 1.0, - "min_fallback": 0.0, - "max_fallback": 1.0, - "formula": "Diminished" - }, - "spell_power:critical_chance": { - "enabled": true, - "min": 100.0, - "max": 1000.0, - "smoothness": 1.0, - "min_fallback": 100.0, - "max_fallback": 1000.0, - "formula": "Diminished" - } - } -} \ No newline at end of file