类 SuperLeadRopeEvent.hasFocus

java.lang.Object
net.minecraftforge.eventbus.api.Event
top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent
top.r3944realms.superleadrope.api.event.SuperLeadRopeEvent.hasFocus
所有已实现的接口:
net.minecraftforge.fml.event.IModBusEvent
封闭类:
SuperLeadRopeEvent

public static class SuperLeadRopeEvent.hasFocus extends SuperLeadRopeEvent
The type Has focus.
  • 构造器详细资料

    • hasFocus

      public hasFocus(net.minecraft.world.entity.Entity leashedEntity, net.minecraft.world.entity.Entity finalForceTarget, net.minecraft.world.phys.Vec3 combinedForce, Map<UUID,LeashInfo> vaildLeashHolders, Map<net.minecraft.core.BlockPos,LeashInfo> vaildLeashKnots)
      Instantiates a new Has focus.
      参数:
      leashedEntity - the leashed entity
      finalForceTarget - the final force target
      combinedForce - the combined force
      vaildLeashHolders - the vaild leash holders
      vaildLeashKnots - the vaild leash knots
  • 方法详细资料

    • getFinalForceTarget

      public net.minecraft.world.entity.Entity getFinalForceTarget()
      Gets final force target.
      返回:
      the final force target
    • getCombinedForce

      public net.minecraft.world.phys.Vec3 getCombinedForce()
      Gets combined force.
      返回:
      the combined force
    • setCombinedForce

      public void setCombinedForce(net.minecraft.world.phys.Vec3 combinedForce)
      Sets combined force.
      参数:
      combinedForce - the combined force
    • getVaildLeashHolders

      public Map<UUID,LeashInfo> getVaildLeashHolders()
      Gets vaild leash holders.
      返回:
      the vaild leash holders
    • getVaildLeashKnots

      public Map<net.minecraft.core.BlockPos,LeashInfo> getVaildLeashKnots()
      Gets vaild leash knots.
      返回:
      the vaild leash knots