@@ -19,9 +19,9 @@ public class NbtOpsExtender {
1919 method = "getNumberValue(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;" ,
2020 at = @ At (
2121 value = "INVOKE" ,
22- target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;"
23- ),
24- remap = false
22+ target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;" ,
23+ remap = false
24+ )
2525 )
2626 private Supplier <String > notANumberUseBetterErrorMessage (Supplier <String > message , @ Local (argsOnly = true ) final NbtElement input ) {
2727 return () -> "Element is not a number: " + input ;
@@ -31,9 +31,9 @@ private Supplier<String> notANumberUseBetterErrorMessage(Supplier<String> messag
3131 method = "getStringValue(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;" ,
3232 at = @ At (
3333 value = "INVOKE" ,
34- target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;"
35- ),
36- remap = false
34+ target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;" ,
35+ remap = false
36+ )
3737 )
3838 private Supplier <String > notAStringUseBetterErrorMessage (Supplier <String > message , @ Local (argsOnly = true ) final NbtElement input ) {
3939 return () -> "Element is not a string: " + input ;
@@ -43,9 +43,9 @@ private Supplier<String> notAStringUseBetterErrorMessage(Supplier<String> messag
4343 method = { "getMapValues(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;" , "getMapEntries(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;" , "getMap(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;" },
4444 at = @ At (
4545 value = "INVOKE" ,
46- target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;"
47- ),
48- remap = false
46+ target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;" ,
47+ remap = false
48+ )
4949 )
5050 private Supplier <String > notAMapUseBetterErrorMessage (Supplier <String > message , @ Local (argsOnly = true ) final NbtElement input ) {
5151 return () -> "Element is not a map: " + input ;
@@ -55,9 +55,9 @@ private Supplier<String> notAMapUseBetterErrorMessage(Supplier<String> message,
5555 method = { "getStream(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;" , "getList(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;" },
5656 at = @ At (
5757 value = "INVOKE" ,
58- target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;"
59- ),
60- remap = false
58+ target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;" ,
59+ remap = false
60+ )
6161 )
6262 private Supplier <String > notAListUseBetterErrorMessage (Supplier <String > message , @ Local (argsOnly = true ) final NbtElement input ) {
6363 return () -> "Element is not a list: " + input ;
0 commit comments