VOOZH about

URL: https://minecraft.wiki/w/User_talk:Intricate

⇱ User talk:Intricate – Minecraft Wiki


User talk:Intricate

From Minecraft Wiki
Jump to navigation Jump to search

Images and texture packs

[edit source]
Latest comment: 13 May 20241 comment1 person in discussion

Hi! I just saw the images you uploaded (such as File:A pig checks for collisions.png, File:Slime block making Y velocity persist.mp4, etc.) and wanted to let you know that if you want to use those in a wiki page, you'll need to use the vanilla textures (no resource pack). If you're just going to use the images for your user page, then you don't need to change them, but please add [[Category:User images]] to the file pages! Thanks - 👁 Image
plighting_engineerd (talk) 00:48, 13 May 2024 (UTC)

About entities' motion

[edit source]
Latest comment: 7 August 20253 comments2 people in discussion

As you noticed, the previous drag coefficients appeared in the formulas more frequently as (1 - d) rather than simply d. That is intended for 2 reasons: firstly they are like that in the source code, so that's a valuable reference for modding, secondly it is coherent with the notion of drag coefficient, in the sense of an higher value corresponding to a faster decrease in velocity, which with these newer values doesn't apply.

As for the formulas, I think there is some wrong stuff? I'd need to check it more in depth, I'm quite sure falling blocks and alike use the P-A-D scheme rather than A-P-D. The only thing I'm certain of is that my results don't match with the new info.

Other than that, really like the section getting cleaned up, good work. OrHy3 (talk) 23:21, 5 August 2025 (UTC)

Hello! I agree that listing (1 - d) would make things more consistent with the real-world drag coefficient, but I chose to list them this way because that is how they appear in the code. My logic was that the wiki should try to document how the game works, rather than the cleanest model that replicates the same results (and also to replicate the exact ingame numbers it's necessary to do the same operations with the same data types, and the data type information gets lost when using 1-d). I got every value and data type from the source code of the latest snapshot (25w31a at the time i got the values), which I got from here (I was considering adding citations, but I don't know if the MC wiki accepts citations from the code). A lot of the values and orders have changed over time, so it's possible that it's changed since you got your results. In the case of falling block, here is the latest code:
publicvoidtick(){
if(this.blockState.isAir()){
this.discard();
}else{
Blockblock=this.blockState.getBlock();
this.time++;
this.applyGravity();// Update acceleration
this.move(MoverType.SELF,this.getDeltaMovement());// Update position
this.applyEffectsFromBlocks();
this.handlePortal();
if(this.level()instanceofServerLevelserverLevel&&(this.isAlive()||this.forceTickAfterTeleportToDuplicate)){
// Contents omitted because they are not relevant
}
this.setDeltaMovement(this.getDeltaMovement().scale(0.98));// Update drag (notice the 0.98 instead of 0.02)
}
}
Then dropping sand from Y=20, my ingame testing gives these positions:
20.009999990463257
19.969999990463258
19.890799990463258
19.773183990463256
19.617920310463255
19.425761904063254
19.197446665791254
18.933697732284696
18.635223777448267
18.302719301708567
17.93686491548366
17.538327616983253
17.107761064452852
16.64580584297306
16.153089725922865
15.630227931213673
15.077823372398665
14.496466904759957
13.886737566474023
13.249202814953808
12.584418758463997
11.892930383103982
11.175271775251169
10.43196633955541
9.663527012573567
8.87045647213136
8.053247342497999
7.212382395457304
6.348334747357423
5.4615680522195404
4.5525366909844145
3.6216859569739914
2.669452237643777
1.6962631927001663
and testing code with A-P-D, g=0.04d, d=0.98d, p0=20.009999990463257, v0=0.0 gives me
20.009999990463257
19.969999990463258
19.890799990463258
19.773183990463256
19.617920310463255
19.425761904063254
19.197446665791254
18.933697732284696
18.635223777448267
18.302719301708567
17.93686491548366
17.538327616983253
17.107761064452852
16.64580584297306
16.153089725922865
15.630227931213673
15.077823372398665
14.496466904759957
13.886737566474023
13.249202814953808
12.584418758463997
11.892930383103982
11.175271775251169
10.43196633955541
9.663527012573567
8.87045647213136
8.053247342497999
7.212382395457304
6.348334747357423
5.4615680522195404
4.5525366909844145
3.6216859569739914
2.669452237643777
1.6962631927001663
Finally, testing the formula in desmos gives 1.6962631927. Intricate () 22:18, 6 August 2025 (UTC)
Thank you for the reply.
Turns out I was using positive acceleration (I'd ask you to eventually change either the table values or the formulas' format, whichever you prefer to make it coherent).
About the drag coefficients, yes, I simply did recall badly from the decompiled code, I owe you an apology. I'll keep the old values on my repository since it doesn't rely on float error and doesn't refer to the code.
As for the updating order, I was surprised to find out we were, in a way, both correct. On the repository I used an additional coefficient, which in the game's effective cases simply swaps acceleration and position. OrHy3 (talk) 08:23, 7 August 2025 (UTC)

Calculators/Explosion entity influence translation

[edit source]
Latest comment: 25 August 20253 comments2 people in discussion

Hi. I am translating the calculator Calculators/Explosion entity influence into Ukrainian, and I have a question: what does “b/t” mean in the parts with velocity. I will be glad if you can answer! SymORmaK (talk) 07:59, 24 August 2025 (UTC)

Hi, b/t means blocks/tick, which is 1/20 of a meter/second. Now that you mention it I should make it say that in the english calculator too, thanks for pointing it out :) Intricate () 22:59, 24 August 2025 (UTC)
Thanks for the explanation :) SymORmaK (talk) 07:30, 25 August 2025 (UTC)
Retrieved from "https://minecraft.wiki/w/User_talk:Intricate?oldid=3148321"

Navigation menu