Remove unnecessary client features

This commit is contained in:
AlphaKR93
2025-02-23 17:48:16 +09:00
parent e286d62894
commit 8b0a4c75c5
290 changed files with 17716 additions and 63 deletions

View File

@@ -0,0 +1,11 @@
--- a/net/minecraft/util/datafix/fixes/CustomModelDataExpandFix.java
+++ b/net/minecraft/util/datafix/fixes/CustomModelDataExpandFix.java
@@ -20,7 +_,7 @@
"Custom Model Data expansion",
type,
typed -> typed.update(DSL.remainderFinder(), dynamic -> dynamic.update("minecraft:custom_model_data", dynamic1 -> {
- float f = dynamic1.asNumber(Float.valueOf(0.0F)).floatValue();
+ float f = dynamic1.asNumber(0.0F).floatValue();
return dynamic1.createMap(Map.of(dynamic1.createString("floats"), dynamic1.createList(Stream.of(dynamic1.createFloat(f)))));
}))
);