From 68ee69e8816c2f345138808046c9d96bd96706f2 Mon Sep 17 00:00:00 2001 From: Shnupbups Date: Thu, 2 Nov 2023 03:55:47 +1100 Subject: [PATCH] 23w44a stuff None of the command stuff here - I tried but scrapped it all, I don't understand that stuff lol --- .../entity/DecoratedPotBlockEntity.mapping | 2 ++ .../entity/StructureBlockBlockEntity.mapping | 11 ++++++++ mappings/net/minecraft/class_8934.mapping | 4 --- .../inventory/LootableInventory.mapping | 25 +++++++++++++++++++ 4 files changed, 38 insertions(+), 4 deletions(-) delete mode 100644 mappings/net/minecraft/class_8934.mapping create mode 100644 mappings/net/minecraft/inventory/LootableInventory.mapping diff --git a/mappings/net/minecraft/block/entity/DecoratedPotBlockEntity.mapping b/mappings/net/minecraft/block/entity/DecoratedPotBlockEntity.mapping index f5accad9f2..65281a9288 100644 --- a/mappings/net/minecraft/block/entity/DecoratedPotBlockEntity.mapping +++ b/mappings/net/minecraft/block/entity/DecoratedPotBlockEntity.mapping @@ -5,6 +5,8 @@ CLASS net/minecraft/class_8172 net/minecraft/block/entity/DecoratedPotBlockEntit FIELD field_46661 lastWobbleTime J FIELD field_46662 lastWobbleType Lnet/minecraft/class_8172$class_8837; FIELD field_46663 stack Lnet/minecraft/class_1799; + FIELD field_47156 lootTableId Lnet/minecraft/class_2960; + FIELD field_47157 lootTableSeed J METHOD (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V ARG 1 pos ARG 2 state diff --git a/mappings/net/minecraft/block/entity/StructureBlockBlockEntity.mapping b/mappings/net/minecraft/block/entity/StructureBlockBlockEntity.mapping index 98d2c819bf..f9fb159944 100644 --- a/mappings/net/minecraft/block/entity/StructureBlockBlockEntity.mapping +++ b/mappings/net/minecraft/block/entity/StructureBlockBlockEntity.mapping @@ -92,4 +92,15 @@ CLASS net/minecraft/class_2633 net/minecraft/block/entity/StructureBlockBlockEnt ARG 0 blockEntity METHOD method_34279 (Lnet/minecraft/class_2338;)Z ARG 1 pos + METHOD method_54874 loadAndTryPlaceStructure (Lnet/minecraft/class_3218;)Z + ARG 1 world + METHOD method_54875 loadAndPlaceStructure (Lnet/minecraft/class_3218;Lnet/minecraft/class_3499;)V + ARG 1 world + ARG 2 template + METHOD method_54877 loadStructure (Lnet/minecraft/class_3499;)V + ARG 1 template + METHOD method_54878 loadAndPlaceStructure (Lnet/minecraft/class_3218;)V + ARG 1 world + METHOD method_54879 getStructureTemplate (Lnet/minecraft/class_3218;)Lnet/minecraft/class_3499; + ARG 1 world CLASS class_2634 Action diff --git a/mappings/net/minecraft/class_8934.mapping b/mappings/net/minecraft/class_8934.mapping deleted file mode 100644 index ead717a11c..0000000000 --- a/mappings/net/minecraft/class_8934.mapping +++ /dev/null @@ -1,4 +0,0 @@ -CLASS net/minecraft/class_8934 - METHOD method_10997 getWorld ()Lnet/minecraft/class_1937; - METHOD method_11016 getPos ()Lnet/minecraft/class_2338; - METHOD method_11285 setLootTable (Lnet/minecraft/class_2960;)V diff --git a/mappings/net/minecraft/inventory/LootableInventory.mapping b/mappings/net/minecraft/inventory/LootableInventory.mapping new file mode 100644 index 0000000000..8230989b0a --- /dev/null +++ b/mappings/net/minecraft/inventory/LootableInventory.mapping @@ -0,0 +1,25 @@ +CLASS net/minecraft/class_8934 net/minecraft/inventory/LootableInventory + FIELD field_47154 LOOT_TABLE_KEY Ljava/lang/String; + FIELD field_47155 LOOT_TABLE_SEED_KEY Ljava/lang/String; + METHOD method_10997 getWorld ()Lnet/minecraft/class_1937; + METHOD method_11016 getPos ()Lnet/minecraft/class_2338; + METHOD method_11285 setLootTable (Lnet/minecraft/class_2960;)V + ARG 1 lootTableId + METHOD method_54866 setLootTableSeed (J)V + ARG 1 lootTableSeed + METHOD method_54867 setLootTable (Lnet/minecraft/class_2960;J)V + ARG 1 lootTableId + ARG 2 lootTableSeed + METHOD method_54868 setLootTable (Lnet/minecraft/class_1922;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_2960;)V + ARG 0 world + ARG 1 random + ARG 2 pos + ARG 3 lootTableId + METHOD method_54869 getLootTable ()Lnet/minecraft/class_2960; + METHOD method_54870 getLootTableSeed ()J + METHOD method_54871 readLootTable (Lnet/minecraft/class_2487;)Z + ARG 1 nbt + METHOD method_54872 writeLootTable (Lnet/minecraft/class_2487;)Z + ARG 1 nbt + METHOD method_54873 generateLoot (Lnet/minecraft/class_1657;)V + ARG 1 player