deobfParams

This commit is contained in:
Lyfts authored and Martin Robertz committed 2024-05-16 18:51:58 +02:00
1 parent a5bec6c22b
commit c5d7770253
9 files changed
+38 -47

No files matched your search

@@ -334,7 +334,7 @@ public abstract class ProjectileBase extends EntityArrow implements IEntityAddit
}
@Override
public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_) {
public void setVelocity(double x, double y, double z) {
// don't do anything, we set it ourselves at spawn
// Mojangs code has a hard cap of 3.9 speed, but our projectiles can go faster, which desyncs client and server
// speeds
@@ -49,8 +49,8 @@ public abstract class BehaviorProjectileBaseDispense extends BehaviorDefaultDisp
/**
* Play the dispense sound from the specified block.
*/
protected void playDispenseSound(IBlockSource p_82485_1_) {
p_82485_1_.getWorld().playAuxSFX(1002, p_82485_1_.getXInt(), p_82485_1_.getYInt(), p_82485_1_.getZInt(), 0);
protected void playDispenseSound(IBlockSource source) {
source.getWorld().playAuxSFX(1002, source.getXInt(), source.getYInt(), source.getZInt(), 0);
}
/**