From 8c7cd49acfb6ba00e4c9aa12507cef6890f287ab Mon Sep 17 00:00:00 2001 From: valoeghese Date: Sat, 17 Apr 2021 18:19:51 +1300 Subject: [PATCH] some build.17 mappings --- .../render/entity/PlayerRenderer.mapping | 1 + mappings/net/minecraft/item/ItemType.mapping | 43 +++++++++++-------- .../minecraft/item/PlaceableTileItem.mapping | 1 + .../{Armour.mapping => ArmourItem.mapping} | 2 +- .../net/minecraft/item/food/Cookie.mapping | 1 - .../minecraft/item/food/CookieItem.mapping | 1 + .../food/{Food.mapping => FoodItem.mapping} | 5 ++- ...mStew.mapping => MushroomStewItem.mapping} | 2 +- mappings/net/minecraft/item/tool/Bow.mapping | 1 - .../net/minecraft/item/tool/BowItem.mapping | 1 + .../net/minecraft/item/tool/Bucket.mapping | 1 - .../minecraft/item/tool/BucketItem.mapping | 1 + ...hingRod.mapping => FishingRodItem.mapping} | 2 +- .../{Hatchet.mapping => HatchetItem.mapping} | 2 +- mappings/net/minecraft/item/tool/Hoe.mapping | 1 - .../net/minecraft/item/tool/HoeItem.mapping | 1 + .../{Pickaxe.mapping => PickaxeItem.mapping} | 2 +- .../net/minecraft/item/tool/Shovel.mapping | 2 - .../minecraft/item/tool/ShovelItem.mapping | 2 + .../net/minecraft/item/tool/Sword.mapping | 1 - .../net/minecraft/item/tool/SwordItem.mapping | 1 + mappings/net/minecraft/item/tool/Tool.mapping | 2 - .../net/minecraft/item/tool/ToolItem.mapping | 2 + 23 files changed, 44 insertions(+), 34 deletions(-) rename mappings/net/minecraft/item/armour/{Armour.mapping => ArmourItem.mapping} (63%) delete mode 100644 mappings/net/minecraft/item/food/Cookie.mapping create mode 100644 mappings/net/minecraft/item/food/CookieItem.mapping rename mappings/net/minecraft/item/food/{Food.mapping => FoodItem.mapping} (54%) rename mappings/net/minecraft/item/food/{MushroomStew.mapping => MushroomStewItem.mapping} (90%) delete mode 100644 mappings/net/minecraft/item/tool/Bow.mapping create mode 100644 mappings/net/minecraft/item/tool/BowItem.mapping delete mode 100644 mappings/net/minecraft/item/tool/Bucket.mapping create mode 100644 mappings/net/minecraft/item/tool/BucketItem.mapping rename mappings/net/minecraft/item/tool/{FishingRod.mapping => FishingRodItem.mapping} (92%) rename mappings/net/minecraft/item/tool/{Hatchet.mapping => HatchetItem.mapping} (66%) delete mode 100644 mappings/net/minecraft/item/tool/Hoe.mapping create mode 100644 mappings/net/minecraft/item/tool/HoeItem.mapping rename mappings/net/minecraft/item/tool/{Pickaxe.mapping => PickaxeItem.mapping} (66%) delete mode 100644 mappings/net/minecraft/item/tool/Shovel.mapping create mode 100644 mappings/net/minecraft/item/tool/ShovelItem.mapping delete mode 100644 mappings/net/minecraft/item/tool/Sword.mapping create mode 100644 mappings/net/minecraft/item/tool/SwordItem.mapping delete mode 100644 mappings/net/minecraft/item/tool/Tool.mapping create mode 100644 mappings/net/minecraft/item/tool/ToolItem.mapping diff --git a/mappings/net/minecraft/client/render/entity/PlayerRenderer.mapping b/mappings/net/minecraft/client/render/entity/PlayerRenderer.mapping index b27b378d..caa7f7df 100644 --- a/mappings/net/minecraft/client/render/entity/PlayerRenderer.mapping +++ b/mappings/net/minecraft/client/render/entity/PlayerRenderer.mapping @@ -1 +1,2 @@ CLASS net/minecraft/class_86 net/minecraft/client/render/entity/PlayerRenderer + FIELD field_294 headRenderer Lnet/minecraft/class_87; diff --git a/mappings/net/minecraft/item/ItemType.mapping b/mappings/net/minecraft/item/ItemType.mapping index 685c43c0..725e0033 100644 --- a/mappings/net/minecraft/item/ItemType.mapping +++ b/mappings/net/minecraft/item/ItemType.mapping @@ -114,22 +114,18 @@ CLASS net/minecraft/class_124 net/minecraft/item/ItemType FIELD field_491 pickaxeDiamond Lnet/minecraft/class_124; METHOD (I)V ARG 1 id - METHOD method_443 getTranslationKey ()Ljava/lang/String; + METHOD method_437 postMine (Lnet/minecraft/class_31;IIIILnet/minecraft/class_127;)Z + METHOD method_438 (Lnet/minecraft/class_31;Lnet/minecraft/class_17;)F + ARG 1 item + ARG 2 tile + METHOD method_439 getTexturePosition (Lnet/minecraft/class_31;)I + ARG 1 item + METHOD method_440 getNameColour (I)I METHOD method_441 getTexturePosition (I)I ARG 1 damage - METHOD method_452 setTexturePosition (II)Lnet/minecraft/class_124; - ARG 1 x - ARG 2 y - METHOD method_453 setContainerItem (Lnet/minecraft/class_124;)Lnet/minecraft/class_124; - ARG 1 itemType METHOD method_442 getTranslationKey (Lnet/minecraft/class_31;)Ljava/lang/String; ARG 1 item - METHOD method_437 postMine (Lnet/minecraft/class_31;IIIILnet/minecraft/class_127;)Z - METHOD method_451 use (Lnet/minecraft/class_31;Lnet/minecraft/class_18;Lnet/minecraft/class_54;)Lnet/minecraft/class_31; - ARG 1 item - ARG 2 level - ARG 3 player - METHOD method_454 inventoryTick (Lnet/minecraft/class_31;Lnet/minecraft/class_18;Lnet/minecraft/class_57;IZ)V + METHOD method_443 getTranslationKey ()Ljava/lang/String; METHOD method_444 useOnTile (Lnet/minecraft/class_31;Lnet/minecraft/class_54;Lnet/minecraft/class_18;IIII)Z ARG 1 item ARG 2 player @@ -138,19 +134,28 @@ CLASS net/minecraft/class_124 net/minecraft/item/ItemType ARG 5 y ARG 6 z ARG 7 facing - METHOD method_455 interactWithEntity (Lnet/minecraft/class_31;Lnet/minecraft/class_127;)V METHOD method_446 postHit (Lnet/minecraft/class_31;Lnet/minecraft/class_127;Lnet/minecraft/class_127;)Z - METHOD method_438 (Lnet/minecraft/class_31;Lnet/minecraft/class_17;)F - ARG 1 item - ARG 2 tile - METHOD method_456 setName (Ljava/lang/String;)Lnet/minecraft/class_124; + METHOD method_448 shouldRenderLikeStick ()Z + METHOD method_449 shouldRotate180 ()Z METHOD method_450 isEffectiveOn (Lnet/minecraft/class_17;)Z ARG 1 tile - METHOD method_439 getTexturePosition (Lnet/minecraft/class_31;)I + METHOD method_451 use (Lnet/minecraft/class_31;Lnet/minecraft/class_18;Lnet/minecraft/class_54;)Lnet/minecraft/class_31; ARG 1 item + ARG 2 level + ARG 3 player + METHOD method_452 setTexturePosition (II)Lnet/minecraft/class_124; + ARG 1 x + ARG 2 y + METHOD method_453 setContainerItem (Lnet/minecraft/class_124;)Lnet/minecraft/class_124; + ARG 1 itemType + METHOD method_454 inventoryTick (Lnet/minecraft/class_31;Lnet/minecraft/class_18;Lnet/minecraft/class_57;IZ)V + METHOD method_455 interactWithEntity (Lnet/minecraft/class_31;Lnet/minecraft/class_127;)V + METHOD method_456 setName (Ljava/lang/String;)Lnet/minecraft/class_124; + METHOD method_458 setTexturePosition (I)Lnet/minecraft/class_124; + ARG 1 texturePosition METHOD method_460 setMaxStackSize (I)Lnet/minecraft/class_124; + ARG 1 maxStackSize METHOD method_463 setDurability (I)Lnet/minecraft/class_124; - METHOD method_440 getNameColour (I)I METHOD method_467 getContainerItemType ()Lnet/minecraft/class_124; METHOD method_468 hasContainerItemType ()Z METHOD method_469 getTranslatedName ()Ljava/lang/String; diff --git a/mappings/net/minecraft/item/PlaceableTileItem.mapping b/mappings/net/minecraft/item/PlaceableTileItem.mapping index 389b070f..d30ae24f 100644 --- a/mappings/net/minecraft/item/PlaceableTileItem.mapping +++ b/mappings/net/minecraft/item/PlaceableTileItem.mapping @@ -1 +1,2 @@ CLASS net/minecraft/class_533 net/minecraft/item/PlaceableTileItem + FIELD field_2216 tileId I diff --git a/mappings/net/minecraft/item/armour/Armour.mapping b/mappings/net/minecraft/item/armour/ArmourItem.mapping similarity index 63% rename from mappings/net/minecraft/item/armour/Armour.mapping rename to mappings/net/minecraft/item/armour/ArmourItem.mapping index 558e3d42..b5edce24 100644 --- a/mappings/net/minecraft/item/armour/Armour.mapping +++ b/mappings/net/minecraft/item/armour/ArmourItem.mapping @@ -1,4 +1,4 @@ -CLASS net/minecraft/class_500 net/minecraft/item/armour/Armour +CLASS net/minecraft/class_500 net/minecraft/item/armour/ArmourItem FIELD field_2083 armourSlot I FIELD field_2087 BASE_DURABILITY [I METHOD (IIII)V diff --git a/mappings/net/minecraft/item/food/Cookie.mapping b/mappings/net/minecraft/item/food/Cookie.mapping deleted file mode 100644 index 2de8ef88..00000000 --- a/mappings/net/minecraft/item/food/Cookie.mapping +++ /dev/null @@ -1 +0,0 @@ -CLASS net/minecraft/class_355 net/minecraft/item/food/Cookie diff --git a/mappings/net/minecraft/item/food/CookieItem.mapping b/mappings/net/minecraft/item/food/CookieItem.mapping new file mode 100644 index 00000000..42bc6251 --- /dev/null +++ b/mappings/net/minecraft/item/food/CookieItem.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_355 net/minecraft/item/food/CookieItem diff --git a/mappings/net/minecraft/item/food/Food.mapping b/mappings/net/minecraft/item/food/FoodItem.mapping similarity index 54% rename from mappings/net/minecraft/item/food/Food.mapping rename to mappings/net/minecraft/item/food/FoodItem.mapping index 9dbfde36..11bb84f0 100644 --- a/mappings/net/minecraft/item/food/Food.mapping +++ b/mappings/net/minecraft/item/food/FoodItem.mapping @@ -1,5 +1,8 @@ -CLASS net/minecraft/class_554 net/minecraft/item/food/Food +CLASS net/minecraft/class_554 net/minecraft/item/food/FoodItem FIELD field_2325 healAmount I FIELD field_2326 wolfFood Z + METHOD (IIZ)V + ARG 1 id + ARG 3 wolfFood METHOD method_1835 getHealAmount ()I METHOD method_1836 canWolvesEat ()Z diff --git a/mappings/net/minecraft/item/food/MushroomStew.mapping b/mappings/net/minecraft/item/food/MushroomStewItem.mapping similarity index 90% rename from mappings/net/minecraft/item/food/MushroomStew.mapping rename to mappings/net/minecraft/item/food/MushroomStewItem.mapping index 0f6efae3..8b05760f 100644 --- a/mappings/net/minecraft/item/food/MushroomStew.mapping +++ b/mappings/net/minecraft/item/food/MushroomStewItem.mapping @@ -1 +1 @@ -CLASS net/minecraft/class_495 net/minecraft/item/food/MushroomStew +CLASS net/minecraft/class_495 net/minecraft/item/food/MushroomStewItem diff --git a/mappings/net/minecraft/item/tool/Bow.mapping b/mappings/net/minecraft/item/tool/Bow.mapping deleted file mode 100644 index 3ab22e81..00000000 --- a/mappings/net/minecraft/item/tool/Bow.mapping +++ /dev/null @@ -1 +0,0 @@ -CLASS net/minecraft/class_367 net/minecraft/item/tool/Bow diff --git a/mappings/net/minecraft/item/tool/BowItem.mapping b/mappings/net/minecraft/item/tool/BowItem.mapping new file mode 100644 index 00000000..606c098d --- /dev/null +++ b/mappings/net/minecraft/item/tool/BowItem.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_367 net/minecraft/item/tool/BowItem diff --git a/mappings/net/minecraft/item/tool/Bucket.mapping b/mappings/net/minecraft/item/tool/Bucket.mapping deleted file mode 100644 index d2abae5e..00000000 --- a/mappings/net/minecraft/item/tool/Bucket.mapping +++ /dev/null @@ -1 +0,0 @@ -CLASS net/minecraft/class_220 net/minecraft/item/tool/Bucket diff --git a/mappings/net/minecraft/item/tool/BucketItem.mapping b/mappings/net/minecraft/item/tool/BucketItem.mapping new file mode 100644 index 00000000..c6113b64 --- /dev/null +++ b/mappings/net/minecraft/item/tool/BucketItem.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_220 net/minecraft/item/tool/BucketItem diff --git a/mappings/net/minecraft/item/tool/FishingRod.mapping b/mappings/net/minecraft/item/tool/FishingRodItem.mapping similarity index 92% rename from mappings/net/minecraft/item/tool/FishingRod.mapping rename to mappings/net/minecraft/item/tool/FishingRodItem.mapping index 2e3aa033..3d93a134 100644 --- a/mappings/net/minecraft/item/tool/FishingRod.mapping +++ b/mappings/net/minecraft/item/tool/FishingRodItem.mapping @@ -1 +1 @@ -CLASS net/minecraft/class_607 net/minecraft/item/tool/FishingRod +CLASS net/minecraft/class_607 net/minecraft/item/tool/FishingRodItem diff --git a/mappings/net/minecraft/item/tool/Hatchet.mapping b/mappings/net/minecraft/item/tool/HatchetItem.mapping similarity index 66% rename from mappings/net/minecraft/item/tool/Hatchet.mapping rename to mappings/net/minecraft/item/tool/HatchetItem.mapping index 64887699..ece6f837 100644 --- a/mappings/net/minecraft/item/tool/Hatchet.mapping +++ b/mappings/net/minecraft/item/tool/HatchetItem.mapping @@ -1,4 +1,4 @@ -CLASS net/minecraft/class_420 net/minecraft/item/tool/Hatchet +CLASS net/minecraft/class_420 net/minecraft/item/tool/HatchetItem FIELD field_1681 effectiveBlocks [Lnet/minecraft/class_17; METHOD (ILnet/minecraft/class_428;)V ARG 1 id diff --git a/mappings/net/minecraft/item/tool/Hoe.mapping b/mappings/net/minecraft/item/tool/Hoe.mapping deleted file mode 100644 index 70204f61..00000000 --- a/mappings/net/minecraft/item/tool/Hoe.mapping +++ /dev/null @@ -1 +0,0 @@ -CLASS net/minecraft/class_249 net/minecraft/item/tool/Hoe diff --git a/mappings/net/minecraft/item/tool/HoeItem.mapping b/mappings/net/minecraft/item/tool/HoeItem.mapping new file mode 100644 index 00000000..90726ea9 --- /dev/null +++ b/mappings/net/minecraft/item/tool/HoeItem.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_249 net/minecraft/item/tool/HoeItem diff --git a/mappings/net/minecraft/item/tool/Pickaxe.mapping b/mappings/net/minecraft/item/tool/PickaxeItem.mapping similarity index 66% rename from mappings/net/minecraft/item/tool/Pickaxe.mapping rename to mappings/net/minecraft/item/tool/PickaxeItem.mapping index e2907b99..d207ea55 100644 --- a/mappings/net/minecraft/item/tool/Pickaxe.mapping +++ b/mappings/net/minecraft/item/tool/PickaxeItem.mapping @@ -1,4 +1,4 @@ -CLASS net/minecraft/class_116 net/minecraft/item/tool/Pickaxe +CLASS net/minecraft/class_116 net/minecraft/item/tool/PickaxeItem FIELD field_352 effectiveBlocks [Lnet/minecraft/class_17; METHOD (ILnet/minecraft/class_428;)V ARG 1 id diff --git a/mappings/net/minecraft/item/tool/Shovel.mapping b/mappings/net/minecraft/item/tool/Shovel.mapping deleted file mode 100644 index fda53dce..00000000 --- a/mappings/net/minecraft/item/tool/Shovel.mapping +++ /dev/null @@ -1,2 +0,0 @@ -CLASS net/minecraft/class_501 net/minecraft/item/tool/Shovel - FIELD field_2088 effectiveBlocks [Lnet/minecraft/class_17; diff --git a/mappings/net/minecraft/item/tool/ShovelItem.mapping b/mappings/net/minecraft/item/tool/ShovelItem.mapping new file mode 100644 index 00000000..7e57383f --- /dev/null +++ b/mappings/net/minecraft/item/tool/ShovelItem.mapping @@ -0,0 +1,2 @@ +CLASS net/minecraft/class_501 net/minecraft/item/tool/ShovelItem + FIELD field_2088 effectiveBlocks [Lnet/minecraft/class_17; diff --git a/mappings/net/minecraft/item/tool/Sword.mapping b/mappings/net/minecraft/item/tool/Sword.mapping deleted file mode 100644 index ba0ff568..00000000 --- a/mappings/net/minecraft/item/tool/Sword.mapping +++ /dev/null @@ -1 +0,0 @@ -CLASS net/minecraft/class_352 net/minecraft/item/tool/Sword diff --git a/mappings/net/minecraft/item/tool/SwordItem.mapping b/mappings/net/minecraft/item/tool/SwordItem.mapping new file mode 100644 index 00000000..e29d81ed --- /dev/null +++ b/mappings/net/minecraft/item/tool/SwordItem.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/class_352 net/minecraft/item/tool/SwordItem diff --git a/mappings/net/minecraft/item/tool/Tool.mapping b/mappings/net/minecraft/item/tool/Tool.mapping deleted file mode 100644 index ffb9b35d..00000000 --- a/mappings/net/minecraft/item/tool/Tool.mapping +++ /dev/null @@ -1,2 +0,0 @@ -CLASS net/minecraft/class_632 net/minecraft/item/tool/Tool - FIELD field_2711 toolMaterial Lnet/minecraft/class_428; diff --git a/mappings/net/minecraft/item/tool/ToolItem.mapping b/mappings/net/minecraft/item/tool/ToolItem.mapping new file mode 100644 index 00000000..7976cca8 --- /dev/null +++ b/mappings/net/minecraft/item/tool/ToolItem.mapping @@ -0,0 +1,2 @@ +CLASS net/minecraft/class_632 net/minecraft/item/tool/ToolItem + FIELD field_2711 toolMaterial Lnet/minecraft/class_428;