类 LeashDataInnerAPI.LeashOperations
java.lang.Object
top.r3944realms.superleadrope.util.capability.LeashDataInnerAPI.LeashOperations
- 封闭类:
- LeashDataInnerAPI
The type Leash operations.
-
方法概要
修饰符和类型方法说明static booleanattach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder) Attach boolean.static booleanattach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double maxDistance) Attach boolean.static booleanattach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double maxDistance, @Nullable Double elasticdDistanceScale, int maxKeepTicks) Attach boolean.static booleanattach(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 booleanattach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, @Nullable Double maxDistance, String reserved) Attach boolean.static booleanattach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, String reserved) Attach boolean.static voidattachDelayed(net.minecraft.world.entity.Entity entity, UUID holderUUID) Attach delayed.static voidattachDelayed(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder) Attach delayed.static voidattachWithInfo(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder, LeashInfo info) Attach with info.static booleanDetach boolean.static booleandetach(net.minecraft.world.entity.Entity entity, net.minecraft.core.BlockPos knotPos) Detach boolean.static booleandetach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder) Detach boolean.static voiddetachAll(net.minecraft.world.entity.Entity entity) Detach all.static voiddetachAllHolders(net.minecraft.world.entity.Entity entity) Detach all holders.static voiddetachAllKnots(net.minecraft.world.entity.Entity entity) Detach all knots.static voidremoveDelayed(net.minecraft.world.entity.Entity entity, UUID onceHolderPlayerUUID) Remove delayed.
-
方法详细资料
-
attach
public static boolean attach(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder) Attach boolean.- 参数:
entity- the entityholder- 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 entityholder- the holderreserved- 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 entityholder- the holdermaxDistance- 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 entityholder- the holdermaxDistance- the max distanceelasticdDistanceScale- the elastic distancemaxKeepTicks- 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 entityholder- the holdermaxDistance- the max distancereserved- 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 entityholder- the holdermaxDistance- the max distanceelasticDistanceScale- the elastic distancemaxKeepTicks- the max keep ticksreserved- 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 entityholder- the holderinfo- the info
-
attachDelayed
public static void attachDelayed(net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.Entity holder) Attach delayed.- 参数:
entity- the entityholder- the holder
-
attachDelayed
Attach delayed.- 参数:
entity- the entityholderUUID- the holder uuid
-
removeDelayed
public static void removeDelayed(net.minecraft.world.entity.Entity entity, UUID onceHolderPlayerUUID) Remove delayed.- 参数:
entity- the entityonceHolderPlayerUUID- 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 entityholder- the holder- 返回:
- the boolean
-
detach
Detach boolean.- 参数:
entity- the entityholderUUID- 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 entityknotPos- 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
-