类 LeashDataInnerAPI.LeashOperations

java.lang.Object
top.r3944realms.superleadrope.util.capability.LeashDataInnerAPI.LeashOperations
封闭类:
LeashDataInnerAPI

public static final class LeashDataInnerAPI.LeashOperations extends Object
The type Leash operations.
  • 方法概要

    修饰符和类型
    方法
    说明
    static boolean
    attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder)
    Attach boolean.
    static boolean
    attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double maxDistance)
    Attach boolean.
    static boolean
    attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double maxDistance, @Nullable Double elasticdDistanceScale, int maxKeepTicks)
    Attach boolean.
    static boolean
    attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double maxDistance, @Nullable Double elasticDistanceScale, int maxKeepTicks, String reserved)
    Attach boolean.
    static boolean
    attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double maxDistance, String reserved)
    Attach boolean.
    static boolean
    attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, String reserved)
    Attach boolean.
    static void
    attachDelayed(net.minecraft.world.entity.Entity entity, UUID holderUUID)
    Attach delayed.
    static void
    attachDelayed(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder)
    Attach delayed.
    static void
    attachWithInfo(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, LeashInfo info)
    Attach with info.
    static boolean
    detach(net.minecraft.world.entity.Entity entity, UUID holderUUID)
    Detach boolean.
    static boolean
    detach(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos)
    Detach boolean.
    static boolean
    detach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder)
    Detach boolean.
    static void
    detachAll(net.minecraft.world.entity.Entity entity)
    Detach all.
    static void
    detachAllHolders(net.minecraft.world.entity.Entity entity)
    Detach all holders.
    static void
    detachAllKnots(net.minecraft.world.entity.Entity entity)
    Detach all knots.
    static void
    removeDelayed(net.minecraft.world.entity.Entity entity, UUID onceHolderPlayerUUID)
    Remove delayed.

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 方法详细资料

    • attach

      public static boolean attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder)
      Attach boolean.
      参数:
      entity - the entity
      holder - the holder
      返回:
      the boolean
    • attach

      public static boolean attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, String reserved)
      Attach boolean.
      参数:
      entity - the entity
      holder - the holder
      reserved - the reserved
      返回:
      the boolean
    • attach

      public static boolean attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable @Nullable Double maxDistance)
      Attach boolean.
      参数:
      entity - the entity
      holder - the holder
      maxDistance - the max distance
      返回:
      the boolean
    • attach

      public static boolean attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable @Nullable Double maxDistance, @Nullable @Nullable Double elasticdDistanceScale, int maxKeepTicks)
      Attach boolean.
      参数:
      entity - the entity
      holder - the holder
      maxDistance - the max distance
      elasticdDistanceScale - the elastic distance
      maxKeepTicks - the max keep ticks
      返回:
      the boolean
    • attach

      public static boolean attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable @Nullable Double maxDistance, String reserved)
      Attach boolean.
      参数:
      entity - the entity
      holder - the holder
      maxDistance - the max distance
      reserved - the reserved
      返回:
      the boolean
    • attach

      public static boolean attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable @Nullable Double maxDistance, @Nullable @Nullable Double elasticDistanceScale, int maxKeepTicks, String reserved)
      Attach boolean.
      参数:
      entity - the entity
      holder - the holder
      maxDistance - the max distance
      elasticDistanceScale - the elastic distance
      maxKeepTicks - the max keep ticks
      reserved - the reserved
      返回:
      the boolean
    • attachWithInfo

      public static void attachWithInfo(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, LeashInfo info)
      Attach with info.
      参数:
      entity - the entity
      holder - the holder
      info - the info
    • attachDelayed

      public static void attachDelayed(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder)
      Attach delayed.
      参数:
      entity - the entity
      holder - the holder
    • attachDelayed

      public static void attachDelayed(net.minecraft.world.entity.Entity entity, UUID holderUUID)
      Attach delayed.
      参数:
      entity - the entity
      holderUUID - the holder uuid
    • removeDelayed

      public static void removeDelayed(net.minecraft.world.entity.Entity entity, UUID onceHolderPlayerUUID)
      Remove delayed.
      参数:
      entity - the entity
      onceHolderPlayerUUID - the once holder player uuid
    • detach

      public static boolean detach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder)
      Detach boolean.
      参数:
      entity - the entity
      holder - the holder
      返回:
      the boolean
    • detach

      public static boolean detach(net.minecraft.world.entity.Entity entity, UUID holderUUID)
      Detach boolean.
      参数:
      entity - the entity
      holderUUID - the holder uuid
      返回:
      the boolean
    • detach

      public static boolean detach(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos)
      Detach boolean.
      参数:
      entity - the entity
      knotPos - the knot pos
      返回:
      the boolean
    • detachAll

      public static void detachAll(net.minecraft.world.entity.Entity entity)
      Detach all.
      参数:
      entity - the entity
    • detachAllHolders

      public static void detachAllHolders(net.minecraft.world.entity.Entity entity)
      Detach all holders.
      参数:
      entity - the entity
    • detachAllKnots

      public static void detachAllKnots(net.minecraft.world.entity.Entity entity)
      Detach all knots.
      参数:
      entity - the entity