Skip to content

Commit

Permalink
Rename ItemStack.encode* -> toNbt*
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Aug 22, 2024
1 parent 41c30da commit ab3ee05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mappings/net/minecraft/item/ItemStack.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
ARG 2 builder
METHOD method_57357 canPlaceOn (Lnet/minecraft/class_2694;)Z
ARG 1 pos
METHOD method_57358 encode (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2520;
METHOD method_57358 toNbt (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2520;
ARG 1 registries
METHOD method_57359 fromNbtOrEmpty (Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1799;
ARG 0 registries
Expand Down Expand Up @@ -285,9 +285,9 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
ARG 1 pos
METHOD method_57374 (Lnet/minecraft/class_6880;)Lcom/mojang/serialization/DataResult;
ARG 0 entry
METHOD method_57375 encodeAllowEmpty (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2520;
METHOD method_57375 toNbtAllowEmpty (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2520;
ARG 1 registries
METHOD method_57376 encode (Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_2520;)Lnet/minecraft/class_2520;
METHOD method_57376 toNbt (Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_2520;)Lnet/minecraft/class_2520;
ARG 1 registries
ARG 2 prefix
METHOD method_57377 (Ljava/lang/String;)V
Expand Down

0 comments on commit ab3ee05

Please sign in to comment.