Skip to content

Commit

Permalink
25w02a missing stuff (#4089)
Browse files Browse the repository at this point in the history
A few odds and ends that hadn't yet been mapped
  • Loading branch information
Shnupbups authored Jan 14, 2025
1 parent fa3f92f commit f3356dd
Show file tree
Hide file tree
Showing 19 changed files with 87 additions and 1 deletion.
5 changes: 5 additions & 0 deletions mappings/net/minecraft/client/WindowSettings.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ CLASS net/minecraft/class_543 net/minecraft/client/WindowSettings
METHOD comp_3496 fullscreenWidth ()Ljava/util/OptionalInt;
METHOD comp_3497 fullscreenHeight ()Ljava/util/OptionalInt;
METHOD comp_3498 fullscreen ()Z
METHOD method_66512 withDimensions (II)Lnet/minecraft/class_543;
ARG 1 width
ARG 2 height
METHOD method_66513 withFullscreen (Z)Lnet/minecraft/class_543;
ARG 1 fullscreen
5 changes: 5 additions & 0 deletions mappings/net/minecraft/client/gl/Framebuffer.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ CLASS net/minecraft/class_276 net/minecraft/client/gl/Framebuffer
METHOD method_35610 beginRead ()V
METHOD method_58226 setTexFilter (I)V
ARG 1 texFilter
METHOD method_66511 clear (FFFF)V
ARG 1 red
ARG 2 green
ARG 3 blue
ARG 4 alpha
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 @@ -232,7 +232,9 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
FIELD field_52762 rotateWithMinecart Lnet/minecraft/class_7172;
FIELD field_54812 HIGH_CONTRAST_BLOCK_OUTLINE_TOOLTIP Lnet/minecraft/class_2561;
FIELD field_54813 highContrastBlockOutline Lnet/minecraft/class_7172;
FIELD field_55851 startedCleanly Z
METHOD <init> (Lnet/minecraft/class_310;Ljava/io/File;)V
ARG 1 client
ARG 2 optionsFile
METHOD method_1626 update (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
ARG 1 nbt
Expand Down Expand Up @@ -596,6 +598,7 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
ARG 0 option
METHOD method_61970 getInactivityFpsLimit ()Lnet/minecraft/class_7172;
METHOD method_64858 getHighContrastBlockOutline ()Lnet/minecraft/class_7172;
METHOD method_66523 getFullscreenResolution ()Ljava/lang/String;
CLASS 2
METHOD method_33676 find (Ljava/lang/String;)Ljava/lang/String;
ARG 1 key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ CLASS net/minecraft/class_9919 net/minecraft/client/option/InactivityFpsLimiter
METHOD method_61938 setMaxFps (I)V
ARG 1 maxFps
METHOD method_61939 onInput ()V
METHOD method_66514 getLimitReason ()Lnet/minecraft/class_9919$class_10601;
METHOD method_66515 shouldDisableProfilerTimeout ()Z
CLASS class_10601 LimitReason
19 changes: 19 additions & 0 deletions mappings/net/minecraft/client/particle/BillboardParticle.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,25 @@ CLASS net/minecraft/class_3940 net/minecraft/client/particle/BillboardParticle
METHOD method_18136 getMaxV ()F
COMMENT {@return the upper V coordinate of the UV coordinates used to draw this particle}
METHOD method_55245 getRotator ()Lnet/minecraft/class_3940$class_8981;
METHOD method_60373 render (Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;Lorg/joml/Quaternionf;F)V
ARG 1 vertexConsumer
ARG 2 camera
ARG 4 tickDelta
METHOD method_60374 render (Lnet/minecraft/class_4588;Lorg/joml/Quaternionf;FFFF)V
ARG 1 vertexConsumer
ARG 3 x
ARG 4 y
ARG 5 z
ARG 6 tickDelta
METHOD method_60375 renderVertex (Lnet/minecraft/class_4588;Lorg/joml/Quaternionf;FFFFFFFFI)V
ARG 1 vertexConsumer
ARG 3 x
ARG 4 y
ARG 5 z
ARG 8 size
ARG 9 u
ARG 10 v
ARG 11 light
CLASS class_8981 Rotator
FIELD field_47457 ALL_AXIS Lnet/minecraft/class_3940$class_8981;
FIELD field_47458 Y_AND_W_ONLY Lnet/minecraft/class_3940$class_8981;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,12 @@ CLASS net/minecraft/class_4883 net/minecraft/client/realms/dto/RealmsWorldOption
METHOD method_25082 toJson ()Ljava/lang/String;
METHOD method_64352 create (Lnet/minecraft/class_1934;ZLnet/minecraft/class_1267;ZLjava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_4883;
ARG 0 gameMode
ARG 1 commandBlocks
ARG 2 difficulty
ARG 3 hardcore
ARG 4 version
ARG 5 slotName
METHOD method_64353 create (Lnet/minecraft/class_1940;ZLjava/lang/String;)Lnet/minecraft/class_4883;
ARG 0 levelInfo
ARG 1 commandBlocks
ARG 2 version
4 changes: 4 additions & 0 deletions mappings/net/minecraft/client/render/GameRenderer.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ CLASS net/minecraft/class_757 net/minecraft/client/render/GameRenderer
FIELD field_4029 floatingItemWidth F
FIELD field_53066 pool Lnet/minecraft/class_9920;
FIELD field_53898 postProcessorId Lnet/minecraft/class_2960;
FIELD field_53899 BLUR_ID Lnet/minecraft/class_2960;
FIELD field_55871 nauseaEffectTime F
FIELD field_55872 nauseaEffectSpeed F
METHOD <init> (Lnet/minecraft/class_310;Lnet/minecraft/class_759;Lnet/minecraft/class_3300;Lnet/minecraft/class_4599;)V
ARG 1 client
ARG 2 heldItemRenderer
Expand Down Expand Up @@ -78,6 +81,7 @@ CLASS net/minecraft/class_757 net/minecraft/client/render/GameRenderer
METHOD method_3195 getSkyDarkness (F)F
ARG 1 tickDelta
METHOD method_3196 getFov (Lnet/minecraft/class_4184;FZ)F
ARG 1 camera
ARG 2 tickDelta
ARG 3 changingFov
METHOD method_3198 tiltViewWhenHurt (Lnet/minecraft/class_4587;F)V
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CLASS net/minecraft/class_5167 net/minecraft/client/render/entity/feature/HorseMarkingFeatureRenderer
FIELD field_23938 TEXTURES Ljava/util/Map;
FIELD field_55875 INVISIBLE_ID Lnet/minecraft/class_2960;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CLASS net/minecraft/class_587 net/minecraft/client/render/entity/model/PigEntity
FIELD field_52925 BABY_TRANSFORMER Lnet/minecraft/class_9953;
METHOD method_32025 getTexturedModelData (Lnet/minecraft/class_5605;)Lnet/minecraft/class_5607;
ARG 0 dilation
METHOD method_66535 (Lnet/minecraft/class_5605;)Lnet/minecraft/class_5607;
METHOD method_66535 getSaddleTexturedModelData (Lnet/minecraft/class_5605;)Lnet/minecraft/class_5607;
ARG 0 dilation
METHOD method_66536 getModelData (Lnet/minecraft/class_5605;)Lnet/minecraft/class_5609;
ARG 0 dilation
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CLASS net/minecraft/class_367 net/minecraft/client/toast/AdvancementToast
FIELD field_52780 visibility Lnet/minecraft/class_368$class_369;
METHOD <init> (Lnet/minecraft/class_8779;)V
ARG 1 advancement
METHOD method_66531 isChallenge ()Z
1 change: 1 addition & 0 deletions mappings/net/minecraft/client/toast/Toast.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CLASS net/minecraft/class_368 net/minecraft/client/toast/Toast
METHOD method_61989 update (Lnet/minecraft/class_374;J)V
ARG 1 manager
ARG 2 time
METHOD method_66530 getSoundEvent ()Lnet/minecraft/class_3414;
CLASS class_369 Visibility
FIELD field_2211 sound Lnet/minecraft/class_3414;
METHOD <init> (Ljava/lang/String;ILnet/minecraft/class_3414;)V
Expand Down
5 changes: 5 additions & 0 deletions mappings/net/minecraft/client/toast/ToastManager.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ CLASS net/minecraft/class_374 net/minecraft/client/toast/ToastManager
FIELD field_2240 toastQueue Ljava/util/Deque;
FIELD field_39929 SPACES I
FIELD field_39931 occupiedSpaces Ljava/util/BitSet;
FIELD field_55860 queuedToastSounds Ljava/util/Set;
METHOD <init> (Lnet/minecraft/class_310;)V
ARG 1 client
METHOD method_1995 getClient ()Lnet/minecraft/class_310;
METHOD method_1996 draw (Lnet/minecraft/class_332;)V
ARG 1 context
Expand All @@ -18,6 +21,8 @@ CLASS net/minecraft/class_374 net/minecraft/client/toast/ToastManager
METHOD method_45076 getEmptySpaceCount ()I
METHOD method_48221 getNotificationDisplayTimeMultiplier ()D
METHOD method_61990 update ()V
METHOD method_61991 (Lorg/apache/commons/lang3/mutable/MutableBoolean;Lnet/minecraft/class_374$class_375;)Z
ARG 2 entry
METHOD method_61992 (Lnet/minecraft/class_368;)Z
ARG 1 toast
CLASS class_375 Entry
Expand Down
5 changes: 5 additions & 0 deletions mappings/net/minecraft/client/util/ClosableFactory.mapping
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
CLASS net/minecraft/class_9924 net/minecraft/client/util/ClosableFactory
METHOD method_61954 close (Ljava/lang/Object;)V
ARG 1 value
METHOD method_61955 create ()Ljava/lang/Object;
METHOD method_66519 equals (Lnet/minecraft/class_9924;)Z
ARG 1 factory
METHOD method_66520 prepare (Ljava/lang/Object;)V
ARG 1 value
3 changes: 3 additions & 0 deletions mappings/net/minecraft/client/util/NarratorManager.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ CLASS net/minecraft/class_333 net/minecraft/client/util/NarratorManager
ARG 1 text
METHOD method_52183 checkNarratorLibrary (Z)V
ARG 1 narratorEnabled
METHOD method_66522 say (Ljava/lang/String;Z)V
ARG 1 text
ARG 2 interrupt
CLASS class_8571 InactiveNarratorLibraryException
2 changes: 2 additions & 0 deletions mappings/net/minecraft/client/util/Pool.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ CLASS net/minecraft/class_9920 net/minecraft/client/util/Pool
METHOD method_61947 decrementLifespan ()V
METHOD method_61950 clear ()V
METHOD method_61951 getEntries ()Ljava/util/Collection;
METHOD method_66517 acquireUnprepared (Lnet/minecraft/class_9924;)Ljava/lang/Object;
ARG 1 factory
CLASS class_9921 Entry
FIELD field_52738 factory Lnet/minecraft/class_9924;
FIELD field_52739 object Ljava/lang/Object;
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/client/util/math/MatrixStack.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ CLASS net/minecraft/class_4587 net/minecraft/client/util/math/MatrixStack
COMMENT <p>An entry of identity matrix is pushed when a stack is created. This
COMMENT means that a stack is {@linkplain #isEmpty empty} if and only if the
COMMENT stack contains exactly one entry.
FIELD field_55849 stack Ljava/util/List;
FIELD field_55850 stackDepth I
METHOD method_22903 push ()V
COMMENT Pushes a copy of the top entry onto this stack.
METHOD method_22904 translate (DDD)V
Expand Down Expand Up @@ -74,3 +76,5 @@ CLASS net/minecraft/class_4587 net/minecraft/client/util/math/MatrixStack
ARG 2 dest
METHOD method_56822 copy ()Lnet/minecraft/class_4587$class_4665;
METHOD method_56823 computeNormal ()V
METHOD method_66521 copy (Lnet/minecraft/class_4587$class_4665;)V
ARG 1 entry
2 changes: 2 additions & 0 deletions mappings/net/minecraft/util/profiler/TickTimeTracker.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ CLASS net/minecraft/class_4757 net/minecraft/util/profiler/TickTimeTracker
FIELD field_21962 timeGetter Ljava/util/function/LongSupplier;
FIELD field_21963 tickGetter Ljava/util/function/IntSupplier;
FIELD field_21964 profiler Lnet/minecraft/class_3693;
FIELD field_55644 timeoutDisabled Ljava/util/function/BooleanSupplier;
METHOD <init> (Ljava/util/function/LongSupplier;Ljava/util/function/IntSupplier;Ljava/util/function/BooleanSupplier;)V
ARG 1 timeGetter
ARG 2 tickGetter
ARG 3 timeoutDisabled
METHOD method_24333 isActive ()Z
METHOD method_24334 disable ()V
METHOD method_24335 enable ()V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,7 @@ CLASS net/minecraft/class_3864 net/minecraft/world/gen/feature/DefaultBiomeFeatu
METHOD method_60650 addBatsAndMonsters (Lnet/minecraft/class_5483$class_5496;I)V
ARG 0 builder
ARG 1 skeletonWeight
METHOD method_66556 addLeafLitter (Lnet/minecraft/class_5485$class_5495;)V
ARG 0 builder
METHOD method_66557 addBirchForestWildflowers (Lnet/minecraft/class_5485$class_5495;)V
ARG 0 builder
12 changes: 12 additions & 0 deletions unpick-definitions/set_block_state_flags.unpick
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,16 @@ target_method net/minecraft/world/WorldAccess replaceWithStateForNeighborUpdate
target_method net/minecraft/world/block/ChainRestrictedNeighborUpdater$StateReplacementEntry <init> (Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II)V
param 4 set_block_state_flags
target_method net/minecraft/client/world/ClientWorld handleBlockUpdate (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)V
param 2 set_block_state_flags
target_method net/minecraft/world/chunk/WrapperProtoChunk setBlockState (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;
param 2 set_block_state_flags
target_method net/minecraft/world/chunk/WorldChunk setBlockState (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;
param 2 set_block_state_flags
target_method net/minecraft/world/ChunkRegion setBlockState (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)Z
param 2 set_block_state_flags
target_method net/minecraft/world/chunk/ProtoChunk setBlockState (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;
param 2 set_block_state_flags
target_method net/minecraft/world/chunk/Chunk setBlockState (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;
param 2 set_block_state_flags
target_method net/minecraft/world/chunk/EmptyChunk setBlockState (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;
param 2 set_block_state_flags

0 comments on commit f3356dd

Please sign in to comment.