类 PlayerRiptideEvent


public class PlayerRiptideEvent extends PlayerEvent
当玩家在使用三叉戟上的激流附魔推动它们在空中飞行(需要在雨天才能在空中飞行)时触发本事件
什么是激流:
  • 是三叉戟上的一个附魔
  • 最高等级为III
  • 用于三叉戟上, 可以在水中或下雨时投掷后推进玩家.
  • 激流不会使三叉戟被抛出, 而会使玩家向前推进.
  • 如果玩家未处在水中或所处地未下雨, 则玩家将无法投掷激流附魔的三叉戟

注意: 激流动作在客户端执行, 因此在此事件中操纵玩家可能会产生所不期望的影响.

原文: This event is fired when the player activates the riptide enchantment, using their trident to propel them through the air.
N.B. the riptide action is currently performed client side, so manipulating the player in this event may have undesired effects.