类 WorkSpaceHelper
java.lang.Object
top.r3944realms.superleadrope.workspace.WorkSpaceHelper
- 所有已实现的接口:
IWorkSpaceHelper
The type 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, @Nullable 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, @Nullable Predicate<net.minecraft.world.entity.Entity> filter, double fetchDistance) Leashable in area list.voidregisterFakePlayer(@NotNull Class<?>... classes) Register fake player.
-
构造器详细资料
-
WorkSpaceHelper
public WorkSpaceHelper()
-
-
方法详细资料
-
leashableInArea
@NotNull public @NotNull List<net.minecraft.world.entity.Entity> leashableInArea(@NotNull @NotNull net.minecraft.world.level.Level pLevel, net.minecraft.world.phys.Vec3 pPos, @Nullable @Nullable Predicate<net.minecraft.world.entity.Entity> filter, double fetchDistance) 从接口复制的说明:IWorkSpaceHelperLeashable in area list.- 指定者:
leashableInArea在接口中IWorkSpaceHelper- 参数:
pLevel- the p levelpPos- the p posfilter- the filterfetchDistance- the fetch distance- 返回:
- the list
-
leashableInArea
@NotNull public <T extends net.minecraft.world.entity.Entity> @NotNull List<T> leashableInArea(@NotNull @NotNull net.minecraft.world.level.Level pLevel, Class<T> clazz, @Nullable @Nullable Predicate<T> filter, net.minecraft.world.phys.AABB box) 从接口复制的说明:IWorkSpaceHelperLeashable in area list.- 指定者:
leashableInArea在接口中IWorkSpaceHelper- 类型参数:
T- 实体类型- 参数:
pLevel- the p levelclazz- the clazzfilter- the filterbox- the box- 返回:
- the list
-
getLeashHelper
从接口复制的说明:IWorkSpaceHelperGets leash helper.- 指定者:
getLeashHelper在接口中IWorkSpaceHelper- 返回:
- the leash helper
-
isSuperLeadKnot
public boolean isSuperLeadKnot(net.minecraft.world.entity.Entity pEntity) 从接口复制的说明:IWorkSpaceHelperIs super lead knot boolean.- 指定者:
isSuperLeadKnot在接口中IWorkSpaceHelper- 参数:
pEntity- the p entity- 返回:
- the boolean
-
getSuperLeadPos
public net.minecraft.core.BlockPos getSuperLeadPos(net.minecraft.world.entity.Entity pEntity) throws IllegalArgumentException 从接口复制的说明:IWorkSpaceHelperGets super lead pos.- 指定者:
getSuperLeadPos在接口中IWorkSpaceHelper- 参数:
pEntity- the p entity- 返回:
- the super lead pos
- 抛出:
IllegalArgumentException- the illegal argument exception
-
isLeashable
public boolean isLeashable(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity) 从接口复制的说明:IWorkSpaceHelperIs leashable boolean.- 指定者:
isLeashable在接口中IWorkSpaceHelper- 参数:
pEntity- the p entity- 返回:
- the boolean
-
getLeashData
public Optional<ILeashData> getLeashData(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity) 从接口复制的说明:IWorkSpaceHelperGets leash data.- 指定者:
getLeashData在接口中IWorkSpaceHelper- 参数:
pEntity- the p entity- 返回:
- the leash data
-
getLeashState
public Optional<ILeashState> getLeashState(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity) 从接口复制的说明:IWorkSpaceHelperGets leash state.- 指定者:
getLeashState在接口中IWorkSpaceHelper- 参数:
pEntity- the p entity- 返回:
- the leash state
-
registerFakePlayer
从接口复制的说明:IWorkSpaceHelperRegister fake player.- 指定者:
registerFakePlayer在接口中IWorkSpaceHelper- 参数:
classes- the classes
-