Skip to content

Commit

Permalink
Allow enchanting annihilation planes with unbreaking and efficiency (#…
Browse files Browse the repository at this point in the history
…8178)

Fix #8173.

I have not checked if the enchanted planes do something useful, just
that the enchantments can indeed be applied.
  • Loading branch information
Mithi83 authored Dec 7, 2024
1 parent a1211bc commit efa1b64
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"ae2:annihilation_plane"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"ae2:annihilation_plane"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ public ItemTagsProvider(PackOutput packOutput, CompletableFuture<HolderLookup.Pr
protected void addTags(HolderLookup.Provider registries) {
copyBlockTags();

// Allow the annihilation plane to be enchanted with silk touch & fortune
// Allow the annihilation plane to be enchanted with silk touch, fortune, efficiency & unbreaking
tag(ItemTags.DURABILITY_ENCHANTABLE).add(AEParts.ANNIHILATION_PLANE.asItem());
tag(ItemTags.MINING_ENCHANTABLE).add(AEParts.ANNIHILATION_PLANE.asItem());
tag(ItemTags.MINING_LOOT_ENCHANTABLE).add(AEParts.ANNIHILATION_PLANE.asItem());

// Forge is missing this tag right now
Expand Down

0 comments on commit efa1b64

Please sign in to comment.