22w42a client (#3352)

* 22w42a client

* Fix javadoc

* Drop invalid mappings

* Fix javadoc from previous PRs

* Rename getFeatureSet

* Update mappings/net/minecraft/client/particle/ParticleManager.mapping

* Rename UnclampedModelPredicateProvider

* Rename BipedStateModel#setAttributes
This commit is contained in:
apple502j 2022-10-26 17:44:19 +09:00 committed by GitHub
parent bfd3542a4d
commit 69ef5d1276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 204 additions and 65 deletions

View File

@ -20,6 +20,7 @@ CLASS net/minecraft/class_542 net/minecraft/client/RunArgs
ARG 2 resPackDir
ARG 3 assetDir
ARG 4 assetIndex
METHOD method_45701 getAssetDir ()Ljava/nio/file/Path;
CLASS class_545 Game
FIELD field_25061 multiplayerDisabled Z
FIELD field_25062 onlineChatDisabled Z

View File

@ -7,6 +7,7 @@ CLASS net/minecraft/class_378 net/minecraft/client/font/FontManager
FIELD field_24255 missingStorage Lnet/minecraft/class_377;
FIELD field_24256 idOverrides Ljava/util/Map;
FIELD field_32226 FONTS_JSON Ljava/lang/String;
FIELD field_40409 FINDER Lnet/minecraft/class_7654;
METHOD <init> (Lnet/minecraft/class_1060;)V
ARG 1 manager
METHOD method_18627 getResourceReloadListener ()Lnet/minecraft/class_3302;

View File

@ -1,16 +1,25 @@
CLASS net/minecraft/class_391 net/minecraft/client/font/UnicodeTextureFont
FIELD field_2301 sizes [B
FIELD field_2303 LOGGER Lorg/slf4j/Logger;
FIELD field_40411 fontImages [Lnet/minecraft/class_391$class_7736;
METHOD <init> (Lnet/minecraft/class_3300;[BLjava/lang/String;)V
ARG 1 resourceManager
ARG 2 sizes
ARG 3 template
METHOD method_2041 getImageId (Ljava/lang/String;I)Lnet/minecraft/class_2960;
ARG 0 template
ARG 1 codePoint
METHOD method_2043 getStart (B)I
ARG 0 size
METHOD method_2044 getEnd (B)I
ARG 0 size
METHOD method_45620 (Ljava/util/Map;Lnet/minecraft/class_2960;Lnet/minecraft/class_3298;)V
ARG 1 id
ARG 2 resource
METHOD method_45621 getCommonPath (Ljava/util/Set;)Ljava/lang/String;
ARG 0 ids
METHOD method_45622 ([BIILnet/minecraft/class_1011;)V
ARG 4 image
CLASS class_392 Loader
FIELD field_2304 sizes Lnet/minecraft/class_2960;
FIELD field_2305 template Ljava/lang/String;
@ -34,3 +43,11 @@ CLASS net/minecraft/class_391 net/minecraft/client/font/UnicodeTextureFont
METHOD comp_613 width ()I
METHOD comp_614 height ()I
METHOD comp_615 image ()Lnet/minecraft/class_1011;
CLASS class_7736 FontImage
FIELD field_40412 sizes [B
FIELD field_40413 image Lnet/minecraft/class_1011;
METHOD <init> ([BLnet/minecraft/class_1011;)V
ARG 1 sizes
ARG 2 image
METHOD method_45625 getGlyph (I)Lnet/minecraft/class_379;
ARG 1 codePoint

View File

@ -1,4 +1,6 @@
CLASS net/minecraft/class_766 net/minecraft/client/gui/RotatingCubeMapRenderer
FIELD field_40510 pitch F
FIELD field_40511 yaw F
FIELD field_4139 client Lnet/minecraft/class_310;
FIELD field_4141 cubeMap Lnet/minecraft/class_751;
METHOD <init> (Lnet/minecraft/class_751;)V
@ -6,3 +8,6 @@ CLASS net/minecraft/class_766 net/minecraft/client/gui/RotatingCubeMapRenderer
METHOD method_3317 render (FF)V
ARG 1 delta
ARG 2 alpha
METHOD method_45780 wrapOnce (FF)F
ARG 0 a
ARG 1 b

View File

@ -79,6 +79,9 @@ CLASS net/minecraft/class_329 net/minecraft/client/gui/hud/InGameHud
METHOD method_1751 (Lnet/minecraft/class_267;)Z
ARG 0 score
METHOD method_1752 renderMountJumpBar (Lnet/minecraft/class_1316;Lnet/minecraft/class_4587;I)V
ARG 1 mount
ARG 2 matrices
ARG 3 x
METHOD method_1753 render (Lnet/minecraft/class_4587;F)V
ARG 1 matrices
ARG 2 tickDelta

View File

@ -20,7 +20,9 @@ CLASS net/minecraft/class_355 net/minecraft/client/gui/hud/PlayerListHud
FIELD field_32211 HALF_GOLDEN_HEART_U I
FIELD field_32212 BLINKING_HEART_U I
FIELD field_32213 BLINKING_HALF_HEART_U I
FIELD field_40393 hearts Ljava/util/Map;
METHOD <init> (Lnet/minecraft/class_310;Lnet/minecraft/class_329;)V
ARG 1 client
ARG 2 inGameHud
METHOD method_1918 getPlayerName (Lnet/minecraft/class_640;)Lnet/minecraft/class_2561;
COMMENT {@return the player name rendered by this HUD}
@ -37,6 +39,9 @@ CLASS net/minecraft/class_355 net/minecraft/client/gui/hud/PlayerListHud
ARG 1 objective
ARG 2 y
ARG 3 player
ARG 4 left
ARG 5 right
ARG 6 uuid
ARG 7 matrices
METHOD method_1923 renderLatencyIcon (Lnet/minecraft/class_4587;IIILnet/minecraft/class_640;)V
ARG 1 matrices
@ -53,3 +58,32 @@ CLASS net/minecraft/class_355 net/minecraft/client/gui/hud/PlayerListHud
COMMENT the given player is in {@linkplain net.minecraft.world.GameMode#SPECTATOR spectator mode}.
ARG 1 entry
ARG 2 name
METHOD method_45590 renderHearts (IIILjava/util/UUID;Lnet/minecraft/class_4587;I)V
ARG 1 y
ARG 2 left
ARG 3 right
ARG 4 uuid
ARG 5 matrices
ARG 6 score
METHOD method_45591 (ILjava/util/UUID;)Lnet/minecraft/class_355$class_7732;
ARG 1 uuid2
METHOD method_45593 (Ljava/util/Set;Ljava/util/UUID;)Z
ARG 1 uuid
METHOD method_45594 (Lnet/minecraft/class_640;)Ljava/util/UUID;
ARG 0 playerEntry
CLASS class_7732 Heart
FIELD field_40394 COOLDOWN_TICKS J
FIELD field_40395 SCORE_DECREASE_HIGHLIGHT_TICKS J
FIELD field_40396 SCORE_INCREASE_HIGHLIGHT_TICKS J
FIELD field_40397 score I
FIELD field_40398 prevScore I
FIELD field_40399 lastScoreChangeTick J
FIELD field_40400 highlightEndTick J
METHOD <init> (I)V
ARG 1 score
METHOD method_45596 getPrevScore ()I
METHOD method_45597 tick (IJ)V
ARG 1 score
ARG 2 currentTick
METHOD method_45598 useHighlighted (J)Z
ARG 1 currentTick

View File

@ -21,6 +21,7 @@ CLASS net/minecraft/class_412 net/minecraft/client/gui/screen/ConnectScreen
METHOD method_2130 connect (Lnet/minecraft/class_310;Lnet/minecraft/class_639;Lnet/minecraft/class_642;)V
ARG 1 client
ARG 2 address
ARG 3 info
METHOD method_2131 setStatus (Lnet/minecraft/class_2561;)V
ARG 1 status
METHOD method_36877 connect (Lnet/minecraft/class_437;Lnet/minecraft/class_310;Lnet/minecraft/class_639;Lnet/minecraft/class_642;)V

View File

@ -21,10 +21,16 @@ CLASS net/minecraft/class_481 net/minecraft/client/gui/screen/ingame/CreativeInv
FIELD field_32341 SCROLLBAR_WIDTH I
FIELD field_32342 SCROLLBAR_HEIGHT I
FIELD field_32343 WHITE I
FIELD field_40430 enabledFeatures Lnet/minecraft/class_7699;
METHOD <init> (Lnet/minecraft/class_1657;Lnet/minecraft/class_7699;)V
ARG 1 player
ARG 2 enabledFeatures
METHOD method_15871 searchForTags (Ljava/lang/String;)V
ARG 1 id
METHOD method_15872 (Lnet/minecraft/class_1799;Ljava/util/List;Lnet/minecraft/class_6862;)V
ARG 2 tag
METHOD method_15873 (Ljava/util/function/Predicate;Lnet/minecraft/class_6862;)Z
ARG 1 tag
METHOD method_15874 (Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2960;)Z
ARG 2 id
METHOD method_15875 (Ljava/lang/String;Lnet/minecraft/class_2960;)Z

View File

@ -1,6 +1,7 @@
CLASS net/minecraft/class_498 net/minecraft/client/gui/screen/ingame/SignEditScreen
FIELD field_21525 model Lnet/minecraft/class_837$class_4702;
FIELD field_40436 BACKGROUND_SCALE F
FIELD field_40437 TEXT_SCALE_MULTIPLIER F
FIELD field_40438 TEXT_SCALE Lnet/minecraft/class_1160;
METHOD <init> (Lnet/minecraft/class_2625;Z)V
ARG 1 sign

View File

@ -9,3 +9,9 @@ CLASS net/minecraft/class_4667 net/minecraft/client/gui/screen/option/GameOption
ARG 0 buttonList
ARG 1 mouseX
ARG 2 mouseY
METHOD method_45626 render (Lnet/minecraft/class_4587;Lnet/minecraft/class_353;IIF)V
ARG 1 matrices
ARG 2 optionButtons
ARG 3 mouseX
ARG 4 mouseY
ARG 5 tickDelta

View File

@ -1,6 +1,14 @@
CLASS net/minecraft/class_443 net/minecraft/client/gui/screen/option/SoundOptionsScreen
FIELD field_40416 optionButtons Lnet/minecraft/class_353;
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
ARG 1 parent
ARG 2 options
METHOD method_19855 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_45628 (Lnet/minecraft/class_3419;)Lnet/minecraft/class_7172;
ARG 1 category
METHOD method_45629 getOptions (Lnet/minecraft/class_315;)[Lnet/minecraft/class_7172;
ARG 0 gameOptions
METHOD method_45630 (Lnet/minecraft/class_3419;)Z
ARG 0 category
METHOD method_45631 getVolumeOptions ()[Lnet/minecraft/class_7172;

View File

@ -16,6 +16,7 @@ CLASS net/minecraft/class_5375 net/minecraft/client/gui/screen/pack/PackScreen
ARG 1 parent
ARG 2 packManager
ARG 3 applier
ARG 4 file
ARG 5 title
METHOD method_29669 copyPacks (Lnet/minecraft/class_310;Ljava/util/List;Ljava/nio/file/Path;)V
ARG 0 client
@ -49,7 +50,10 @@ CLASS net/minecraft/class_5375 net/minecraft/client/gui/screen/pack/PackScreen
CLASS class_5426 DirectoryWatcher
FIELD field_25790 watchService Ljava/nio/file/WatchService;
FIELD field_25791 path Ljava/nio/file/Path;
METHOD <init> (Ljava/nio/file/Path;)V
ARG 1 path
METHOD method_30292 pollForChange ()Z
METHOD method_30293 create (Ljava/nio/file/Path;)Lnet/minecraft/class_5375$class_5426;
ARG 0 path
METHOD method_30294 watchDirectory (Ljava/nio/file/Path;)V
ARG 1 path

View File

@ -8,6 +8,10 @@ CLASS net/minecraft/class_505 net/minecraft/client/gui/screen/recipebook/RecipeB
METHOD method_2567 draw (Lnet/minecraft/class_4587;Lnet/minecraft/class_310;IIZF)V
ARG 1 matrices
ARG 2 client
ARG 3 x
ARG 4 y
ARG 5 notInventory
ARG 6 tickDelta
METHOD method_2569 addSlot (Lnet/minecraft/class_1856;II)V
ARG 1 ingredient
ARG 2 x

View File

@ -33,6 +33,7 @@ CLASS net/minecraft/class_507 net/minecraft/client/gui/screen/recipebook/RecipeB
ARG 1 matrices
ARG 2 x
ARG 3 y
ARG 4 notInventory
ARG 5 delta
METHOD method_2582 (Lnet/minecraft/class_512;)Z
ARG 1 button

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_6395 net/minecraft/client/item/UnclampedModelPredicateProvider
CLASS net/minecraft/class_6395 net/minecraft/client/item/ClampedModelPredicateProvider
METHOD unclampedCall (Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;I)F
ARG 1 stack
ARG 2 world

View File

@ -24,7 +24,7 @@ CLASS net/minecraft/class_634 net/minecraft/client/network/ClientPlayNetworkHand
FIELD field_39858 lastSeenMessagesCollector Lnet/minecraft/class_7637;
FIELD field_39916 UNSECURE_SERVER_TOAST_TITLE Lnet/minecraft/class_2561;
FIELD field_39917 UNSECURE_SERVER_TOAST_TEXT Lnet/minecraft/class_2561;
FIELD field_40482 featureSet Lnet/minecraft/class_7699;
FIELD field_40482 enabledFeatures Lnet/minecraft/class_7699;
FIELD field_40483 signatureStorage Lnet/minecraft/class_7561;
FIELD field_40484 unpacker Lnet/minecraft/class_7469$class_7821;
FIELD field_40485 INVALID_PACKET_TEXT Lnet/minecraft/class_2561;
@ -157,6 +157,6 @@ CLASS net/minecraft/class_634 net/minecraft/client/network/ClientPlayNetworkHand
METHOD method_45733 parse (Ljava/lang/String;)Lcom/mojang/brigadier/ParseResults;
ARG 1 command
METHOD method_45734 getServerInfo ()Lnet/minecraft/class_642;
METHOD method_45735 getFeatureSet ()Lnet/minecraft/class_7699;
METHOD method_45735 getEnabledFeatures ()Lnet/minecraft/class_7699;
METHOD method_45736 refreshItemGroups ()V
METHOD method_45737 sendAcknowledgment ()V

View File

@ -207,6 +207,7 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
FIELD field_38300 MAX_FRAMERATE I
FIELD field_39320 ONLY_SHOW_SECURE_CHAT_TOOLTIP Lnet/minecraft/class_2561;
FIELD field_39321 onlyShowSecureChat Lnet/minecraft/class_7172;
FIELD field_40382 panoramaSpeed Lnet/minecraft/class_7172;
METHOD <init> (Lnet/minecraft/class_310;Ljava/io/File;)V
ARG 1 client
ARG 2 optionsFile
@ -552,6 +553,21 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
ARG 0 optionText
ARG 1 value
METHOD method_44026 getOnlyShowSecureChat ()Lnet/minecraft/class_7172;
METHOD method_45575 (Lnet/minecraft/class_3419;Ljava/lang/Double;)V
ARG 1 value
METHOD method_45576 createSoundVolumeOption (Ljava/lang/String;Lnet/minecraft/class_3419;)Lnet/minecraft/class_7172;
ARG 1 key
ARG 2 category
METHOD method_45577 (Ljava/util/EnumMap;)V
ARG 1 soundVolumeLevels
METHOD method_45578 getSoundVolumeOption (Lnet/minecraft/class_3419;)Lnet/minecraft/class_7172;
ARG 1 category
METHOD method_45579 (Lnet/minecraft/class_2561;Ljava/lang/Double;)Lnet/minecraft/class_2561;
ARG 0 prefix
ARG 1 value
METHOD method_45580 (Ljava/lang/Double;)V
ARG 0 value
METHOD method_45581 getPanoramaSpeed ()Lnet/minecraft/class_7172;
CLASS 2
METHOD method_33676 find (Ljava/lang/String;)Ljava/lang/String;
ARG 1 key

View File

@ -2,17 +2,13 @@ CLASS net/minecraft/class_3940 net/minecraft/client/particle/BillboardParticle
COMMENT A {@link Particle} which renders a camera-facing sprite with a target texture scale.
FIELD field_17867 scale F
METHOD method_18132 getSize (F)F
COMMENT @return the draw scale of this particle, which is used while rendering in {@link BillboardParticle#buildGeometry}
COMMENT {@return the draw scale of this particle, which is used while rendering in {@link #buildGeometry}}
ARG 1 tickDelta
METHOD method_18133 getMinU ()F
COMMENT @return the lower U coordinate of the UV coordinates used to draw this particle
COMMENT {@return the lower U coordinate of the UV coordinates used to draw this particle}
METHOD method_18134 getMaxU ()F
COMMENT @return the upper U coordinate of the UV coordinates used to draw this particle
COMMENT {@return the upper U coordinate of the UV coordinates used to draw this particle}
METHOD method_18135 getMinV ()F
COMMENT @return the lower V coordinate of the UV coordinates used to draw this particle
COMMENT {@return the lower V coordinate of the UV coordinates used to draw this particle}
METHOD method_18136 getMaxV ()F
COMMENT @return the upper V coordinate of the UV coordinates used to draw this particle
METHOD method_3087 (F)Lnet/minecraft/class_703;
COMMENT Scales the size of this particle by the given {@code scale} amount.
COMMENT
COMMENT @return this {@link Particle}
COMMENT {@return the upper V coordinate of the UV coordinates used to draw this particle}

View File

@ -1,3 +1,3 @@
CLASS net/minecraft/class_3998 net/minecraft/client/particle/NoRenderParticle
COMMENT A {@link Particle} with no rendered texture. Useful for emitter particles (such as {@link net.minecraft.client.particle.EmitterParticle})
COMMENT A {@link Particle} with no rendered texture. Useful for emitter particles (such as {@link EmitterParticle})
COMMENT that spawn other particles while ticking, but do not render anything themselves.

View File

@ -1,12 +1,12 @@
CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
COMMENT {@link Particle} is a client-side visual effect with position, velocity, collision, and additional render properties.
COMMENT A client-side visual effect with position, velocity, collision, and additional render properties.
COMMENT
COMMENT <p>
COMMENT Each {@code Particle} is typically rendered as a camera-facing texture quad.
COMMENT Each particle is typically rendered as a camera-facing texture quad.
COMMENT {@link net.minecraft.client.particle.SpriteBillboardParticle} provides this behavior, and most vanilla particles inherit from it.
COMMENT
COMMENT <p>
COMMENT If you would like a {@link Particle} with no direct rendering effects, inherit from {@link net.minecraft.client.particle.NoRenderParticle}.
COMMENT If you would like a particle with no direct rendering effects, inherit from {@link NoRenderParticle}.
FIELD field_28786 velocityMultiplier F
FIELD field_36193 MAX_SQUARED_COLLISION_CHECK_DISTANCE D
FIELD field_3838 prevPosY D
@ -50,14 +50,12 @@ CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
ARG 10 velocityY
ARG 12 velocityZ
METHOD method_18122 getType ()Lnet/minecraft/class_3999;
COMMENT Returns the rendering category this {@link Particle} is rendered under.
COMMENT {@return the rendering category this particle is rendered under}
COMMENT
COMMENT <p>
COMMENT For more information on the properties and types available to each {@code Particle}, visit {@link ParticleTextureSheet}.
COMMENT
COMMENT @return the {@link ParticleTextureSheet} any {@link Particle} of this type will render through
METHOD method_3063 setPos (DDD)V
COMMENT Updates the position and bounding box of this {@link Particle} to the target {@code x}, {@code y}, {@code z} position.
COMMENT Updates the position and bounding box of this particle to the target {@code x}, {@code y}, {@code z} position.
ARG 1 x
COMMENT the x position to move this particle to
ARG 3 y
@ -65,22 +63,21 @@ CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
ARG 5 z
COMMENT the z position to move this particle to
METHOD method_3064 getBoundingBox ()Lnet/minecraft/class_238;
COMMENT Returns the bounding {@link Box} of this particle, which is used for collision and movement logic.
COMMENT {@return the bounding {@link Box} of this particle used for collision and movement logic}
COMMENT
COMMENT <p>
COMMENT By default, this bounding box is automatically repositioned when a particle moves in {@link Particle#tick()}.
COMMENT To adjust the size of the returned box, visit {@link Particle#setBoundingBoxSpacing(float, float)}.
COMMENT To directly update the current bounding box, visit {@link Particle#setBoundingBox(Box)};
COMMENT
COMMENT @return the bounding {@link Box} of this particle, used for collision and movement
METHOD method_3067 setBoundingBox (Lnet/minecraft/class_238;)V
ARG 1 boundingBox
METHOD method_3068 getBrightness (F)I
COMMENT @return the packed light level this particle should render at
COMMENT {@return the packed light level this particle should render at}
COMMENT
COMMENT @see net.minecraft.client.render.LightmapTextureManager
ARG 1 tint
METHOD method_3069 move (DDD)V
COMMENT Moves this {@link Particle} by the specified delta amounts, re-positioning bounding boxes and adjusting movement for collision with the world.
COMMENT Moves this particle by the specified delta amounts, re-positioning bounding boxes and adjusting movement for collision with the world.
ARG 1 dx
COMMENT the delta x to move this particle by
ARG 3 dy
@ -88,10 +85,10 @@ CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
ARG 5 dz
COMMENT the delta z to move this particle by
METHOD method_3070 tick ()V
COMMENT This method is called each game tick (20 times per second), and should be used to do core {@link Particle} logic, such as movement and collision.
COMMENT Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.
METHOD method_3072 repositionFromBoundingBox ()V
METHOD method_3074 buildGeometry (Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
COMMENT Renders this {@link Particle} to the given {@link VertexConsumer} buffer.
COMMENT Renders this particle to the given {@link VertexConsumer} buffer.
ARG 1 vertexConsumer
COMMENT the buffer to render to
ARG 2 camera
@ -99,25 +96,24 @@ CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
ARG 3 tickDelta
COMMENT frame tick delta amount
METHOD method_3075 move (F)Lnet/minecraft/class_703;
COMMENT Multiplies this {@link Particle}'s current velocity by the target {@code speed} amount.
COMMENT Multiplies this particle's current velocity by the target {@code speed} amount.
ARG 1 speed
COMMENT the velocity multiplier to apply to this {@link Particle}
COMMENT the velocity multiplier to apply to this particle
METHOD method_3077 setMaxAge (I)V
COMMENT Sets the maximum age, in ticks, that this particle can exist for.
ARG 1 maxAge
COMMENT the new maximum age of this {@link Particle}, in ticks
COMMENT the new maximum age of this particle, in ticks
METHOD method_3080 setBoundingBoxSpacing (FF)V
ARG 1 spacingXZ
ARG 2 spacingY
METHOD method_3082 getMaxAge ()I
COMMENT Returns the maximum age, in ticks, of this particle. If this particle's age exceeds this value, it will be removed from the world.
COMMENT
COMMENT @return this particle's maximum age, in ticks
COMMENT {@return the maximum age, in ticks, of this particle}
COMMENT If this particle's age exceeds this value, it will be removed from the world.
METHOD method_3083 setAlpha (F)V
COMMENT Updates the alpha value of this {@link Particle} to use while rendering.
COMMENT Updates the alpha value of this particle to use while rendering.
COMMENT
COMMENT <p>
COMMENT Note that a {@link Particle} cannot render with transparency unless {@link Particle#getType()} is
COMMENT Note that a particle cannot render with transparency unless {@link Particle#getType()} is
COMMENT {@link ParticleTextureSheet#PARTICLE_SHEET_TRANSLUCENT}, or another sheet that supports transparency.
COMMENT
COMMENT <p>
@ -134,13 +130,13 @@ CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
ARG 3 blue
COMMENT the target blue color to use while rendering
METHOD method_3085 markDead ()V
COMMENT Marks this {@link Particle} as ready to be removed from the containing {@link ClientWorld}.
COMMENT Marks this particle as ready to be removed from the containing {@link ClientWorld}.
METHOD method_3086 isAlive ()Z
COMMENT @return {@code false} if this particle is finished & should be removed from the parent {@link ParticleManager}, otherwise {@code true} if the particle is still alive
COMMENT {@return {@code false} if this particle is finished and should be removed from the parent {@link ParticleManager}, otherwise {@code true} if the particle is still alive}
METHOD method_3087 scale (F)Lnet/minecraft/class_703;
COMMENT Scales the size of this particle by the given {@code scale} amount.
COMMENT
COMMENT @return this {@link Particle}
COMMENT @return this particle
ARG 1 scale
COMMENT the amount to scale this particle's size by
METHOD method_34019 getGroup ()Ljava/util/Optional;
@ -150,10 +146,10 @@ CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
COMMENT can be rendered in a client world. If the particle does not have a group,
COMMENT it is not restricted.
METHOD method_34753 setVelocity (DDD)V
COMMENT Updates this {@link Particle}'s velocity to the target X, Y, and Z values.
COMMENT Updates this particle's velocity to the target X, Y, and Z values.
ARG 1 velocityX
COMMENT the new x-velocity of this {@link Particle}
COMMENT the new x-velocity of this particle
ARG 3 velocityY
COMMENT the new y-velocity of this {@link Particle}
COMMENT the new y-velocity of this particle
ARG 5 velocityZ
COMMENT the new z-velocity of this {@link Particle}
COMMENT the new z-velocity of this particle

View File

@ -11,6 +11,8 @@ CLASS net/minecraft/class_702 net/minecraft/client/particle/ParticleManager
FIELD field_3835 factories Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
FIELD field_3836 newParticles Ljava/util/Queue;
FIELD field_3837 newEmitterParticles Ljava/util/Queue;
FIELD field_40505 LOGGER Lorg/slf4j/Logger;
FIELD field_40506 FINDER Lnet/minecraft/class_7654;
METHOD <init> (Lnet/minecraft/class_638;Lnet/minecraft/class_1060;)V
ARG 1 world
ARG 2 textureManager
@ -24,6 +26,8 @@ CLASS net/minecraft/class_702 net/minecraft/client/particle/ParticleManager
ARG 1 type
ARG 2 factory
METHOD method_18836 loadTextureList (Lnet/minecraft/class_2960;Lnet/minecraft/class_3298;)Ljava/util/Optional;
ARG 1 id
ARG 2 resource
METHOD method_3043 registerFactory (Lnet/minecraft/class_2396;Lnet/minecraft/class_707;)V
ARG 1 type
ARG 2 factory
@ -91,6 +95,17 @@ CLASS net/minecraft/class_702 net/minecraft/client/particle/ParticleManager
ARG 2 count
METHOD method_34023 (Lnet/minecraft/class_5878;)V
ARG 1 group
METHOD method_45764 (Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
ARG 0 textureId
METHOD method_45767 (Lnet/minecraft/class_7766$class_7767;Ljava/util/Set;Lnet/minecraft/class_1058;Lnet/minecraft/class_702$class_7759;)V
ARG 4 result
METHOD method_45768 (Ljava/util/List;Ljava/util/concurrent/Executor;Lnet/minecraft/class_2960;Lnet/minecraft/class_3298;)V
ARG 3 id
ARG 4 resource
METHOD method_45769 (Ljava/util/concurrent/Executor;Ljava/util/Map;)Ljava/util/concurrent/CompletionStage;
ARG 2 particles
METHOD method_45772 (Ljava/util/concurrent/Executor;Ljava/util/Map;)Ljava/util/concurrent/CompletionStage;
ARG 2 particles
CLASS class_4090 SimpleSpriteProvider
FIELD field_18303 sprites Ljava/util/List;
METHOD method_18838 setSprites (Ljava/util/List;)V
@ -98,3 +113,4 @@ CLASS net/minecraft/class_702 net/minecraft/client/particle/ParticleManager
CLASS class_4091 SpriteAwareFactory
METHOD create (Lnet/minecraft/class_4002;)Lnet/minecraft/class_707;
ARG 1 spriteProvider
CLASS class_7759 ReloadResult

View File

@ -1,10 +1,10 @@
CLASS net/minecraft/class_3999 net/minecraft/client/particle/ParticleTextureSheet
COMMENT Defines rendering setup & draw logic for particles based on their requirements for depth checking, textures, and transparency.
COMMENT Defines rendering setup and draw logic for particles based on their requirements for depth checking, textures, and transparency.
COMMENT
COMMENT <p>
COMMENT Each {@link net.minecraft.client.particle.Particle} returns a {@link ParticleTextureSheet} in {@link net.minecraft.client.particle.Particle#getType()}.
COMMENT Each {@link Particle} returns a sheet in {@link Particle#getType()}.
COMMENT When particles are rendered, each sheet will be drawn once.
COMMENT {@link ParticleTextureSheet#begin(BufferBuilder, TextureManager)} is first called to set up render state, and after each particle has emitted geometry, {@link ParticleTextureSheet#draw(Tessellator)} is called to draw to a target buffer.
COMMENT {@link #begin(BufferBuilder, TextureManager)} is first called to set up render state, and after each particle has emitted geometry, {@link #draw(Tessellator)} is called to draw to a target buffer.
FIELD field_17827 TERRAIN_SHEET Lnet/minecraft/class_3999;
FIELD field_17828 PARTICLE_SHEET_OPAQUE Lnet/minecraft/class_3999;
FIELD field_17829 PARTICLE_SHEET_TRANSLUCENT Lnet/minecraft/class_3999;
@ -14,10 +14,10 @@ CLASS net/minecraft/class_3999 net/minecraft/client/particle/ParticleTextureShee
METHOD method_18130 begin (Lnet/minecraft/class_287;Lnet/minecraft/class_1060;)V
COMMENT Called to set up OpenGL render state for drawing particles of a given type.
ARG 1 builder
COMMENT the buffer particles will draw to in {@link net.minecraft.client.particle.Particle#buildGeometry(VertexConsumer, Camera, float)}
COMMENT the buffer particles will draw to in {@link Particle#buildGeometry(VertexConsumer, Camera, float)}
ARG 2 textureManager
COMMENT texture loading context
METHOD method_18131 draw (Lnet/minecraft/class_289;)V
COMMENT Called after all particles of a {@link ParticleTextureSheet} have finished drawing.
COMMENT Called after all particles of a sheet have finished drawing.
ARG 1 tessellator
COMMENT the {@code Tessellator} all particles in this sheet drew to

View File

@ -1,26 +1,18 @@
CLASS net/minecraft/class_4003 net/minecraft/client/particle/SpriteBillboardParticle
COMMENT {@link SpriteBillboardParticle} is a {@link BillboardParticle} implementation class that renders a {@link Sprite} as its camera-facing texture.
COMMENT A {@link BillboardParticle} implementation class that renders a {@link Sprite} as its camera-facing texture.
FIELD field_17886 sprite Lnet/minecraft/class_1058;
METHOD method_18133 ()F
COMMENT @return the lower U coordinate of the {@link Sprite} rendered by this particle
METHOD method_18134 ()F
COMMENT @return the upper U coordinate of the {@link Sprite} rendered by this particle
METHOD method_18135 ()F
COMMENT @return the lower V coordinate of the {@link Sprite} rendered by this particle
METHOD method_18136 ()F
COMMENT @return the upper V coordinate of the {@link Sprite} rendered by this particle
METHOD method_18140 setSprite (Lnet/minecraft/class_4002;)V
COMMENT Sets the current {@link Sprite} of this {@link SpriteBillboardParticle} to a random frame in its atlas sheet.
COMMENT Sets the current {@link Sprite} of this particle to a random frame in its atlas sheet.
ARG 1 spriteProvider
COMMENT sprite access for retrieving random {@link Sprite} frames
METHOD method_18141 setSprite (Lnet/minecraft/class_1058;)V
COMMENT Sets the current {@link Sprite} of this {@link SpriteBillboardParticle}.
COMMENT Sets the current {@link Sprite} of this particle.
COMMENT
COMMENT <p>
COMMENT To assign a {@link Sprite} based on particle age, visit {@link SpriteBillboardParticle#setSpriteForAge}.
COMMENT To assign a {@link Sprite} based on particle age, see {@link #setSpriteForAge}.
ARG 1 sprite
COMMENT the new {@link Sprite} to assign to this {@link Particle}
METHOD method_18142 setSpriteForAge (Lnet/minecraft/class_4002;)V
COMMENT Sets the current {@link Sprite} of this {@link SpriteBillboardParticle} based on the age of the particle, assuming the particle texture is an atlas with multiple frames.
COMMENT Sets the current {@link Sprite} of this particle based on the age of the particle, assuming the particle texture is an atlas with multiple frames.
ARG 1 spriteProvider
COMMENT sprite access for retrieving the proper {@link Sprite} based on lifetime progress

View File

@ -1,4 +1,6 @@
CLASS net/minecraft/class_4002 net/minecraft/client/particle/SpriteProvider
METHOD method_18138 getSprite (II)Lnet/minecraft/class_1058;
ARG 1 age
ARG 2 maxAge
METHOD method_18139 getSprite (Lnet/minecraft/class_5819;)Lnet/minecraft/class_1058;
ARG 1 random

View File

@ -7,11 +7,15 @@ CLASS net/minecraft/class_5737 net/minecraft/client/particle/VibrationParticle
ARG 6 z
ARG 8 vibration
ARG 9 maxAge
METHOD method_33077 (FFFLnet/minecraft/class_1158;)V
ARG 3 rotationQuaternion
METHOD method_33078 render (Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;FLjava/util/function/Consumer;)V
ARG 1 vertexConsumer
ARG 2 camera
ARG 3 tickDelta
ARG 4 transforms
METHOD method_33079 (FFFLnet/minecraft/class_1158;)V
ARG 3 rotationQuaternion
CLASS class_5738 Factory
FIELD field_28251 spriteProvider Lnet/minecraft/class_4002;
METHOD <init> (Lnet/minecraft/class_4002;)V

View File

@ -259,6 +259,8 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain
CLASS class_4327 NewsButton
METHOD method_25022 (Lnet/minecraft/class_4325;Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_45572 (Lnet/minecraft/class_4325;Z)V
ARG 1 confirmed
CLASS class_4328 PendingInvitesButton
METHOD method_37005 updatePendingText ()V
CLASS class_4329 RealmSelectionList

View File

@ -18,3 +18,5 @@ CLASS net/minecraft/class_773 net/minecraft/client/render/block/BlockModels
ARG 1 state
METHOD method_3340 getModelId (Lnet/minecraft/class_2680;)Lnet/minecraft/class_1091;
ARG 0 state
METHOD method_45784 setModels (Ljava/util/Map;)V
ARG 1 models

View File

@ -35,6 +35,8 @@ CLASS net/minecraft/class_837 net/minecraft/client/render/block/entity/SignBlock
ARG 3 verticesProvider
ARG 4 light
ARG 5 scale
METHOD method_45799 (Lnet/minecraft/class_2625;Lnet/minecraft/class_2561;)Lnet/minecraft/class_5481;
ARG 2 text
METHOD method_45800 renderSign (Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IIFLnet/minecraft/class_4719;Lnet/minecraft/class_3879;)V
ARG 1 matrices
ARG 2 verticesProvider

View File

@ -59,7 +59,7 @@ CLASS net/minecraft/class_572 net/minecraft/client/render/entity/model/BipedEnti
ARG 1 entity
METHOD method_2808 getArm (Lnet/minecraft/class_1306;)Lnet/minecraft/class_630;
ARG 1 arm
METHOD method_2818 setAttributes (Lnet/minecraft/class_572;)V
METHOD method_2818 copyBipedStateTo (Lnet/minecraft/class_572;)V
ARG 1 model
METHOD method_29353 animateArms (Lnet/minecraft/class_1309;F)V
ARG 1 entity

View File

@ -63,3 +63,4 @@ CLASS net/minecraft/class_1109 net/minecraft/client/sound/PositionedSoundInstanc
ARG 0 sound
METHOD method_4760 record (Lnet/minecraft/class_3414;Lnet/minecraft/class_243;)Lnet/minecraft/class_1109;
ARG 0 sound
ARG 1 pos

View File

@ -1,6 +1,8 @@
CLASS net/minecraft/class_4237 net/minecraft/client/sound/SoundLoader
FIELD field_18943 resourceManager Lnet/minecraft/class_5912;
FIELD field_18943 resourceFactory Lnet/minecraft/class_5912;
FIELD field_18944 loadedSounds Ljava/util/Map;
METHOD <init> (Lnet/minecraft/class_5912;)V
ARG 1 resourceFactory
METHOD method_19738 close ()V
METHOD method_19740 (Lnet/minecraft/class_1111;)Ljava/util/concurrent/CompletableFuture;
ARG 1 sound

View File

@ -1,11 +1,14 @@
CLASS net/minecraft/class_1144 net/minecraft/client/sound/SoundManager
FIELD field_33026 SOUNDS_JSON Ljava/lang/String;
FIELD field_40576 soundResources Ljava/util/Map;
FIELD field_5588 sounds Ljava/util/Map;
FIELD field_5590 soundSystem Lnet/minecraft/class_1140;
FIELD field_5591 TYPE Lcom/google/gson/reflect/TypeToken;
FIELD field_5592 MISSING_SOUND Lnet/minecraft/class_1111;
FIELD field_5593 LOGGER Lorg/slf4j/Logger;
FIELD field_5594 GSON Lcom/google/gson/Gson;
METHOD <init> (Lnet/minecraft/class_315;)V
ARG 1 gameOptions
METHOD method_18670 tick (Z)V
ARG 1 paused
METHOD method_20305 getDebugString ()Ljava/lang/String;
@ -22,6 +25,7 @@ CLASS net/minecraft/class_1144 net/minecraft/client/sound/SoundManager
METHOD method_4868 isSoundResourcePresent (Lnet/minecraft/class_1111;Lnet/minecraft/class_2960;Lnet/minecraft/class_5912;)Z
ARG 0 sound
ARG 1 id
ARG 2 resourceFactory
METHOD method_4869 get (Lnet/minecraft/class_2960;)Lnet/minecraft/class_1146;
ARG 1 id
METHOD method_4870 stop (Lnet/minecraft/class_1113;)V
@ -46,7 +50,13 @@ CLASS net/minecraft/class_1144 net/minecraft/client/sound/SoundManager
METHOD method_4882 close ()V
CLASS class_4009 SoundList
FIELD field_17908 loadedSounds Ljava/util/Map;
FIELD field_40577 foundSounds Ljava/util/Map;
METHOD method_18186 reload (Ljava/util/Map;Ljava/util/Map;Lnet/minecraft/class_1140;)V
ARG 1 sounds
ARG 2 soundResources
ARG 3 system
METHOD method_18187 register (Lnet/minecraft/class_2960;Lnet/minecraft/class_1110;)V
ARG 1 id
ARG 2 entry
METHOD method_45913 findSounds (Lnet/minecraft/class_3300;)V
ARG 1 resourceManager

View File

@ -32,6 +32,7 @@ CLASS net/minecraft/class_1140 net/minecraft/client/sound/SoundSystem
METHOD <init> (Lnet/minecraft/class_1144;Lnet/minecraft/class_315;Lnet/minecraft/class_5912;)V
ARG 1 loader
ARG 2 settings
ARG 3 resourceFactory
METHOD method_19748 (FFLnet/minecraft/class_243;Lnet/minecraft/class_4224;)V
ARG 3 source
METHOD method_19749 (FFLnet/minecraft/class_1113$class_1114;FZZLnet/minecraft/class_243;ZLnet/minecraft/class_4224;)V

View File

@ -9,3 +9,4 @@ CLASS net/minecraft/class_6417 net/minecraft/client/util/MacWindowUtil
METHOD method_37464 toggleFullscreen (Lca/weblite/objc/NSObject;)V
ARG 0 handle
METHOD method_41718 setApplicationIconImage (Lnet/minecraft/class_7367;)V
ARG 0 iconSupplier

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_6628 net/minecraft/client/util/telemetry/TelemetrySender
CLASS net/minecraft/class_6628 net/minecraft/client/util/TelemetrySender
FIELD field_34948 NEXT_WORKER_ID Ljava/util/concurrent/atomic/AtomicInteger;
FIELD field_34949 EXECUTOR Ljava/util/concurrent/Executor;
FIELD field_34950 client Lnet/minecraft/class_310;

View File

@ -81,6 +81,8 @@ CLASS net/minecraft/class_1041 net/minecraft/client/util/Window
METHOD method_4489 getFramebufferWidth ()I
METHOD method_4490 getHandle ()J
METHOD method_4491 setIcon (Lnet/minecraft/class_7367;Lnet/minecraft/class_7367;)V
ARG 1 smallIconSupplier
ARG 2 bigIconSupplier
METHOD method_4492 acceptError (Ljava/util/function/BiConsumer;)V
ARG 0 consumer
METHOD method_4494 onWindowFocusChanged (JZ)V
@ -105,6 +107,7 @@ CLASS net/minecraft/class_1041 net/minecraft/client/util/Window
METHOD method_4506 getFramebufferHeight ()I
METHOD method_4507 getHeight ()I
METHOD method_4510 readImage (Lnet/minecraft/class_7367;Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljava/nio/ByteBuffer;
ARG 1 imageSupplier
ARG 2 x
ARG 3 y
ARG 4 channels

View File

@ -89,6 +89,7 @@ CLASS net/minecraft/class_638 net/minecraft/client/world/ClientWorld
ARG 1 pos
ARG 2 state
ARG 3 parameters
ARG 4 solidBelow
METHOD method_2941 doRandomBlockDisplayTicks (III)V
ARG 1 centerX
ARG 2 centerY

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_5223 net/minecraft/client/font/TextVisitFactory
CLASS net/minecraft/class_5223 net/minecraft/text/TextVisitFactory
COMMENT A utility class for visiting the characters of strings, handling surrogate
COMMENT code points and formatting codes.
FIELD field_24215 VISIT_TERMINATED Ljava/util/Optional;

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_6610 net/minecraft/client/util/telemetry/TelemetryConstants
CLASS net/minecraft/class_6610 net/minecraft/util/TelemetryConstants
FIELD field_34897 DATE_TIME_FORMATTER Ljava/time/format/DateTimeFormatter;
FIELD field_34898 WORLD_LOADED Ljava/lang/String;
FIELD field_34899 SERVER_MODDED Ljava/lang/String;