Skip to content

Commit

Permalink
Support OptiFine_1.16.5_HD_U_G8_pre9.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZekerZhayard committed Mar 23, 2021
1 parent 447e53a commit 9934910
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 142 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# OptiForge ([CurseForge](https://www.curseforge.com/minecraft/mc-mods/optiforge))

*Compatibility: (2021-03-15)*
 *OptiForge-0.5.4*
*Compatibility: (2021-03-23)*
 *OptiForge-0.5.5*
 *Forge-1.16.5-36.0.60 or newer version*
 *OptiFine-1.16.5-G7 or newer version*
 *OptiFine-1.16.5-G8-pre9 or newer version*

## How to Use

Expand All @@ -19,9 +19,7 @@ I recommend installing [MoreCrashInfo](https://github.com/xfl03/MoreCrashInfo/re

### For Development Environment

1. There is a project called [OptiFineDevTweaker](https://github.com/OpenCubicChunks/OptiFineDevTweaker) can help us use OptiFine under development environment. You should put OptiFine itself and OptiFineDevTweaker mod to `<projectDir>/run/mods` folder.
2. If your project doesn't depend on Mixin, you should put MixinBootstrap mod to mods folder.
3. You should also put OptiForge jar with `-deobf` suffix to mods folder.
There is a project called [OptiFineDevTweaker](https://github.com/OpenCubicChunks/OptiFineDevTweaker) can help us use OptiFine under development environment. You should put OptiFine itself and OptiFineDevTweaker mod to `<projectDir>/run/mods` folder.

*Notice:*
*1. If you redefined your Gradle user home, you should add a VM argument:*
Expand Down
14 changes: 1 addition & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,11 @@ task sourcesJar(type: Jar) {
attributes(attrs)
}
from sourceSets.main.allSource
archiveName = "${archivesBaseName}-${version}-sources.${extension}"
}

task deobfJar(type: Jar) {
manifest {
attributes(attrs)
}
from sourceSets.main.output
archiveName = "${archivesBaseName}-${version}-deobf.${extension}"
archiveFileName = "${archivesBaseName}-${archiveVersion}-sources.${archiveExtension}"
}

artifacts {
archives sourcesJar
archives deobfJar
}

processResources {
Expand Down Expand Up @@ -189,9 +180,6 @@ if (apiKey != null) {
mainArtifact jar, {
displayName = "${archivesBaseName}-${version}"
}
addArtifact deobfJar, {
displayName = "${archivesBaseName}-${version}-deobf"
}
addArtifact sourcesJar, {
displayName = "${archivesBaseName}-${version}-sources"
}
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false

mod_version=0.5.4
# G7
optifine_version=7.8.0
mod_version=0.5.5
# G8_pre9
optifine_version=7.8.9
minecraft_version=1.16.5
forge_version=36.0.60
forge_gradle_version=4.1.3
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.entity.player.AbstractClientPlayerEntityTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.gui.screen.MainMenuScreenTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.renderer.FirstPersonRendererTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.renderer.WorldRendererTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.renderer.entity.ItemFrameRendererTransformer
Expand All @@ -10,6 +9,5 @@ io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.renderer.
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.renderer.model.ModelBakeryTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.renderer.texture.AtlasTextureTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.renderer.texture.StitcherTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.client.renderer.tileentity.SignTileEntityRendererTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.minecraft.network.datasync.EntityDataManagerTransformer
io.github.zekerzhayard.optiforge.asm.transformers.net.optifine.reflect.ReflectorClassTransformer

0 comments on commit 9934910

Please sign in to comment.