Skip to content

Commit

Permalink
Rename tickDelta to tickProgress (#4094)
Browse files Browse the repository at this point in the history
* change!: rename tickDelta to tickProgress

* change!: rename TickDelta to TickProgress

* fix some related names

* rename some 'delta' shortenings to tickProgress

* real tickDelta -> deltaTicks

* Update RenderTickCounter.mapping
  • Loading branch information
Octol1ttle authored Jan 29, 2025
1 parent 3b4bf0d commit 5535cf4
Show file tree
Hide file tree
Showing 89 changed files with 207 additions and 208 deletions.
2 changes: 1 addition & 1 deletion mappings/com/mojang/blaze3d/systems/RenderSystem.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ CLASS com/mojang/blaze3d/systems/RenderSystem
ARG 3 alpha
METHOD setShaderGameTime (JF)V
ARG 0 time
ARG 2 tickDelta
ARG 2 tickProgress
METHOD setShaderTexture (II)V
ARG 0 texture
ARG 1 glId
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/ChestBlock.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ CLASS net/minecraft/class_2281 net/minecraft/block/ChestBlock
ARG 0 state
CLASS 3
METHOD method_23900 (Lnet/minecraft/class_2595;Lnet/minecraft/class_2595;F)F
ARG 2 tickDelta
ARG 2 tickProgress
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ CLASS net/minecraft/class_5560 net/minecraft/block/entity/ChestLidAnimator
FIELD field_27214 lastProgress F
METHOD method_31672 step ()V
METHOD method_31673 getProgress (F)F
ARG 1 delta
ARG 1 tickProgress
METHOD method_31674 setOpen (Z)V
ARG 1 open
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CLASS net/minecraft/class_2597 net/minecraft/block/entity/ConduitBlockEntity
METHOD method_11060 (Lnet/minecraft/class_1309;)Z
ARG 0 entity
METHOD method_11061 getRotation (F)F
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_11062 setEyeOpen (Z)V
ARG 1 eyeOpen
METHOD method_11063 spawnNautilusParticles (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/List;Lnet/minecraft/class_1297;I)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CLASS net/minecraft/class_2643 net/minecraft/block/entity/EndGatewayBlockEntity
ARG 2 state
ARG 3 blockEntity
METHOD method_11412 getCooldownBeamHeight (F)F
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_11413 findPortalPosition (Lnet/minecraft/class_2818;)Lnet/minecraft/class_2338;
ARG 0 chunk
METHOD method_11414 getChunk (Lnet/minecraft/class_1937;Lnet/minecraft/class_243;)Lnet/minecraft/class_2818;
Expand All @@ -27,7 +27,7 @@ CLASS net/minecraft/class_2643 net/minecraft/block/entity/EndGatewayBlockEntity
ARG 1 pos
ARG 2 config
METHOD method_11417 getRecentlyGeneratedBeamHeight (F)F
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_11418 setExitPortalPos (Lnet/minecraft/class_2338;Z)V
ARG 1 pos
ARG 2 exactTeleport
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/block/entity/LidOpenable.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ CLASS net/minecraft/class_2618 net/minecraft/block/entity/LidOpenable
COMMENT An interface implemented by block entities with openable lids,
COMMENT such as chests or ender chests.
METHOD method_11274 getAnimationProgress (F)F
ARG 1 tickDelta
ARG 1 tickProgress
8 changes: 4 additions & 4 deletions mappings/net/minecraft/block/entity/PistonBlockEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ CLASS net/minecraft/class_2669 net/minecraft/block/entity/PistonBlockEntity
ARG 5 extending
ARG 6 source
METHOD method_11494 getRenderOffsetX (F)F
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_11495 getPushedBlock ()Lnet/minecraft/class_2680;
METHOD method_11496 getHeadBlockState ()Lnet/minecraft/class_2680;
METHOD method_11497 getIntersectionSize (Lnet/minecraft/class_238;Lnet/minecraft/class_2350;Lnet/minecraft/class_238;)D
METHOD method_11498 getFacing ()Lnet/minecraft/class_2350;
METHOD method_11499 getProgress (F)F
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_11500 offsetHeadBox (Lnet/minecraft/class_2338;Lnet/minecraft/class_238;Lnet/minecraft/class_2669;)Lnet/minecraft/class_238;
ARG 0 pos
ARG 1 box
Expand All @@ -39,10 +39,10 @@ CLASS net/minecraft/class_2669 net/minecraft/block/entity/PistonBlockEntity
ARG 1 progress
METHOD method_11506 getMovementDirection ()Lnet/minecraft/class_2350;
METHOD method_11507 getRenderOffsetZ (F)F
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_11508 getSavedWorldTime ()J
METHOD method_11511 getRenderOffsetY (F)F
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_11512 getCollisionShape (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
ARG 1 world
ARG 2 pos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CLASS net/minecraft/class_2627 net/minecraft/block/entity/ShulkerBoxBlockEntity
ARG 1 pos
ARG 2 state
METHOD method_11312 getAnimationProgress (F)F
ARG 1 delta
ARG 1 tickProgress
METHOD method_11313 getAnimationStage ()Lnet/minecraft/class_2627$class_2628;
METHOD method_11314 getBoundingBox (Lnet/minecraft/class_2680;)Lnet/minecraft/class_238;
ARG 1 state
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CLASS net/minecraft/class_2631 net/minecraft/block/entity/SkullBlockEntity
ARG 1 executor
METHOD method_39766 clearServices ()V
METHOD method_47588 getPoweredTicks (F)F
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_47589 tick (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2631;)V
ARG 0 world
ARG 1 pos
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/client/gui/Drawable.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ CLASS net/minecraft/class_4068 net/minecraft/client/gui/Drawable
ARG 1 context
ARG 2 mouseX
ARG 3 mouseY
ARG 4 delta
ARG 4 deltaTicks
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CLASS net/minecraft/class_766 net/minecraft/client/gui/RotatingCubeMapRenderer
ARG 2 width
ARG 3 height
ARG 4 alpha
ARG 5 tickDelta
ARG 5 tickProgress
METHOD method_45780 wrapOnce (FF)F
ARG 0 a
ARG 1 b
6 changes: 3 additions & 3 deletions mappings/net/minecraft/client/gui/screen/Screen.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
ARG 1 context
ARG 2 mouseX
ARG 3 mouseY
ARG 4 delta
ARG 4 deltaTicks
METHOD method_25421 shouldPause ()Z
METHOD method_25422 shouldCloseOnEsc ()Z
COMMENT Checks whether this screen should be closed when the escape key is pressed.
Expand Down Expand Up @@ -129,7 +129,7 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
ARG 1 context
ARG 2 mouseX
ARG 3 mouseY
ARG 4 delta
ARG 4 deltaTicks
METHOD method_47414 setTooltip (Ljava/util/List;)V
ARG 1 tooltip
METHOD method_47415 setTooltip (Lnet/minecraft/class_2561;)V
Expand Down Expand Up @@ -165,7 +165,7 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
COMMENT This should be overridden with a call to {@link #setInitialFocus(Element)} to set the element that is initially focused.
METHOD method_57728 renderPanoramaBackground (Lnet/minecraft/class_332;F)V
ARG 1 context
ARG 2 delta
ARG 2 deltaTicks
METHOD method_57734 applyBlur ()V
METHOD method_57735 renderDarkening (Lnet/minecraft/class_332;)V
ARG 1 context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ CLASS net/minecraft/class_8064 net/minecraft/client/gui/screen/ingame/CyclingSlo
METHOD <init> (I)V
ARG 1 slotId
METHOD method_48468 computeAlpha (F)F
ARG 1 delta
ARG 1 deltaTicks
METHOD method_48469 render (Lnet/minecraft/class_1703;Lnet/minecraft/class_332;FII)V
ARG 1 screenHandler
ARG 2 context
ARG 3 delta
ARG 3 deltaTicks
ARG 4 x
ARG 5 y
METHOD method_48470 drawIcon (Lnet/minecraft/class_1735;Lnet/minecraft/class_2960;FLnet/minecraft/class_332;II)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ CLASS net/minecraft/class_486 net/minecraft/client/gui/screen/ingame/Enchantment
ARG 1 context
ARG 2 x
ARG 3 y
ARG 4 delta
ARG 4 deltaTicks
METHOD method_64044 (Lnet/minecraft/class_332;Lnet/minecraft/class_4597;)V
ARG 2 vertexConsumers
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CLASS net/minecraft/class_4894 net/minecraft/client/gui/screen/ingame/ForgingScr
ARG 1 context
ARG 2 mouseX
ARG 3 mouseY
ARG 4 delta
ARG 4 deltaTicks
METHOD method_25445 setup ()V
METHOD method_48467 drawInvalidRecipeArrow (Lnet/minecraft/class_332;II)V
ARG 1 context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ CLASS net/minecraft/class_465 net/minecraft/client/gui/screen/ingame/HandledScre
ARG 3 mouseY
METHOD method_2389 drawBackground (Lnet/minecraft/class_332;FII)V
ARG 1 context
ARG 2 delta
ARG 2 deltaTicks
ARG 3 mouseX
ARG 4 mouseY
METHOD method_30107 onMouseClick (I)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ CLASS net/minecraft/class_485 net/minecraft/client/gui/screen/ingame/StatusEffec
ARG 1 context
ARG 2 mouseX
ARG 3 mouseY
ARG 4 tickDelta
ARG 4 tickProgress
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ CLASS net/minecraft/class_513 net/minecraft/client/gui/screen/recipebook/RecipeB
ARG 3 y
ARG 4 mouseX
ARG 5 mouseY
ARG 6 delta
ARG 6 deltaTicks
METHOD method_2635 getLastClickedResults ()Lnet/minecraft/class_516;
METHOD method_2636 initialize (Lnet/minecraft/class_310;II)V
ARG 1 client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ CLASS net/minecraft/class_339 net/minecraft/client/gui/widget/ClickableWidget
ARG 1 context
ARG 2 mouseX
ARG 3 mouseY
ARG 4 delta
ARG 4 deltaTicks
METHOD method_48591 setNavigationOrder (I)V
ARG 1 navigationOrder
METHOD method_49604 drawScrollableText (Lnet/minecraft/class_332;Lnet/minecraft/class_327;II)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ CLASS net/minecraft/class_350 net/minecraft/client/gui/widget/EntryListWidget
ARG 1 context
ARG 2 mouseX
ARG 3 mouseY
ARG 4 delta
ARG 4 deltaTicks
METHOD method_25312 renderHeader (Lnet/minecraft/class_332;II)V
ARG 1 context
ARG 2 x
Expand Down Expand Up @@ -144,7 +144,7 @@ CLASS net/minecraft/class_350 net/minecraft/client/gui/widget/EntryListWidget
COMMENT the Y coordinate of the mouse
ARG 9 hovered
COMMENT whether the mouse is hovering over the entry
ARG 10 tickDelta
ARG 10 tickProgress
METHOD method_49568 drawBorder (Lnet/minecraft/class_332;IIIIIIIZF)V
ARG 1 context
ARG 2 index
Expand All @@ -155,7 +155,7 @@ CLASS net/minecraft/class_350 net/minecraft/client/gui/widget/EntryListWidget
ARG 7 mouseX
ARG 8 mouseY
ARG 9 hovered
ARG 10 tickDelta
ARG 10 tickProgress
CLASS class_352 Entries
FIELD field_2146 entries Ljava/util/List;
METHOD add (ILjava/lang/Object;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CLASS net/minecraft/class_10415 net/minecraft/client/gui/widget/ScrollableTextFi
ARG 1 context
ARG 2 mouseX
ARG 3 mouseY
ARG 4 delta
ARG 4 deltaTicks
METHOD method_44391 getContentsHeight ()I
METHOD method_65509 getTextMargin ()I
METHOD method_65510 isVisible (II)Z
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ CLASS net/minecraft/class_742 net/minecraft/client/network/AbstractClientPlayerE
ARG 2 fovEffectScale
METHOD method_3123 getPlayerListEntry ()Lnet/minecraft/class_640;
METHOD method_49339 lerpVelocity (F)Lnet/minecraft/class_243;
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_52814 getSkinTextures ()Lnet/minecraft/class_8685;
12 changes: 6 additions & 6 deletions mappings/net/minecraft/client/particle/BillboardParticle.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CLASS net/minecraft/class_3940 net/minecraft/client/particle/BillboardParticle
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 #buildGeometry}}
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_18133 getMinU ()F
COMMENT {@return the lower U coordinate of the UV coordinates used to draw this particle}
METHOD method_18134 getMaxU ()F
Expand All @@ -16,13 +16,13 @@ CLASS net/minecraft/class_3940 net/minecraft/client/particle/BillboardParticle
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
ARG 4 tickProgress
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
ARG 6 tickProgress
METHOD method_60375 renderVertex (Lnet/minecraft/class_4588;Lorg/joml/Quaternionf;FFFFFFFFI)V
ARG 1 vertexConsumer
ARG 3 x
Expand All @@ -38,12 +38,12 @@ CLASS net/minecraft/class_3940 net/minecraft/client/particle/BillboardParticle
METHOD method_55246 (Lorg/joml/Quaternionf;Lnet/minecraft/class_4184;F)V
ARG 0 quaternion
ARG 1 camera
ARG 2 tickDelta
ARG 2 tickProgress
METHOD method_55247 (Lorg/joml/Quaternionf;Lnet/minecraft/class_4184;F)V
ARG 0 quaternion
ARG 1 camera
ARG 2 tickDelta
ARG 2 tickProgress
METHOD setRotation (Lorg/joml/Quaternionf;Lnet/minecraft/class_4184;F)V
ARG 1 quaternion
ARG 2 camera
ARG 3 tickDelta
ARG 3 tickProgress
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CLASS net/minecraft/class_5734 net/minecraft/client/particle/DustColorTransition
ARG 1 color
ARG 2 multiplier
METHOD method_33074 updateColor (F)V
ARG 1 tickDelta
ARG 1 tickProgress
CLASS class_5735 Factory
FIELD field_28246 spriteProvider Lnet/minecraft/class_4002;
METHOD <init> (Lnet/minecraft/class_4002;)V
Expand Down
7 changes: 3 additions & 4 deletions mappings/net/minecraft/client/particle/Particle.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
COMMENT the buffer to render to
ARG 2 camera
COMMENT the current active game {@link Camera}
ARG 3 tickDelta
COMMENT frame tick delta amount
ARG 3 tickProgress
METHOD method_3075 move (F)Lnet/minecraft/class_703;
COMMENT Multiplies this particle's current velocity by the target {@code speed} amount.
ARG 1 speed
Expand Down Expand Up @@ -163,11 +162,11 @@ CLASS net/minecraft/class_703 net/minecraft/client/particle/Particle
ARG 1 matrices
ARG 2 vertexConsumers
ARG 3 camera
ARG 4 tickDelta
ARG 4 tickProgress
CLASS class_9213 DynamicAlpha
FIELD field_48941 OPAQUE Lnet/minecraft/class_703$class_9213;
METHOD method_56833 isOpaque ()Z
METHOD method_56834 getAlpha (IIF)F
ARG 1 age
ARG 2 maxAge
ARG 3 tickDelta
ARG 3 tickProgress
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ CLASS net/minecraft/class_702 net/minecraft/client/particle/ParticleManager
COMMENT a collection of particles from the same sheet
METHOD method_3049 renderParticles (Lnet/minecraft/class_4184;FLnet/minecraft/class_4597$class_4598;)V
ARG 1 camera
ARG 2 tickDelta
ARG 2 tickProgress
ARG 3 vertexConsumers
METHOD method_3051 addEmitter (Lnet/minecraft/class_1297;Lnet/minecraft/class_2394;I)V
ARG 1 entity
Expand Down Expand Up @@ -116,13 +116,13 @@ CLASS net/minecraft/class_702 net/minecraft/client/particle/ParticleManager
ARG 2 factory
METHOD method_65199 renderParticles (Lnet/minecraft/class_4184;FLnet/minecraft/class_4597$class_4598;Lnet/minecraft/class_3999;Ljava/util/Queue;)V
ARG 0 camera
ARG 1 tickDelta
ARG 1 tickProgress
ARG 2 vertexConsumers
ARG 3 sheet
ARG 4 particles
METHOD method_65200 renderCustomParticles (Lnet/minecraft/class_4184;FLnet/minecraft/class_4597$class_4598;Ljava/util/Queue;)V
ARG 0 camera
ARG 1 tickDelta
ARG 1 tickProgress
ARG 2 vertexConsumers
ARG 3 particles
CLASS class_4090 SimpleSpriteProvider
Expand Down
12 changes: 6 additions & 6 deletions mappings/net/minecraft/client/render/BackgroundRenderer.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ CLASS net/minecraft/class_758 net/minecraft/client/render/BackgroundRenderer
ARG 2 color
ARG 3 viewDistance
ARG 4 thickenFog
ARG 5 tickDelta
ARG 5 tickProgress
METHOD method_42588 getFogModifier (Lnet/minecraft/class_1297;F)Lnet/minecraft/class_758$class_7286;
ARG 0 entity
ARG 1 tickDelta
ARG 1 tickProgress
METHOD method_42589 (Lnet/minecraft/class_1309;FLnet/minecraft/class_758$class_7286;)Z
ARG 2 modifier
METHOD method_62185 getFogColor (Lnet/minecraft/class_4184;FLnet/minecraft/class_638;IF)Lorg/joml/Vector4f;
ARG 0 camera
ARG 1 tickDelta
ARG 1 tickProgress
ARG 2 world
ARG 3 clampedViewDistance
ARG 4 skyDarkness
Expand All @@ -42,12 +42,12 @@ CLASS net/minecraft/class_758 net/minecraft/client/render/BackgroundRenderer
ARG 2 entity
ARG 3 effect
ARG 4 viewDistance
ARG 5 tickDelta
ARG 5 tickProgress
METHOD method_42592 applyColorModifier (Lnet/minecraft/class_1309;Lnet/minecraft/class_1293;FF)F
ARG 1 entity
ARG 2 effect
ARG 3 defaultModifier
ARG 4 tickDelta
ARG 4 tickProgress
METHOD method_42593 shouldApply (Lnet/minecraft/class_1309;F)Z
ARG 1 entity
ARG 2 tickDelta
ARG 2 tickProgress
Loading

0 comments on commit 5535cf4

Please sign in to comment.