Skip to content

Commit

Permalink
update to 1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Aug 18, 2024
1 parent 29f0b9f commit 2640b59
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## Changelog
- fix HUD part
- update to 1.21.1
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public static Identifier getListBackgroundTexture() {
* @param vOffset the v offset
* @see #renderDirtBackgroundTexture(int, int, int, int, float, int, int, int, int)
*/
@Deprecated(since = "1.20.5")
public static void renderDirtBackgroundTexture(int x, int y, int width, int height, float vOffset) {
renderDirtBackgroundTexture(x, y, width, height, vOffset, 64, 64, 64, 255);
}
Expand All @@ -113,6 +114,7 @@ public static void renderDirtBackgroundTexture(int x, int y, int width, int heig
* @param blue the blue-component color value
* @param alpha the alpha-component alpha value
*/
@Deprecated(since = "1.20.5")
public static void renderDirtBackgroundTexture(int x, int y, int width, int height, float vOffset,
int red, int green, int blue, int alpha) {
var tessellator = Tessellator.getInstance();
Expand Down
2 changes: 1 addition & 1 deletion fabric/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## Changelog
- fix HUD part
- update to 1.21.1
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
org.gradle.jvmargs=-Xmx2G

minecraft_version=1.21
minecraft_version=1.21.1
enabled_platforms=fabric,neoforge
yarn_mappings=1.21+build.2
yarn_mappings=1.21.1+build.3
mappings_patch=1.21+build.4

archives_base_name=ObsidianUI
mod_version=0.2.7
mod_version=0.2.8
maven_group=org.thinkingstudio.obsidianui

fabric_loader_version=0.15.11
fabric_api_version=0.100.1+1.21
fabric_loader_version=0.16.2
fabric_api_version=0.102.1+1.21.1

neoforge_version=21.0.2-beta
neoforge_version=21.1.18

modrinth_id=E0L8mfJZ
curseforge_id=684718
2 changes: 1 addition & 1 deletion neoforge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## Changelog
- fix HUD part
- update to 1.21.1
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
package org.thinkingstudio.obsidianui.neoforge;

import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.client.render.RenderTickCounter;
import net.neoforged.api.distmarker.Dist;
import net.neoforged.bus.api.EventPriority;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;
Expand All @@ -25,7 +24,7 @@
import org.thinkingstudio.obsidianui.neoforge.event.OpenScreenCallbackEvent;
import org.thinkingstudio.obsidianui.neoforge.event.ResolutionChangeCallbackEvent;

@Mod(ObsidianUI.MODID)
@Mod(value = ObsidianUI.MODID, dist = Dist.CLIENT)
public class ObsidianUINeoForge {
public ObsidianUINeoForge() {
IEventBus forgeEventBus = NeoForge.EVENT_BUS;
Expand Down

0 comments on commit 2640b59

Please sign in to comment.