Removed things that was added last snapshots?

This commit is contained in:
lukasabbe
2025-04-16 21:21:43 +02:00
parent cf61c76631
commit 9a7be37561
2 changed files with 4 additions and 7 deletions
+4 -4
View File
@@ -2,16 +2,16 @@
org.gradle.jvmargs=-Xmx4G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=25w15a
yarn_mappings=25w15a+build.5
minecraft_version=25w16a
yarn_mappings=25w16a+build.2
loader_version=0.16.13
# Mod Properties
mod_version=1.11+1.21.6-SNAPSHOT.1
mod_version=1.11+1.21.6-SNAPSHOT.2
maven_group=me.lukasabbe
archives_base_name=Bookshelfinspector
# Dependencies
fabric_version=0.119.10+1.21.6
fabric_version=0.120.2+1.21.6
cloth_config=18.0.145
modmenu=14.0.0-rc.2
YAML_snake=2.4
@@ -7,7 +7,6 @@ import net.fabricmc.api.Environment;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.font.TextRenderer;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.client.gui.GuiLayer;
import net.minecraft.component.DataComponentTypes;
import net.minecraft.component.type.ItemEnchantmentsComponent;
import net.minecraft.enchantment.Enchantment;
@@ -28,7 +27,6 @@ public class HudRenderer {
if(client.options.hudHidden) return;
if(!BookshelfinspectorClient.bookShelfData.isCurrentBookDataToggled) return;
context.pushGuiLayer(GuiLayer.HUD);
final BookData currentBookData = BookshelfinspectorClient.currentBookData;
final int screenWidth = client.getWindow().getScaledWidth();
final int screenHeight = client.getWindow().getScaledHeight();
@@ -80,7 +78,6 @@ public class HudRenderer {
drawScaledText(context, Text.translatable("book.byAuthor",writtenBookContentComponent.author()), x,y+(int)(20*scaleFactor), 0xFFFFFFFF,client.textRenderer);
}
context.popGuiLayer();
}
private static void drawScaledText(DrawContext context, Text text, int centerX, int y, int color, TextRenderer textRenderer){