类 LeashDataInnerAPI.PropertyOperations

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

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

    修饰符和类型
    方法
    说明
    static void
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, @Nullable Double distance)
    Set static elastic distance scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable Double scale)
    Sets elastic scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable Double scale, int maxKeepTicks)
    Sets elastic scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable Double scale, int maxKeepTicks, @Nullable String reserved)
    Sets elastic scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable Double scale)
    Sets elastic scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable Double scale, int maxKeepTicks)
    Sets elastic scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable Double scale, int maxKeepTicks, @Nullable String reserved)
    Sets elastic scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double scale)
    Sets elastic scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double scale, int maxKeepTicks)
    Sets elastic scale.
    static boolean
    setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double scale, int maxKeepTicks, @Nullable String reserved)
    Sets elastic scale.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable Double distance)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable Double distance, int maxKeepTicks)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable Double distance, int maxKeepTicks, @Nullable String reserved)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable Double distance)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable Double distance, int maxKeepTicks)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable Double distance, int maxKeepTicks, @Nullable String reserved)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double distance)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double distance, int maxKeepTicks)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double distance, int maxKeepTicks, @Nullable String reserved)
    Sets max distance.
    static boolean
    setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double distance, @Nullable String reserved)
    Sets max distance.
    static void
    setStaticMaxDistance(net.minecraft.world.entity.Entity entity, @Nullable Double distance)
    Set static max distance.

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

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

    • setStaticMaxDistance

      public static void setStaticMaxDistance(net.minecraft.world.entity.Entity entity, @Nullable @Nullable Double distance)
      Set static max distance.
      参数:
      entity - the entity
      distance - the distance
    • setElasticDistanceScale

      public static void setElasticDistanceScale(net.minecraft.world.entity.Entity entity, @Nullable @Nullable Double distance)
      Set static elastic distance scale.
      参数:
      entity - the entity
      distance - the distance
    • setMaxDistance

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

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

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

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

      public static boolean setMaxDistance(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable @Nullable Double distance)
      Sets max distance.
      参数:
      entity - the entity
      holderUUID - the holder uuid
      distance - the distance
      返回:
      the max distance
    • setMaxDistance

      public static boolean setMaxDistance(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable @Nullable Double distance, int maxKeepTicks)
      Sets max distance.
      参数:
      entity - the entity
      holderUUID - the holder uuid
      distance - the distance
      maxKeepTicks - the max keep ticks
      返回:
      the max distance
    • setMaxDistance

      public static boolean setMaxDistance(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable @Nullable Double distance, int maxKeepTicks, @Nullable @Nullable String reserved)
      Sets max distance.
      参数:
      entity - the entity
      holderUUID - the holder uuid
      distance - the distance
      maxKeepTicks - the max keep ticks
      reserved - the reserved
      返回:
      the max distance
    • setMaxDistance

      public static boolean setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable @Nullable Double distance)
      Sets max distance.
      参数:
      entity - the entity
      knotPos - the knot pos
      distance - the distance
      返回:
      the max distance
    • setMaxDistance

      public static boolean setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable @Nullable Double distance, int maxKeepTicks)
      Sets max distance.
      参数:
      entity - the entity
      knotPos - the knot pos
      distance - the distance
      maxKeepTicks - the max keep ticks
      返回:
      the max distance
    • setMaxDistance

      public static boolean setMaxDistance(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable @Nullable Double distance, int maxKeepTicks, @Nullable @Nullable String reserved)
      Sets max distance.
      参数:
      entity - the entity
      knotPos - the knot pos
      distance - the distance
      maxKeepTicks - the max keep ticks
      reserved - the reserved
      返回:
      the max distance
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable @Nullable Double scale)
      Sets elastic scale.
      参数:
      entity - the entity
      holder - the holder
      scale - the scale
      返回:
      the elastic scale
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable @Nullable Double scale, int maxKeepTicks)
      Sets elastic scale.
      参数:
      entity - the entity
      holder - the holder
      scale - the scale
      maxKeepTicks - the max keep ticks
      返回:
      the elastic scale
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable @Nullable Double scale, int maxKeepTicks, @Nullable @Nullable String reserved)
      Sets elastic scale.
      参数:
      entity - the entity
      holder - the holder
      scale - the scale
      maxKeepTicks - the max keep ticks
      reserved - the reserved
      返回:
      the elastic scale
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable @Nullable Double scale)
      Sets elastic scale.
      参数:
      entity - the entity
      holderUUID - the holder uuid
      scale - the scale
      返回:
      the elastic scale
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable @Nullable Double scale, int maxKeepTicks)
      Sets elastic scale.
      参数:
      entity - the entity
      holderUUID - the holder uuid
      scale - the scale
      maxKeepTicks - the max keep ticks
      返回:
      the elastic scale
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, UUID holderUUID, @Nullable @Nullable Double scale, int maxKeepTicks, @Nullable @Nullable String reserved)
      Sets elastic scale.
      参数:
      entity - the entity
      holderUUID - the holder uuid
      scale - the scale
      maxKeepTicks - the max keep ticks
      reserved - the reserved
      返回:
      the elastic scale
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable @Nullable Double scale)
      Sets elastic scale.
      参数:
      entity - the entity
      knotPos - the knot pos
      scale - the scale
      返回:
      the elastic scale
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable @Nullable Double scale, int maxKeepTicks)
      Sets elastic scale.
      参数:
      entity - the entity
      knotPos - the knot pos
      scale - the scale
      maxKeepTicks - the max keep ticks
      返回:
      the elastic scale
    • setElasticDistanceScale

      public static boolean setElasticDistanceScale(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos, @Nullable @Nullable Double scale, int maxKeepTicks, @Nullable @Nullable String reserved)
      Sets elastic scale.
      参数:
      entity - the entity
      knotPos - the knot pos
      scale - the scale
      maxKeepTicks - the max keep ticks
      reserved - the reserved
      返回:
      the elastic scale