Skip to content

Commit

Permalink
fix(*): fixing missing mixin targets
Browse files Browse the repository at this point in the history
  • Loading branch information
c0nstexpr committed Jun 17, 2024
1 parent c5e3420 commit 451278a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(ClientPlayNetworkHandler.class)
public abstract class ClientPlayNetworkHandlerMixin {
abstract class ClientPlayNetworkHandlerMixin {
@Shadow private ClientWorld world;

@Inject(method = "onScreenHandlerSlotUpdate", at = @At("TAIL"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"required": true,
"package": "org.c0nstexpr.fishology.mixin",
"compatibilityLevel": "JAVA_21",
"client": [
"client.network.ClientPlayNetworkHandlerMixin",
"entity.projecttile.FishingBobberEntityMixin",
Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ org.gradle.parallel=true
modGroup=org.c0nstexpr
modVersion=0.1.0
modId=fishology
modName=Fishology
fabric.loom.multiProjectOptimisation=true
modName=Fishology
4 changes: 1 addition & 3 deletions interact/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ repositories {
maven("https://maven.terraformersmc.com")
}

base { archivesName.set("fishology") }

dependencies {
project(":core", "namedElements").let {
project(":core").let {
api(it)
include(it)
clientImplementation(it.dependencyProject.srcClient.output)
Expand Down
4 changes: 2 additions & 2 deletions interact/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# suppress inspection "UnusedProperty" for whole file
modId=fishology-interact
modName=Fishology Interact
modId=fishology
modName=Fishology
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ abstract class ChatInteraction(val client: MinecraftClient, val defaultTranslate

protected fun notify(txt: Text) =
when (notifyLevel) {
NotifyLevel.HUD -> client.msg(defaultMsg.append(txt))
NotifyLevel.HUD -> client.msg(txt)
NotifyLevel.Chat -> client.chat(fmt.format(txt.string), logger)
NotifyLevel.None -> {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"fishology.left_brace": "(",
"fishology.right_brace": ")",
"fishology.comma": ",",
"fishology.discard_loots_notification": "Rod is selected, discard loots feature will not work"
"fishology.discard_loots_notification": "Rod is selected, discard loots feature will not work. If needed, please move the rod to secondary slot."
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"fishology.left_brace": "",
"fishology.right_brace": "",
"fishology.comma": "",
"fishology.discard_loots_notification": "鱼竿处于选中状态,不会扔出被排除的战利品"
"fishology.discard_loots_notification": "鱼竿处于选中状态,不会扔出被排除的战利品。如有需要,请将鱼竿置于副手"
}

0 comments on commit 451278a

Please sign in to comment.