generated from QuiltMC/quilt-template-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
143648c
commit 0f79787
Showing
7 changed files
with
28 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
## Additions | ||
|
||
|
||
## Modifications | ||
|
||
- **Update to Minecraft 1.21** | ||
- Update to QFAPI 11.0.0-alpha.3 | ||
- Update to Gradle 8.6 | ||
|
||
## Removals | ||
|
||
- Remove `animal_breeding` tag | ||
- Add `elytra_repair_ingredients` tag which controls which blocks azalea's can be placed on |
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
17 changes: 17 additions & 0 deletions
17
src/main/java/fr/mysteriousdev/quilt_tag_plus/mixin/ElytraItemMixin.java
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,17 @@ | ||
package fr.mysteriousdev.quilt_tag_plus.mixin; | ||
|
||
import fr.mysteriousdev.quilt_tag_plus.utils.ModItemTags; | ||
import net.minecraft.item.ElytraItem; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.item.ItemStack; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.injection.At; | ||
import org.spongepowered.asm.mixin.injection.Redirect; | ||
|
||
@Mixin(ElytraItem.class) | ||
public class ElytraItemMixin { | ||
@Redirect(method = "canRepair", at = @At(value = "INVOKE", target = "Lnet/minecraft/item/ItemStack;isOf(Lnet/minecraft/item/Item;)Z", ordinal = 0)) | ||
private boolean canRepair(ItemStack instance, Item item) { | ||
return instance.isIn(ModItemTags.ELYTRA_REPAIR_INGREDIENTS); | ||
} | ||
} |
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
5 changes: 0 additions & 5 deletions
5
src/main/resources/data/quilt_tag_plus/tags/item/animal_breeding.json
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
src/main/resources/data/quilt_tag_plus/tags/item/elytra_repair_ingredients.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,5 @@ | ||
{ | ||
"values": [ | ||
"minecraft:phantom_membrane" | ||
] | ||
} |
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