Skip to content

Commit

Permalink
23w42a stuff
Browse files Browse the repository at this point in the history
No realms or world load stuff here
  • Loading branch information
Shnupbups committed Oct 18, 2023
1 parent 0736e22 commit de40cff
Show file tree
Hide file tree
Showing 56 changed files with 358 additions and 3 deletions.
26 changes: 26 additions & 0 deletions mappings/net/minecraft/block/CrafterBlock.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
CLASS net/minecraft/class_8886 net/minecraft/block/CrafterBlock
FIELD field_46798 CODEC Lcom/mojang/serialization/MapCodec;
FIELD field_46799 CRAFTING Lnet/minecraft/class_2746;
FIELD field_46800 TRIGGERED Lnet/minecraft/class_2746;
FIELD field_46801 ORIENTATION Lnet/minecraft/class_2754;
FIELD field_46803 recipeCache Lnet/minecraft/class_8884;
METHOD method_54473 (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_8887;Lnet/minecraft/class_2680;Lnet/minecraft/class_1799;)V
ARG 5 stack
METHOD method_54474 (Lnet/minecraft/class_1799;)V
ARG 0 stack
METHOD method_54475 getCraftingRecipe (Lnet/minecraft/class_1937;Lnet/minecraft/class_8566;)Ljava/util/Optional;
ARG 0 world
ARG 1 inputInventory
METHOD method_54476 transferOrSpawnStack (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_8887;Lnet/minecraft/class_1799;Lnet/minecraft/class_2680;)V
ARG 1 world
ARG 2 pos
ARG 3 blockEntity
ARG 4 stack
ARG 5 state
METHOD method_54477 setTriggered (Lnet/minecraft/class_2586;Z)V
ARG 1 blockEntity
ARG 2 triggered
METHOD method_54478 craft (Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
ARG 1 state
ARG 2 world
ARG 3 pos
36 changes: 36 additions & 0 deletions mappings/net/minecraft/block/entity/CrafterBlockEntity.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
CLASS net/minecraft/class_8887 net/minecraft/block/entity/CrafterBlockEntity
FIELD field_46816 propertyDelegate Lnet/minecraft/class_3913;
FIELD field_46817 inputStacks Lnet/minecraft/class_2371;
FIELD field_46818 craftingTicksRemaining I
METHOD <init> (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
ARG 1 pos
ARG 2 state
METHOD method_54479 betterSlotExists (ILnet/minecraft/class_1799;I)Z
ARG 1 count
ARG 2 stack
ARG 3 slot
METHOD method_54480 setSlotEnabled (IZ)V
ARG 1 slot
ARG 2 enabled
METHOD method_54481 tickCrafting (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_8887;)V
ARG 0 world
ARG 1 pos
ARG 2 state
ARG 3 blockEntity
METHOD method_54482 setTriggered (Z)V
ARG 1 triggered
METHOD method_54483 isSlotDisabled (I)Z
ARG 1 slot
METHOD method_54484 setCraftingTicksRemaining (I)V
ARG 1 craftingTicksRemaining
METHOD method_54485 canToggleSlot (I)Z
ARG 1 slot
METHOD method_54486 putDisabledSlots (Lnet/minecraft/class_2487;)V
ARG 1 nbt
METHOD method_54487 putTriggered (Lnet/minecraft/class_2487;)V
ARG 1 nbt
METHOD method_54488 isTriggered ()Z
METHOD method_54489 getComparatorOutput ()I
CLASS 1
FIELD field_46820 disabledSlots [I
FIELD field_46821 triggered I
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CLASS net/minecraft/class_2621 net/minecraft/block/entity/LootableContainerBlock
FIELD field_31353 LOOT_TABLE_KEY Ljava/lang/String;
METHOD method_11281 setInvStackList (Lnet/minecraft/class_2371;)V
ARG 1 list
METHOD method_11282 getInvStackList ()Lnet/minecraft/class_2371;
METHOD method_11283 deserializeLootTable (Lnet/minecraft/class_2487;)Z
ARG 1 nbt
METHOD method_11285 setLootTable (Lnet/minecraft/class_2960;J)V
Expand Down
7 changes: 7 additions & 0 deletions mappings/net/minecraft/client/MinecraftClient.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
METHOD method_1561 getEntityRenderDispatcher ()Lnet/minecraft/class_898;
METHOD method_1562 getNetworkHandler ()Lnet/minecraft/class_634;
METHOD method_1565 printCrashReport (Lnet/minecraft/class_310;Ljava/io/File;Lnet/minecraft/class_128;)V
ARG 0 client
ARG 1 runDirectory
ARG 2 crashReport
METHOD method_1566 getToastManager ()Lnet/minecraft/class_374;
METHOD method_1569 isWindowFocused ()Z
METHOD method_1571 getCreativeHotbarStorage ()Lnet/minecraft/class_302;
Expand Down Expand Up @@ -534,6 +537,10 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
ARG 0 seconds
METHOD method_54117 addUptimesToCrashReport (Lnet/minecraft/class_129;)V
ARG 1 section
METHOD method_54578 getLauncherBrand ()Ljava/lang/String;
METHOD method_54579 printCrashReport ()V
METHOD method_54580 printCrashReport (Lnet/minecraft/class_128;)V
ARG 1 crashReport
CLASS class_5859 ChatRestriction
COMMENT Represents the restrictions on chat on a Minecraft client.
COMMENT
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
CLASS net/minecraft/class_8898 net/minecraft/client/gui/screen/ingame/CrafterScreen
FIELD field_46879 TEXTURE Lnet/minecraft/class_2960;
FIELD field_46880 TOGGLEABLE_SLOT_TEXT Lnet/minecraft/class_2561;
FIELD field_46881 player Lnet/minecraft/class_1657;
FIELD field_46882 DISABLED_SLOT_TEXTURE Lnet/minecraft/class_2960;
FIELD field_46883 POWERED_REDSTONE_TEXTURE Lnet/minecraft/class_2960;
FIELD field_46884 UNPOWERED_REDSTONE_TEXTURE Lnet/minecraft/class_2960;
METHOD <init> (Lnet/minecraft/class_8881;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
ARG 1 handler
ARG 2 playerInventory
ARG 3 title
METHOD method_54591 drawDisabledSlot (Lnet/minecraft/class_332;Lnet/minecraft/class_8882;)V
ARG 1 context
ARG 2 slot
METHOD method_54592 drawArrowTexture (Lnet/minecraft/class_332;)V
ARG 1 context
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,7 @@ CLASS net/minecraft/class_465 net/minecraft/client/gui/screen/ingame/HandledScre
METHOD method_44339 endTouchDrag ()V
METHOD method_51454 getTooltipFromItem (Lnet/minecraft/class_1799;)Ljava/util/List;
ARG 1 stack
METHOD method_54590 onSlotChangedState (IIZ)V
ARG 1 slotId
ARG 2 handlerId
ARG 3 newState
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,7 @@ CLASS net/minecraft/class_636 net/minecraft/client/network/ClientPlayerInteracti
METHOD method_41936 (Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;I)Lnet/minecraft/class_2596;
ARG 3 sequence
METHOD method_51888 getBlockBreakingProgress ()I
METHOD method_54634 slotChangedState (IIZ)V
ARG 1 slot
ARG 2 screenHandlerId
ARG 3 newState
3 changes: 3 additions & 0 deletions mappings/net/minecraft/client/option/GameOptions.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
FIELD field_43044 highContrast Lnet/minecraft/class_7172;
FIELD field_43110 MAX_SERIALIZABLE_GUI_SCALE I
FIELD field_45987 narratorHotkey Lnet/minecraft/class_7172;
FIELD field_46854 HIDE_SPLASH_TEXTS_TOOLTIP Lnet/minecraft/class_2561;
FIELD field_46855 hideSplashTexts Lnet/minecraft/class_7172;
METHOD <init> (Lnet/minecraft/class_310;Ljava/io/File;)V
ARG 1 client
ARG 2 optionsFile
Expand Down Expand Up @@ -594,6 +596,7 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
ARG 0 value
METHOD method_53530 getNarratorHotkey ()Lnet/minecraft/class_7172;
METHOD method_53842 getSyncedOptions ()Lnet/minecraft/class_8791;
METHOD method_54581 getHideSplashTexts ()Lnet/minecraft/class_7172;
CLASS 2
METHOD method_33676 find (Ljava/lang/String;)Ljava/lang/String;
ARG 1 key
Expand Down
15 changes: 15 additions & 0 deletions mappings/net/minecraft/client/particle/WhiteSmokeParticle.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CLASS net/minecraft/class_8899 net/minecraft/client/particle/WhiteSmokeParticle
METHOD <init> (Lnet/minecraft/class_638;DDDDDDFLnet/minecraft/class_4002;)V
ARG 1 world
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 velocityX
ARG 10 velocityY
ARG 12 velocityZ
ARG 14 scaleMultiplier
ARG 15 spriteProvider
CLASS class_8900 Factory
FIELD field_46899 spriteProvider Lnet/minecraft/class_4002;
METHOD <init> (Lnet/minecraft/class_4002;)V
ARG 1 spriteProvider
1 change: 1 addition & 0 deletions mappings/net/minecraft/client/render/Tessellator.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ CLASS net/minecraft/class_289 net/minecraft/client/render/Tessellator
COMMENT Draws the contents of the buffer builder using the shader program
COMMENT specified with {@link com.mojang.blaze3d.systems.RenderSystem#setShader
COMMENT RenderSystem#setShader}.
METHOD method_54560 initialize ()V
5 changes: 5 additions & 0 deletions mappings/net/minecraft/client/render/WorldRenderer.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,11 @@ CLASS net/minecraft/class_761 net/minecraft/client/render/WorldRenderer
ARG 1 green
ARG 2 blue
ARG 3 hueOffset
METHOD method_54638 shootParticles (ILnet/minecraft/class_2338;Lnet/minecraft/class_5819;Lnet/minecraft/class_2400;)V
ARG 1 direction
ARG 2 pos
ARG 3 random
ARG 4 particleType
METHOD method_8562 playSong (Lnet/minecraft/class_3414;Lnet/minecraft/class_2338;)V
ARG 1 song
ARG 2 songPosition
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/client/sound/SoundManager.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ CLASS net/minecraft/class_1144 net/minecraft/client/sound/SoundManager
METHOD method_4880 resumeAll ()V
METHOD method_4881 stopAll ()V
METHOD method_4882 close ()V
METHOD method_54649 stopAbruptly ()V
CLASS class_4009 SoundList
FIELD field_17908 loadedSounds Ljava/util/Map;
FIELD field_40577 foundSounds Ljava/util/Map;
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/client/sound/SoundSystem.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,5 @@ CLASS net/minecraft/class_1140 net/minecraft/client/sound/SoundSystem
ARG 1 listener
METHOD method_4856 stop ()V
METHOD method_4857 tick ()V
METHOD method_54648 stopAbruptly ()V
CLASS class_6665 DeviceChangeStatus
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ CLASS net/minecraft/class_1071 net/minecraft/client/texture/PlayerSkinProvider
FIELD field_45635 skinCache Lnet/minecraft/class_1071$class_8687;
FIELD field_45636 capeCache Lnet/minecraft/class_1071$class_8687;
FIELD field_45637 elytraCache Lnet/minecraft/class_1071$class_8687;
FIELD field_46909 LOGGER Lorg/slf4j/Logger;
FIELD field_46910 sessionService Lcom/mojang/authlib/minecraft/MinecraftSessionService;
METHOD <init> (Lnet/minecraft/class_1060;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Ljava/util/concurrent/Executor;)V
ARG 1 textureManager
ARG 2 directory
Expand All @@ -11,6 +13,7 @@ CLASS net/minecraft/class_1071 net/minecraft/client/texture/PlayerSkinProvider
METHOD method_52858 getSkinTexturesSupplier (Lcom/mojang/authlib/GameProfile;)Ljava/util/function/Supplier;
ARG 1 profile
METHOD method_52859 fetchSkinTextures (Ljava/util/UUID;Lcom/mojang/authlib/minecraft/MinecraftProfileTextures;)Ljava/util/concurrent/CompletableFuture;
ARG 1 uuid
ARG 2 textures
METHOD method_52862 getSkinTextures (Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_8685;
ARG 1 profile
Expand Down
6 changes: 6 additions & 0 deletions mappings/net/minecraft/data/Main.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ CLASS net/minecraft/data/Main
ARG 8 ignoreCache
METHOD method_52888 (Lnet/minecraft/class_7784;)Lnet/minecraft/class_7796;
ARG 0 outputx
METHOD method_54656 (Ljava/util/concurrent/CompletableFuture;Lnet/minecraft/class_2474;Lnet/minecraft/class_7784;)Lnet/minecraft/class_8907;
ARG 2 outputx
METHOD method_54657 (Ljava/util/concurrent/CompletableFuture;Lnet/minecraft/class_2474;Lnet/minecraft/class_2474;Lnet/minecraft/class_7784;)Lnet/minecraft/class_8908;
ARG 3 outputx
METHOD method_54658 (Lnet/minecraft/class_7784;)Lnet/minecraft/class_7796;
ARG 0 outputx
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ CLASS net/minecraft/class_4910 net/minecraft/data/client/BlockStateModelGenerato
METHOD method_49990 registerSnifferEgg ()V
METHOD method_49991 registerPitcherPlant ()V
METHOD method_49992 registerPitcherCrop ()V
METHOD method_51463 registerGeneric (Lnet/minecraft/class_2248;)V
ARG 1 block
METHOD method_54654 registerCrafter ()V
CLASS class_4911 BuiltinModelPool
FIELD field_22835 modelId Lnet/minecraft/class_2960;
METHOD <init> (Lnet/minecraft/class_4910;Lnet/minecraft/class_2960;Lnet/minecraft/class_2248;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ CLASS net/minecraft/class_2412 net/minecraft/data/server/advancement/vanilla/Van
ARG 2 preset
METHOD method_51689 requireAllExclusiveTrimmedArmor (Lnet/minecraft/class_161$class_162;)Lnet/minecraft/class_161$class_162;
ARG 0 builder
METHOD method_51690 (Lnet/minecraft/class_161$class_162;Lnet/minecraft/class_7803$class_8905;)V
ARG 1 templatex
METHOD method_51691 requireTrimmedArmor (Lnet/minecraft/class_161$class_162;)Lnet/minecraft/class_161$class_162;
ARG 0 builder
METHOD method_51692 requireSalvagedSherd (Lnet/minecraft/class_161$class_162;)Lnet/minecraft/class_161$class_162;
Expand All @@ -33,3 +35,7 @@ CLASS net/minecraft/class_2412 net/minecraft/data/server/advancement/vanilla/Van
ARG 0 facing
METHOD method_51819 requirePlacedComparatorReadingBlock (Lnet/minecraft/class_2248;)Lnet/minecraft/class_175;
ARG 0 block
METHOD method_54650 (Lnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;)V
ARG 1 template
METHOD method_54652 (Ljava/util/Set;Lnet/minecraft/class_7803$class_8905;)Z
ARG 1 template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS net/minecraft/class_8902 net/minecraft/data/server/loottable/onetwentyone/OneTwentyOneBlockLootTableProvider
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/class_8903 net/minecraft/data/server/loottable/onetwentyone/OneTwentyOneLootTableProviders
METHOD method_54653 createOneTwentyOneProvider (Lnet/minecraft/class_7784;)Lnet/minecraft/class_2438;
ARG 0 output
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS net/minecraft/class_8904 net/minecraft/data/server/recipe/OneTwentyOneRecipeProvider
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ CLASS net/minecraft/class_7803 net/minecraft/data/server/recipe/VanillaRecipePro
FIELD field_40657 LAPIS_ORES Lcom/google/common/collect/ImmutableList;
FIELD field_40658 REDSTONE_ORES Lcom/google/common/collect/ImmutableList;
FIELD field_40659 EMERALD_ORES Lcom/google/common/collect/ImmutableList;
METHOD method_51693 (Lnet/minecraft/class_1792;)Lnet/minecraft/class_7803$class_8905;
ARG 0 template
METHOD method_51694 getTrimSmithingTemplateMap ()Ljava/util/stream/Stream;
CLASS class_8905 SmithingTemplate
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CLASS net/minecraft/class_8907 net/minecraft/data/server/tag/onetwentyone/OneTwentyOneBlockTagProvider
METHOD <init> (Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
ARG 1 output
ARG 2 registryLookupFuture
ARG 3 blockTagLookupFuture
METHOD method_54660 (Lnet/minecraft/class_2248;)Lnet/minecraft/class_5321;
ARG 0 block
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS net/minecraft/class_8908 net/minecraft/data/server/tag/onetwentyone/OneTwentyOneItemTagProvider
11 changes: 11 additions & 0 deletions mappings/net/minecraft/datafixer/fix/ChoiceWriteReadFix.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CLASS net/minecraft/class_8877 net/minecraft/datafixer/fix/ChoiceWriteReadFix
FIELD field_46773 name Ljava/lang/String;
FIELD field_46774 choiceName Ljava/lang/String;
FIELD field_46775 type Lcom/mojang/datafixers/DSL$TypeReference;
METHOD <init> (Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
ARG 1 outputSchema
ARG 2 changesType
ARG 3 name
ARG 4 type
ARG 5 choiceName
METHOD method_54447 transform (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CLASS net/minecraft/class_8878 net/minecraft/datafixer/fix/PrimedTntBlockStateFix
METHOD <init> (Lcom/mojang/datafixers/schemas/Schema;)V
ARG 1 outputSchema
METHOD method_54449 fixFuse (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
METHOD method_54450 fixBlockState (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
1 change: 1 addition & 0 deletions mappings/net/minecraft/datafixer/schema/Schema3682.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS net/minecraft/class_8879 net/minecraft/datafixer/schema/Schema3682
1 change: 1 addition & 0 deletions mappings/net/minecraft/datafixer/schema/Schema3683.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CLASS net/minecraft/class_8880 net/minecraft/datafixer/schema/Schema3683
6 changes: 6 additions & 0 deletions mappings/net/minecraft/entity/TntEntity.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
CLASS net/minecraft/class_1541 net/minecraft/entity/TntEntity
FIELD field_30459 DEFAULT_FUSE I
FIELD field_46776 FUSE_NBT_KEY Ljava/lang/String;
FIELD field_46777 BLOCK_STATE Lnet/minecraft/class_2940;
FIELD field_46778 BLOCK_STATE_NBT_KEY Ljava/lang/String;
FIELD field_7197 FUSE Lnet/minecraft/class_2940;
FIELD field_7198 causingEntity Lnet/minecraft/class_1309;
METHOD <init> (Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1309;)V
Expand All @@ -8,6 +11,9 @@ CLASS net/minecraft/class_1541 net/minecraft/entity/TntEntity
ARG 4 y
ARG 6 z
ARG 8 igniter
METHOD method_54455 setBlockState (Lnet/minecraft/class_2680;)V
ARG 1 state
METHOD method_54456 getBlockState ()Lnet/minecraft/class_2680;
METHOD method_6967 setFuse (I)V
ARG 1 fuse
METHOD method_6969 getFuse ()I
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ CLASS net/minecraft/class_1676 net/minecraft/entity/projectile/ProjectileEntity
COMMENT {@return the cause entity of any effect applied by this projectile} If this
COMMENT projectile has an owner, the effect is attributed to the owner; otherwise, it
COMMENT is attributed to this projectile itself.
METHOD method_54457 canBreakBlocks (Lnet/minecraft/class_1937;)Z
ARG 1 world
METHOD method_7432 setOwner (Lnet/minecraft/class_1297;)V
ARG 1 entity
METHOD method_7454 onEntityHit (Lnet/minecraft/class_3966;)V
Expand Down
9 changes: 8 additions & 1 deletion mappings/net/minecraft/item/Item.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item
COMMENT @see ItemUsage#spawnItemContents
ARG 1 entity
METHOD method_40131 getRegistryEntry ()Lnet/minecraft/class_6880$class_6883;
METHOD method_54465 onCraftByPlayer (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;)V
COMMENT Called when a player acquires the item by crafting, smelting, smithing, etc.
COMMENT
COMMENT <p>Not called when the item is automatically created, such as via a crafter.
ARG 1 stack
ARG 2 world
ARG 3 player
METHOD method_7836 use (Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1271;
COMMENT Called when the player uses (or starts using) the item.
COMMENT The use action, by default, is bound to the right mouse button.
Expand Down Expand Up @@ -184,7 +191,7 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item
METHOD method_7841 getMaxDamage ()I
COMMENT {@return the maximum durability of this item} Can be configured through {@link Item.Settings#maxDamage(int) settings.maxDamage()}.
METHOD method_7843 onCraft (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;)V
COMMENT Called when a player acquires the item by crafting, smelting, smithing, etc.
COMMENT Called when the item is made by crafting, smelting, smithing, etc.
ARG 1 stack
ARG 2 world
METHOD method_7844 getAttributeModifiers (Lnet/minecraft/class_1304;)Lcom/google/common/collect/Multimap;
Expand Down
4 changes: 3 additions & 1 deletion mappings/net/minecraft/item/ItemStack.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
METHOD method_51164 copyAndEmpty ()Lnet/minecraft/class_1799;
METHOD method_53187 itemMatches (Lnet/minecraft/class_6885;)Z
ARG 1 registryEntryList
METHOD method_54466 onCraftByCrafter (Lnet/minecraft/class_1937;)V
ARG 1 world
METHOD method_7909 getItem ()Lnet/minecraft/class_1792;
COMMENT {@return the item of this stack}
COMMENT
Expand Down Expand Up @@ -573,7 +575,7 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
COMMENT the custom NBT compound, may be {@code null} to reset
METHOD method_7981 useOnBlock (Lnet/minecraft/class_1838;)Lnet/minecraft/class_1269;
ARG 1 context
METHOD method_7982 onCraft (Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;I)V
METHOD method_7982 onCraftByPlayer (Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;I)V
ARG 1 world
ARG 2 player
ARG 3 amount
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/nbt/NbtIo.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ CLASS net/minecraft/class_2507 net/minecraft/nbt/NbtIo
COMMENT @throws NbtSizeValidationException if the NBT is too deep
COMMENT @see #readCompressed(File)
ARG 0 stream
ARG 1 tagSizeTracker
METHOD method_10630 write (Lnet/minecraft/class_2487;Ljava/io/File;)V
COMMENT Writes the {@code nbt} to {@code file}.
COMMENT
Expand Down Expand Up @@ -79,6 +80,7 @@ CLASS net/minecraft/class_2507 net/minecraft/nbt/NbtIo
COMMENT @throws NbtSizeValidationException if the NBT is too deep
COMMENT @see #readCompressed(InputStream)
ARG 0 file
ARG 1 tagSizeTracker
METHOD method_30614 writeCompressed (Lnet/minecraft/class_2487;Ljava/io/File;)V
COMMENT Writes the Gzip-compressed {@code nbt} to {@code file}.
COMMENT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,5 @@ CLASS net/minecraft/class_2792 net/minecraft/network/listener/ServerPlayPacketLi
ARG 1 packet
METHOD method_52279 onAcknowledgeReconfiguration (Lnet/minecraft/class_8591;)V
ARG 1 packet
METHOD method_54436 onSlotChangedState (Lnet/minecraft/class_8875;)V
ARG 1 packet
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CLASS net/minecraft/class_8875 net/minecraft/network/packet/c2s/play/SlotChangedStateC2SPacket
FIELD comp_1999 screenHandlerId I
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD comp_1999 screenHandlerId ()I
Loading

0 comments on commit de40cff

Please sign in to comment.