From 2ec1b8c3d971f2de14076b6070dc26bf30fd2bf9 Mon Sep 17 00:00:00 2001 From: Ztrolix Date: Thu, 21 Nov 2024 21:47:54 +1100 Subject: [PATCH] Removed Incompatible Code for #56 --- src/main/java/dev/xdpxi/xdlib/ModBlockTags.java | 16 ---------------- .../assets/xdlib/textures/gui/background.png | Bin 216 -> 0 bytes .../textures/gui/sprites/hud/air_empty.png | Bin 4235 -> 0 bytes .../xdlib/textures/gui/sprites/hud/air_full.png | Bin 146 -> 0 bytes .../xdlib/textures/gui/sprites/hud/air_half.png | Bin 112 -> 0 bytes src/main/resources/xdlib.accesswidener | 3 --- 6 files changed, 19 deletions(-) delete mode 100644 src/main/java/dev/xdpxi/xdlib/ModBlockTags.java delete mode 100644 src/main/resources/assets/xdlib/textures/gui/background.png delete mode 100644 src/main/resources/assets/xdlib/textures/gui/sprites/hud/air_empty.png delete mode 100644 src/main/resources/assets/xdlib/textures/gui/sprites/hud/air_full.png delete mode 100644 src/main/resources/assets/xdlib/textures/gui/sprites/hud/air_half.png diff --git a/src/main/java/dev/xdpxi/xdlib/ModBlockTags.java b/src/main/java/dev/xdpxi/xdlib/ModBlockTags.java deleted file mode 100644 index 7112834..0000000 --- a/src/main/java/dev/xdpxi/xdlib/ModBlockTags.java +++ /dev/null @@ -1,16 +0,0 @@ -package dev.xdpxi.xdlib; - -import net.minecraft.block.Block; -import net.minecraft.block.BlockState; -import net.minecraft.block.Blocks; - -import java.util.Arrays; -import java.util.List; - -public class ModBlockTags { - private final static List copperGrates = Arrays.asList(Blocks.COPPER_GRATE, Blocks.EXPOSED_COPPER_GRATE, Blocks.WAXED_COPPER_GRATE, Blocks.OXIDIZED_COPPER_GRATE, Blocks.WEATHERED_COPPER_GRATE, Blocks.WAXED_EXPOSED_COPPER_GRATE, Blocks.WAXED_OXIDIZED_COPPER_GRATE, Blocks.WAXED_WEATHERED_COPPER_GRATE); - - public static boolean isACopperGrates(BlockState state) { - return copperGrates.stream().anyMatch(t -> t.getDefaultState().isOf(state.getBlock())); - } -} \ No newline at end of file diff --git a/src/main/resources/assets/xdlib/textures/gui/background.png b/src/main/resources/assets/xdlib/textures/gui/background.png deleted file mode 100644 index 118e1b4a5f6670eeda5a7c795bda9605011f19f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$1AIbUf%L6Qi-F`EU7u(m#at5P7ySP}!}U|VK(!2<1s;*b3=DjSK$uZf z!>a)(=;`U=7-Hd{oRE~1kid}0ak7Q4VNp*{kBtO5=znbg!6SRS%FtXcZ#3eZpnPgg&ebxsLQ09;%< AjsO4v diff --git a/src/main/resources/assets/xdlib/textures/gui/sprites/hud/air_empty.png b/src/main/resources/assets/xdlib/textures/gui/sprites/hud/air_empty.png deleted file mode 100644 index 0b3b2aaacf3f0c0d5815644703740455062377a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4235 zcmeH~e{dA#8OJvbT;M_=5QwSOX0t)sME7?0Zo}TKcR;*5lM@cE;R-Rsul@1vWzF5~ zWp^)k0hEzYC|FTSJ1V9lEkC4IGZ37qH4?yJ(Pj#aol2{;smN3^22uv9EveFX_mXg# zI^$%f{+G+#kA2?ne%|N#zR&wkc6(@PO@Z}JD}o>efm&Z3{GMvOr&!?U-*#CF;n$n% z!}WR{mqHV&BFRyJ>a7WYg0w6lNc#O)sCs%2I<4#a4$tFHFWUX_xmR|7+UD7GFz~C+ z-_P3FT*=Ih4W4)W#bOQo`1Qu4@7d9LE7&bkP2Y2!0|SQ-(L?>w+4VpA-D7_&?kipJ zvz#?-_}HX=&z+xKAh&P)+*-LNy@b9|zWKh*uch0ty+cP;$Lfw{^}lv|Ki^;di|c<{ z_}SzSHiZAPZSkLTt!Ub0_5#qmcj^r$nA z?)dqvvxPNtzQ1o{*-~OacG65rs7%T=Gy3xFm1}fH?ACv zZ7ThsW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`((UVZ*h9`e&81s%+s@GOWx0{*4GjtACl{x6Pe>7M`q diff --git a/src/main/resources/assets/xdlib/textures/gui/sprites/hud/air_full.png b/src/main/resources/assets/xdlib/textures/gui/sprites/hud/air_full.png deleted file mode 100644 index 067c2c36b9434058b7f9d924215c8ece9e95559f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{Vk)AG&ArhC9Qyf_TPrT71!NbPZ z_Mazs!j&fmi%uK=NuTlQzkSzCfq(Tptm5(i|JQ#sbt=5U*WsjQVs7}N+sJ59x1nHA t!*ySS)dn@<+n5*TO=Uk+-gBfyn8Bt^J=yiLu_4eB22WQ%mvv4FO#rA}F1|%O$WD@{V=AJH&ArhC96CBus|NVCtPdcR5 z;d{8=r1k$qkp&VBXHD*y32YHxEfez3Uhb&JyF-sWa%O$7l3@sbt!`(&{JAgC2nJ7A KKbLh*2~7Zpz$3K) diff --git a/src/main/resources/xdlib.accesswidener b/src/main/resources/xdlib.accesswidener index cf82138..251ae29 100644 --- a/src/main/resources/xdlib.accesswidener +++ b/src/main/resources/xdlib.accesswidener @@ -2,7 +2,4 @@ accessWidener v2 named accessible method net/minecraft/client/QuickPlay startSingleplayer (Lnet/minecraft/client/MinecraftClient;Ljava/lang/String;)V accessible method net/minecraft/client/QuickPlay startMultiplayer (Lnet/minecraft/client/MinecraftClient;Ljava/lang/String;)V accessible method net/minecraft/client/QuickPlay startRealms (Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/realms/RealmsClient;Ljava/lang/String;)V -accessible class net/minecraft/client/network/ClientCommonNetworkHandler$ConfirmServerResourcePackScreen -accessible class net/minecraft/client/network/ClientCommonNetworkHandler$ConfirmServerResourcePackScreen$Pack -accessible field net/minecraft/client/network/ClientCommonNetworkHandler$ConfirmServerResourcePackScreen packs Ljava/util/List; accessible field net/minecraft/client/option/KeyBinding KEY_TO_BINDINGS Ljava/util/Map; \ No newline at end of file