Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
DrexHD committed Jun 13, 2024
1 parent 7c0ec5e commit b45dbdd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: build/libs
path: build/libs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import static net.minecraft.block.JukeboxBlock.HAS_RECORD;


@Mixin(net.minecraft.component.type.JukeboxPlayableComponent.class)
public abstract class MusicDiscItemMixin {
@Mixin(JukeboxPlayableComponent.class)
public abstract class JukeboxPlayableComponentMixin {

@Inject(method = "tryPlayStack", at = @At(value = "INVOKE",
target = "Lnet/minecraft/block/entity/JukeboxBlockEntity;setStack(Lnet/minecraft/item/ItemStack;)V"))
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"depends": {
"fabricloader": ">=0.15.10",
"fabric": ">=${fabricApi}",
"fabric-language-kotlin": ">=${fabricKotlin}"
"fabric-language-kotlin": ">=${fabricKotlin}",
"minecraft": ">=${minecraft}"
},
"breaks": {
"cardboard": "*"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ledger.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"HoneycombItemMixin",
"ItemScattererMixin",
"LockableContainerBlockEntityMixin",
"MusicDiscItemMixin",
"JukeboxPlayableComponentMixin",
"NetherPortalMixin",
"ScreenHandlerMixin",
"SetBlockCommandMixin",
Expand Down

0 comments on commit b45dbdd

Please sign in to comment.