Skip to content

Commit

Permalink
24w39a more mappings (#4001)
Browse files Browse the repository at this point in the history
  • Loading branch information
apple502j authored Sep 27, 2024
1 parent 790c144 commit 7143986
Show file tree
Hide file tree
Showing 21 changed files with 95 additions and 17 deletions.
2 changes: 2 additions & 0 deletions mappings/net/minecraft/block/AbstractFireBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ CLASS net/minecraft/class_4770 net/minecraft/block/AbstractFireBlock
FIELD field_22498 BASE_SHAPE Lnet/minecraft/class_265;
FIELD field_31007 BASE_SOUND_VOLUME F
FIELD field_31008 SET_ON_FIRE_SECONDS I
FIELD field_54470 MIN_FIRE_TICK_INCREMENT I
FIELD field_54471 MAX_FIRE_TICK_INCREMENT I
METHOD <init> (Lnet/minecraft/class_4970$class_2251;F)V
ARG 1 settings
ARG 2 damage
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/block/CommandBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ CLASS net/minecraft/class_2288 net/minecraft/block/CommandBlock
ARG 3 blockEntity
ARG 4 powered
METHOD method_9779 executeCommandChain (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)V
ARG 0 world
ARG 1 pos
ARG 2 facing
METHOD method_9780 execute (Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_1918;Z)V
ARG 1 state
ARG 2 world
ARG 3 pos
ARG 4 executor
ARG 5 hasCommand
1 change: 1 addition & 0 deletions mappings/net/minecraft/block/TurtleEggBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ CLASS net/minecraft/class_2542 net/minecraft/block/TurtleEggBlock
ARG 4 entity
ARG 5 inverseChance
METHOD method_10835 breaksEgg (Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Z
ARG 1 world
ARG 2 entity
METHOD method_29952 isSand (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
ARG 0 world
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ CLASS net/minecraft/class_8963 net/minecraft/block/spawner/TrialSpawnerLogic
METHOD method_55161 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 1 instance
METHOD method_55162 canActivate (Lnet/minecraft/class_3218;)Z
ARG 1 world
METHOD method_55163 setSpawnerState (Lnet/minecraft/class_1937;Lnet/minecraft/class_8967;)V
ARG 1 world
ARG 2 spawnerState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ CLASS net/minecraft/class_4367 net/minecraft/client/realms/gui/RealmsWorldSlotBu
FIELD field_26470 TOOLTIP Lnet/minecraft/class_2561;
FIELD field_39067 CHECKMARK Lnet/minecraft/class_2960;
FIELD field_44894 MINIGAME_SLOT_NAME Lnet/minecraft/class_2561;
FIELD field_54472 MAX_DISPLAYED_SLOT_NAME_LENGTH I
FIELD field_54473 ELLIPSIS Ljava/lang/String;
METHOD <init> (IIIIILnet/minecraft/class_4185$class_4241;)V
ARG 1 x
ARG 2 y
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
CLASS net/minecraft/class_10231 net/minecraft/client/realms/gui/screen/RealmsWorldCreating
FIELD field_54364 LOGGER Lorg/slf4j/Logger;
METHOD method_64334 (Lnet/minecraft/class_310;Lnet/minecraft/class_437;Lnet/minecraft/class_4877;ILnet/minecraft/class_4445;Lnet/minecraft/class_437;Lnet/minecraft/class_525;Lnet/minecraft/class_7780;Lnet/minecraft/class_31;Ljava/nio/file/Path;)Z
ARG 6 screen
ARG 7 dynamicRegistries
ARG 8 levelProperties
ARG 9 dataPackTempDir
METHOD method_64335 showCreateWorldScreen (Lnet/minecraft/class_310;Lnet/minecraft/class_437;Lnet/minecraft/class_437;ILnet/minecraft/class_4877;Lnet/minecraft/class_4445;)V
ARG 0 client
ARG 1 parent
ARG 2 realmsScreen
ARG 3 slotId
ARG 4 server
ARG 5 creationTask
METHOD method_64336 (Lnet/minecraft/class_310;Lnet/minecraft/class_437;Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_4445;Ljava/lang/Object;Ljava/lang/Throwable;)Ljava/lang/Object;
ARG 5 v
ARG 6 throwable
METHOD method_64337 saveTempWorld (Lnet/minecraft/class_7780;Lnet/minecraft/class_31;Ljava/nio/file/Path;)Ljava/nio/file/Path;
ARG 0 dynamicRegistries
ARG 1 levelProperties
Expand Down
7 changes: 7 additions & 0 deletions mappings/net/minecraft/client/world/ClientWorld.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ CLASS net/minecraft/class_638 net/minecraft/client/world/ClientWorld
FIELD field_47129 tickManager Lnet/minecraft/class_8921;
FIELD field_53028 worldEventHandler Lnet/minecraft/class_9959;
FIELD field_53029 seaLevel I
FIELD field_54500 shouldTickTimeOfDay Z
METHOD <init> (Lnet/minecraft/class_634;Lnet/minecraft/class_638$class_5271;Lnet/minecraft/class_5321;Lnet/minecraft/class_6880;IILnet/minecraft/class_761;ZJI)V
ARG 1 networkHandler
ARG 2 properties
Expand Down Expand Up @@ -75,6 +76,8 @@ CLASS net/minecraft/class_638 net/minecraft/client/world/ClientWorld
METHOD method_28103 getDimensionEffects ()Lnet/minecraft/class_5294;
METHOD method_29089 setTime (JJZ)V
ARG 1 time
ARG 3 timeOfDay
ARG 5 shouldTickTimeOfDay
METHOD method_29090 tickTime ()V
METHOD method_2932 addParticle (DDDDDLnet/minecraft/class_2394;)V
ARG 1 minX
Expand Down Expand Up @@ -182,6 +185,10 @@ CLASS net/minecraft/class_638 net/minecraft/client/world/ClientWorld
FIELD field_24607 flatWorld Z
FIELD field_26372 spawnAngle F
FIELD field_48402 spawnPos Lnet/minecraft/class_2338;
METHOD <init> (Lnet/minecraft/class_1267;ZZ)V
ARG 1 difficulty
ARG 2 hardcore
ARG 3 flatWorld
METHOD method_165 setTimeOfDay (J)V
ARG 1 timeOfDay
METHOD method_177 setTime (J)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ CLASS net/minecraft/class_10131 net/minecraft/component/type/UseRemainderCompone
METHOD equals (Ljava/lang/Object;)Z
ARG 1 o
METHOD method_62863 convert (Lnet/minecraft/class_1799;IZLnet/minecraft/class_10131$class_10259;)Lnet/minecraft/class_1799;
ARG 1 stack
ARG 2 oldCount
ARG 3 inCreative
ARG 4 inserter
CLASS class_10259 StackInserter
METHOD apply (Lnet/minecraft/class_1799;)V
ARG 1 stack
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ CLASS net/minecraft/class_7803 net/minecraft/data/server/recipe/VanillaRecipeGen
METHOD method_62771 (Lnet/minecraft/class_1792;)V
ARG 1 item
METHOD method_64384 generateDyedShulkerBoxes ()V
CLASS class_8905 SmithingTemplate
METHOD method_64541 generateDyedBundles ()V
CLASS class_10116 Provider
CLASS class_8905 SmithingTemplate
6 changes: 6 additions & 0 deletions mappings/net/minecraft/fluid/FlowableFluid.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ CLASS net/minecraft/class_3609 net/minecraft/fluid/FlowableFluid
FIELD field_15902 FALLING Lnet/minecraft/class_2746;
FIELD field_17587 shapeCache Ljava/util/Map;
METHOD method_15725 tryFlow (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)V
ARG 1 world
ARG 2 fluidPos
ARG 3 blockState
ARG 4 fluidState
METHOD method_15726 getSpread (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Ljava/util/Map;
ARG 1 world
ARG 2 pos
ARG 3 state
METHOD method_15727 getUpdatedState (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
ARG 1 world
ARG 2 pos
ARG 3 state
METHOD method_15728 getFlowing (IZ)Lnet/minecraft/class_3610;
Expand Down Expand Up @@ -39,6 +42,7 @@ CLASS net/minecraft/class_3609 net/minecraft/fluid/FlowableFluid
ARG 4 fromPos
ARG 5 fromState
METHOD method_15737 isInfinite (Lnet/minecraft/class_3218;)Z
ARG 1 world
METHOD method_15739 getLevelDecreasePerBlock (Lnet/minecraft/class_4538;)I
ARG 1 world
METHOD method_15740 countNeighboringSources (Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)I
Expand All @@ -52,7 +56,9 @@ CLASS net/minecraft/class_3609 net/minecraft/fluid/FlowableFluid
ARG 2 pos
ARG 4 direction
ARG 5 state
ARG 6 spreadCache
METHOD method_15744 flowToSides (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_2680;)V
ARG 1 world
ARG 2 pos
ARG 3 fluidState
ARG 4 blockState
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/fluid/Fluid.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ CLASS net/minecraft/class_3611 net/minecraft/fluid/Fluid
ARG 4 fluid
ARG 5 direction
METHOD method_15778 onScheduledTick (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)V
ARG 1 world
ARG 2 pos
ARG 3 blockState
ARG 4 fluidState
Expand Down Expand Up @@ -46,6 +47,7 @@ CLASS net/minecraft/class_3611 net/minecraft/fluid/Fluid
METHOD method_15791 isIn (Lnet/minecraft/class_6862;)Z
ARG 1 tag
METHOD method_15792 onRandomTick (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_5819;)V
ARG 1 world
ARG 2 pos
ARG 3 state
ARG 4 random
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/fluid/FluidState.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CLASS net/minecraft/class_3610 net/minecraft/fluid/FluidState
ARG 1 world
ARG 2 pos
METHOD method_15757 onRandomTick (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
ARG 1 world
ARG 2 pos
ARG 3 random
METHOD method_15758 getVelocity (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243;
Expand All @@ -33,6 +34,7 @@ CLASS net/minecraft/class_3610 net/minecraft/fluid/FluidState
ARG 3 random
METHOD method_15769 isEmpty ()Z
METHOD method_15770 onScheduledTick (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
ARG 1 world
ARG 2 pos
ARG 3 state
METHOD method_15771 isStill ()Z
Expand Down
3 changes: 3 additions & 0 deletions mappings/net/minecraft/inventory/ContainerLock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ CLASS net/minecraft/class_1273 net/minecraft/inventory/ContainerLock
ARG 0 nbt
METHOD method_5474 writeNbt (Lnet/minecraft/class_2487;)V
COMMENT Inserts the key string of this lock into the {@code Lock} key of the NBT compound.
ARG 1 nbt
METHOD method_64414 (Lnet/minecraft/class_2487;Lnet/minecraft/class_2520;)V
ARG 1 lock
5 changes: 5 additions & 0 deletions mappings/net/minecraft/item/AnimalArmorItem.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ CLASS net/minecraft/class_4059 net/minecraft/item/AnimalArmorItem
ARG 1 material
ARG 2 type
ARG 3 settings
METHOD <init> (Lnet/minecraft/class_1741;Lnet/minecraft/class_4059$class_9076;Lnet/minecraft/class_3414;Lnet/minecraft/class_1792$class_1793;)V
ARG 1 material
ARG 2 type
ARG 3 equipSound
ARG 4 settings
CLASS class_9076 Type
FIELD field_49256 breakSound Lnet/minecraft/class_3414;
FIELD field_54108 allowedEntities Lnet/minecraft/class_6885;
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/item/BundleItem.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ CLASS net/minecraft/class_5537 net/minecraft/item/BundleItem
METHOD method_63678 getOpenBackTexture ()Lnet/minecraft/class_2960;
METHOD method_64277 getBundle (Lnet/minecraft/class_1767;)Lnet/minecraft/class_1792;
ARG 0 color
METHOD method_64502 onContentChanged (Lnet/minecraft/class_1657;)V
ARG 1 user
4 changes: 4 additions & 0 deletions mappings/net/minecraft/item/equipment/ArmorMaterial.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ CLASS net/minecraft/class_1741 net/minecraft/item/equipment/ArmorMaterial
ARG 2 allowedEntities
METHOD method_63993 createAttributeModifiers (Lnet/minecraft/class_8051;)Lnet/minecraft/class_9285;
ARG 1 equipmentType
METHOD method_64503 applyBodyArmorSettings (Lnet/minecraft/class_1792$class_1793;Lnet/minecraft/class_3414;Lnet/minecraft/class_6885;)Lnet/minecraft/class_1792$class_1793;
ARG 1 settings
ARG 2 equipSound
ARG 3 allowedEntities
2 changes: 2 additions & 0 deletions mappings/net/minecraft/item/map/MapState.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ CLASS net/minecraft/class_22 net/minecraft/item/map/MapState
ARG 3 rotation
ARG 5 dx
ARG 6 dz
METHOD method_64505 hasMapInvisibilityEquipment (Lnet/minecraft/class_1657;)Z
ARG 0 player
CLASS class_23 PlayerUpdateTracker
FIELD field_124 emptyPacketsRequested I
FIELD field_125 player Lnet/minecraft/class_1657;
Expand Down
44 changes: 29 additions & 15 deletions mappings/net/minecraft/network/codec/PacketCodecs.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ CLASS net/minecraft/class_9135 net/minecraft/network/codec/PacketCodecs
COMMENT @see io.netty.buffer.ByteBuf#writeShort
FIELD field_53740 SYNC_ID Lnet/minecraft/class_9139;
FIELD field_54033 DEGREES Lnet/minecraft/class_9139;
FIELD field_54505 LONG Lnet/minecraft/class_9139;
COMMENT A codec for a long value.
COMMENT
COMMENT @see io.netty.buffer.ByteBuf#readLong
COMMENT @see io.netty.buffer.ByteBuf#writeLong
METHOD method_56363 toList ()Lnet/minecraft/class_9139$class_9140;
COMMENT Used to make a codec for a list of values using {@link PacketCodec#collect}.
COMMENT This creates an {@link java.util.ArrayList}, so the decoded result can be modified.
Expand Down Expand Up @@ -296,23 +301,11 @@ CLASS net/minecraft/class_9135 net/minecraft/network/codec/PacketCodecs
ARG 0 registryRef
METHOD method_58002 unlimitedRegistryCodec (Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_9139;
ARG 0 codec
CLASS 3
METHOD method_59799 decode (Lio/netty/buffer/ByteBuf;)[B
ARG 1 buf
METHOD method_59800 encode (Lio/netty/buffer/ByteBuf;[B)V
CLASS 4
METHOD method_56403 decode (Lio/netty/buffer/ByteBuf;)[B
ARG 1 buf
METHOD method_56404 encode (Lio/netty/buffer/ByteBuf;[B)V
ARG 1 buf
ARG 2 value
CLASS 7
METHOD method_56899 (Ljava/lang/Object;Ljava/lang/String;)Lio/netty/handler/codec/EncoderException;
ARG 1 error
METHOD method_56900 (Lnet/minecraft/class_2520;Ljava/lang/String;)Lio/netty/handler/codec/DecoderException;
ARG 1 error
CLASS 14
CLASS 15
METHOD method_64547 (Lnet/minecraft/class_9139;Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_9139;Ljava/lang/Object;Ljava/lang/Object;)V
ARG 3 k
ARG 4 v
CLASS 16
METHOD method_58010 (Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_9139;Ljava/lang/Object;)V
ARG 2 right
Expand All @@ -322,6 +315,12 @@ CLASS net/minecraft/class_9135 net/minecraft/network/codec/PacketCodecs
METHOD method_62798 getIterable (Lnet/minecraft/class_9129;)Lnet/minecraft/class_2359;
ARG 1 buf
CLASS 19
FIELD field_54510 DIRECT_ENTRY_MARKER I
METHOD method_64548 getEntries (Lnet/minecraft/class_9129;)Lnet/minecraft/class_2359;
ARG 1 buf
CLASS 20
FIELD field_54512 DIRECT_MARKER I
FIELD field_54513 entryPacketCodec Lnet/minecraft/class_9139;
CLASS 21
FIELD field_49691 NAME_MAX_LENGTH I
FIELD field_49692 VALUE_MAX_LENGTH I
Expand All @@ -332,3 +331,18 @@ CLASS net/minecraft/class_9135 net/minecraft/network/codec/PacketCodecs
ARG 1 signature
METHOD method_58017 (Lio/netty/buffer/ByteBuf;)Ljava/lang/String;
ARG 0 buf2
CLASS 3
METHOD method_59799 decode (Lio/netty/buffer/ByteBuf;)[B
ARG 1 buf
METHOD method_59800 encode (Lio/netty/buffer/ByteBuf;[B)V
CLASS 4
METHOD method_56403 decode (Lio/netty/buffer/ByteBuf;)[B
ARG 1 buf
METHOD method_56404 encode (Lio/netty/buffer/ByteBuf;[B)V
ARG 1 buf
ARG 2 value
CLASS 7
METHOD method_56899 (Ljava/lang/Object;Ljava/lang/String;)Lio/netty/handler/codec/EncoderException;
ARG 1 error
METHOD method_56900 (Lnet/minecraft/class_2520;Ljava/lang/String;)Lio/netty/handler/codec/DecoderException;
ARG 1 error
2 changes: 2 additions & 0 deletions mappings/net/minecraft/recipe/RecipeUnlocker.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CLASS net/minecraft/class_1732 net/minecraft/recipe/RecipeUnlocker
ARG 1 player
ARG 2 ingredients
METHOD method_7665 shouldCraftRecipe (Lnet/minecraft/class_3222;Lnet/minecraft/class_8786;)Z
ARG 1 player
ARG 2 recipe
3 changes: 2 additions & 1 deletion mappings/net/minecraft/test/TestContext.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,9 @@ CLASS net/minecraft/class_4516 net/minecraft/test/TestContext
ARG 3 predicate
METHOD method_64542 killEntity (Lnet/minecraft/class_1297;)V
ARG 1 entity
METHOD method_64543 (Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;F)V
METHOD method_64543 damage (Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;F)V
ARG 1 entity
ARG 2 damageSource
ARG 3 amount
METHOD method_64544 (Lnet/minecraft/class_1297;)V
ARG 1 entity
1 change: 1 addition & 0 deletions mappings/net/minecraft/world/chunk/WorldChunk.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CLASS net/minecraft/class_2818 net/minecraft/world/chunk/WorldChunk
METHOD method_12216 addBlockEntity (Lnet/minecraft/class_2586;)V
ARG 1 blockEntity
METHOD method_12221 runPostProcessing (Lnet/minecraft/class_3218;)V
ARG 1 world
METHOD method_12223 isEmpty ()Z
METHOD method_12224 loadFromPacket (Lnet/minecraft/class_2540;Lnet/minecraft/class_2487;Ljava/util/function/Consumer;)V
ARG 1 buf
Expand Down

0 comments on commit 7143986

Please sign in to comment.