Skip to content

Commit

Permalink
releasing v1.10.3 forge version will follow when KFF is ready.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackd committed Jun 8, 2023
1 parent 0e9e4a3 commit c1db497
Show file tree
Hide file tree
Showing 51 changed files with 3,512 additions and 32 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.anti_ad.mc.ipnext.buildsrc.loom_version
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.io.ByteArrayOutputStream

val versionObj = Version("1", "10", "2",
val versionObj = Version("1", "10", "3",
preRelease = (System.getenv("IPNEXT_RELEASE") == null))


Expand Down Expand Up @@ -88,7 +88,7 @@ allprojects {
group = "org.anti-ad.mc"
ext.set("mod_artefact_version", versionObj.toCleanString())
ext.set("mod_artefact_is_release", versionObj.isRelease())
ext.set("libIPN_version", "3.0.0")
ext.set("libIPN_version", "3.0.2")

tasks.withType<JavaCompile>().configureEach {
options.isFork = true
Expand Down
14 changes: 10 additions & 4 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<!-- latest begin -->

### 1.10.2
### 1.10.3

- Sorry for the torrent of updates but somehow the last released end up build from 1.10.1 sources
- Support for 1.20 Fabric. The pre1/2 version does work but has some GUI glitches.
- Fixed a problem where the bookmark buttons didn't work last 1 or 2 trades.
- Fixed random crash some players are experiencing while trading or switching villagers.
- IPN + OptiFabric-v1.13.24 will cause the game to crash. No fix or workaround is possible at this time.

### WARNING

Expand All @@ -26,6 +24,14 @@ Any problems that are not reproducible on Fabric will be addressed with very low
<!-- latest end -->
<!-- rest begin -->

### 1.10.2

- Sorry for the torrent of updates but somehow the last released end up build from 1.10.1 sources
- Fixed a problem where the bookmark buttons didn't work last 1 or 2 trades.
- Fixed random crash some players are experiencing while trading or switching villagers.
- IPN + OptiFabric-v1.13.24 will cause the game to crash. No fix or workaround is possible at this time.


### 1.10.0/1

- Adds support for 1.20-pre1/2 and probably 1.20 proper.
Expand Down
14 changes: 14 additions & 0 deletions description/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,20 @@ some shortcuts "Inventory Tweaks" used.
</tbody>
</table>

## Dependencies

### Fabric
* [Fabric API](https://www.curseforge.com/minecraft/mc-mods/fabric-api)
* [Fabric Language Kotlin](https://www.curseforge.com/minecraft/mc-mods/fabric-language-kotlin)
* [libIPN](https://www.curseforge.com/minecraft/mc-mods/libipn)
* [Mod Menu](https://www.curseforge.com/minecraft/mc-mods/modmenu)

### Forge
* [Kotlin For Forge](https://www.curseforge.com/minecraft/mc-mods/kotlin-for-forge)
* [libIPN](https://www.curseforge.com/minecraft/mc-mods/libipn)



## WARNING

Due to multiple Quilt specific crashes and one item duplication Quilt support is now defined as fallows:
Expand Down
10 changes: 5 additions & 5 deletions platforms/fabric-1.20/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ import org.anti_ad.mc.ipnext.buildsrc.loom_version
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import proguard.gradle.ProGuardTask

val supported_minecraft_versions = listOf("1.20-pre1", "1.20-pre2", "1.20-pre3", "1.20-pre4", "1.20-Snapshot")
val supported_minecraft_versions = listOf("1.20", "1.20")
val mod_loader = "fabric"
val mod_version = project.version.toString()
val minecraft_version = "1.20-pre4"
val minecraft_version = "1.20"
val minecraft_version_string = "1.20"
val mappings_version = "1.20-pre4+build.3"
val loader_version = "0.14.19"
val mappings_version = "1.20+build.1"
val loader_version = "0.14.21"
val modmenu_version = "7.0.0-beta.2"
val fabric_api_version = "0.81.2+1.20"
val fabric_api_version = "0.83.0+1.20"
val mod_artefact_version = project.ext["mod_artefact_version"]
val libIPN_version = "${project.name}:${project.ext["libIPN_version"]}"
val carpet_core_version = "1.20-pre2-1.4.109+v230516"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,14 @@ public void onBackgroundRender(DrawContext drawContext, int i, int j, float f, C
ContainerScreenEventHandler.INSTANCE.onBackgroundRender(new NativeContext(drawContext), i, j);
}



@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/screen/ingame/HandledScreen;" +
"drawForeground(Lnet/minecraft/client/gui/DrawContext;II)V", shift = At.Shift.AFTER), method = "render")
public void onForegroundRender(DrawContext drawContext, int i, int j, float f, CallbackInfo ci) {
ContainerScreenEventHandler.INSTANCE.onForegroundRender(new NativeContext(drawContext), i, j);
var context = new NativeContext(drawContext);
context.setOverlay(true);
ContainerScreenEventHandler.INSTANCE.onForegroundRender(context, i, j);
}

@Inject(at = @At(value = "HEAD",
Expand Down
Loading

0 comments on commit c1db497

Please sign in to comment.