Skip to content

Commit

Permalink
Manually map a bunch of method_5797s
Browse files Browse the repository at this point in the history
  • Loading branch information
Sychic committed Sep 26, 2024
1 parent 1daba01 commit 17862ff
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mappings/net/minecraft/block/AnvilBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ CLASS net/minecraft/class_2199 net/minecraft/block/AnvilBlock
ARG 4 player
METHOD method_9346 getLandingState (Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
ARG 0 fallingState
CLASS class_2200 AnvilScreenHandlerFactory
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
2 changes: 2 additions & 0 deletions mappings/net/minecraft/block/CraftingTableBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CLASS net/minecraft/class_2304 net/minecraft/block/CraftingTableBlock
ARG 2 syncId
ARG 3 inventory
ARG 4 player
CLASS class_2305 CraftingTableScreenFactory
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
1 change: 1 addition & 0 deletions mappings/net/minecraft/block/entity/BlockEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,4 @@ CLASS net/minecraft/class_2586 net/minecraft/block/entity/BlockEntity
COMMENT
COMMENT <p>This <strong>must be called</strong> when something changed in a way that
COMMENT affects the saved NBT; otherwise, the game might not save the block entity.
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ CLASS net/minecraft/class_2605 net/minecraft/block/entity/EnchantingTableBlockEn
ARG 1 pos
ARG 2 state
ARG 3 blockEntity
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ CLASS net/minecraft/class_2624 net/minecraft/block/entity/LockableContainerBlock
METHOD method_5465 createScreenHandler (ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;
ARG 1 syncId
ARG 2 playerInventory
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,5 @@ CLASS net/minecraft/class_2633 net/minecraft/block/entity/StructureBlockBlockEnt
METHOD method_35293 setStructureVoid (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
ARG 0 world
ARG 1 pos
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
CLASS class_2634 Action
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ CLASS net/minecraft/class_1661 net/minecraft/entity/player/PlayerInventory
ARG 2 notifiesClient
METHOD method_37417 dropSelectedItem (Z)Lnet/minecraft/class_1799;
ARG 1 entireStack
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
METHOD method_7364 getChangeCount ()I
METHOD method_7365 swapSlotWithHotbar (I)V
ARG 1 slot
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/inventory/CraftingInventory.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ CLASS net/minecraft/class_1715 net/minecraft/inventory/CraftingInventory
ARG 3 height
METHOD method_17397 getHeight ()I
METHOD method_17398 getWidth ()I
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CLASS net/minecraft/class_1731 net/minecraft/inventory/CraftingResultInventory
FIELD field_7865 lastRecipe Lnet/minecraft/class_1860;
FIELD field_7866 stacks Lnet/minecraft/class_2371;
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
1 change: 1 addition & 0 deletions mappings/net/minecraft/inventory/DoubleInventory.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ CLASS net/minecraft/class_1258 net/minecraft/inventory/DoubleInventory
ARG 2 second
METHOD method_5405 isPart (Lnet/minecraft/class_1263;)Z
ARG 1 inventory
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
1 change: 1 addition & 0 deletions mappings/net/minecraft/inventory/SimpleInventory.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ CLASS net/minecraft/class_1277 net/minecraft/inventory/SimpleInventory
METHOD method_7659 readNbtList (Lnet/minecraft/class_2499;)V
ARG 1 nbtList
METHOD method_7660 toNbtList ()Lnet/minecraft/class_2499;
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ CLASS net/minecraft/class_747 net/minecraft/screen/SimpleNamedScreenHandlerFacto
METHOD <init> (Lnet/minecraft/class_1270;Lnet/minecraft/class_2561;)V
ARG 1 baseFactory
ARG 2 name
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
1 change: 1 addition & 0 deletions mappings/net/minecraft/village/MerchantInventory.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CLASS net/minecraft/class_1725 net/minecraft/village/MerchantInventory
METHOD <init> (Lnet/minecraft/class_1915;)V
ARG 1 merchant
METHOD method_19252 getMerchantRewardedExperience ()I
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
METHOD method_7642 getTradeOffer ()Lnet/minecraft/class_1914;
METHOD method_7643 setOfferIndex (I)V
ARG 1 index
Expand Down

0 comments on commit 17862ff

Please sign in to comment.