接口 IWorkSpaceHelper
- 所有已知实现类:
WorkSpaceHelper
public interface IWorkSpaceHelper
The interface Work space helper.
-
方法概要
修饰符和类型方法说明getLeashData(@NotNull net.minecraft.world.entity.Entity pEntity) Gets leash data.Gets leash helper.getLeashState(@NotNull net.minecraft.world.entity.Entity pEntity) Gets leash state.net.minecraft.core.BlockPosgetSuperLeadPos(net.minecraft.world.entity.Entity pEntity) Gets super lead pos.booleanisLeashable(@NotNull net.minecraft.world.entity.Entity pEntity) Is leashable boolean.booleanisSuperLeadKnot(net.minecraft.world.entity.Entity pEntity) Is super lead knot boolean.<T extends net.minecraft.world.entity.Entity>
@NotNull List<T>leashableInArea(@NotNull net.minecraft.world.level.Level pLevel, Class<T> clazz, Predicate<T> filter, net.minecraft.world.phys.AABB box) Leashable in area list.@NotNull List<net.minecraft.world.entity.Entity>leashableInArea(@NotNull net.minecraft.world.level.Level pLevel, net.minecraft.world.phys.Vec3 pPos, Predicate<net.minecraft.world.entity.Entity> filter, double fetchDistance) Leashable in area list.voidregisterFakePlayer(@NotNull Class<?>... classes) Register fake player.
-
方法详细资料
-
leashableInArea
@NotNull @NotNull List<net.minecraft.world.entity.Entity> leashableInArea(@NotNull @NotNull net.minecraft.world.level.Level pLevel, net.minecraft.world.phys.Vec3 pPos, Predicate<net.minecraft.world.entity.Entity> filter, double fetchDistance) Leashable in area list.- 参数:
pLevel- the p levelpPos- the p posfilter- the filterfetchDistance- the fetch distance- 返回:
- the list
-
leashableInArea
@NotNull <T extends net.minecraft.world.entity.Entity> @NotNull List<T> leashableInArea(@NotNull @NotNull net.minecraft.world.level.Level pLevel, Class<T> clazz, Predicate<T> filter, net.minecraft.world.phys.AABB box) Leashable in area list.- 类型参数:
T- 实体类型- 参数:
pLevel- the p levelclazz- the clazzfilter- the filterbox- the box- 返回:
- the list
-
getLeashHelper
ILeashHelper getLeashHelper()Gets leash helper.- 返回:
- the leash helper
-
isSuperLeadKnot
boolean isSuperLeadKnot(net.minecraft.world.entity.Entity pEntity) Is super lead knot boolean.- 参数:
pEntity- the p entity- 返回:
- the boolean
-
getSuperLeadPos
net.minecraft.core.BlockPos getSuperLeadPos(net.minecraft.world.entity.Entity pEntity) throws IllegalArgumentException Gets super lead pos.- 参数:
pEntity- the p entity- 返回:
- the super lead pos
- 抛出:
IllegalArgumentException- the illegal argument exception
-
isLeashable
boolean isLeashable(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity) Is leashable boolean.- 参数:
pEntity- the p entity- 返回:
- the boolean
-
getLeashData
Gets leash data.- 参数:
pEntity- the p entity- 返回:
- the leash data
-
getLeashState
Gets leash state.- 参数:
pEntity- the p entity- 返回:
- the leash state
-
registerFakePlayer
Register fake player.- 参数:
classes- the classes
-