S27PacketExplosion
getX(): double
getX(): doubleReturns the X-coordinate of the explosion's center. This is a double value representing the horizontal position along the X-axis where the explosion occurred.
getY(): double
getY(): doubleReturns the Y-coordinate of the explosion's center. This is a double value representing the vertical position along the Y-axis where the explosion occurred.
getZ(): double
getZ(): doubleReturns the Z-coordinate of the explosion's center. This is a double value representing the horizontal position along the Z-axis where the explosion occurred.
getMotionX(): double
getMotionX(): doubleRetrieves the X-axis motion imparted by the explosion. This is a double value indicating the horizontal movement effect along the X-axis caused by the explosion.
getMotionY(): double
getMotionY(): doubleRetrieves the Y-axis motion imparted by the explosion. This is a double value indicating the vertical movement effect along the Y-axis caused by the explosion.
getMotionZ(): double
getMotionZ(): doubleRetrieves the Z-axis motion imparted by the explosion. This is a double value indicating the horizontal movement effect along the Z-axis caused by the explosion.
getMotionX(double motionX): void
getMotionX(double motionX): voidsetMotionY(double motionY): void
setMotionY(double motionY): voidsetMotionZ(double motionZ): void
setMotionZ(double motionZ): voidgetStrength(): float
getStrength(): floatReturns the strength of the explosion. This is a float value representing the intensity or magnitude of the explosion.
Provides an array of BlockPos objects representing the positions of blocks affected by the explosion. Each element in the array is a BlockPos indicating a specific block location that was impacted by the explosion.
Last updated