类 WorkSpaceHelper

java.lang.Object
top.r3944realms.superleadrope.workspace.WorkSpaceHelper
所有已实现的接口:
IWorkSpaceHelper

public class WorkSpaceHelper extends Object implements IWorkSpaceHelper
The type Work space helper.
  • 构造器详细资料

    • 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)
      从接口复制的说明: IWorkSpaceHelper
      Leashable in area list.
      指定者:
      leashableInArea 在接口中 IWorkSpaceHelper
      参数:
      pLevel - the p level
      pPos - the p pos
      filter - the filter
      fetchDistance - 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)
      从接口复制的说明: IWorkSpaceHelper
      Leashable in area list.
      指定者:
      leashableInArea 在接口中 IWorkSpaceHelper
      类型参数:
      T - 实体类型
      参数:
      pLevel - the p level
      clazz - the clazz
      filter - the filter
      box - the box
      返回:
      the list
    • getLeashHelper

      public ILeashHelper getLeashHelper()
      从接口复制的说明: IWorkSpaceHelper
      Gets leash helper.
      指定者:
      getLeashHelper 在接口中 IWorkSpaceHelper
      返回:
      the leash helper
    • isSuperLeadKnot

      public boolean isSuperLeadKnot(net.minecraft.world.entity.Entity pEntity)
      从接口复制的说明: IWorkSpaceHelper
      Is 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
      从接口复制的说明: IWorkSpaceHelper
      Gets 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)
      从接口复制的说明: IWorkSpaceHelper
      Is leashable boolean.
      指定者:
      isLeashable 在接口中 IWorkSpaceHelper
      参数:
      pEntity - the p entity
      返回:
      the boolean
    • getLeashData

      public Optional<ILeashData> getLeashData(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity)
      从接口复制的说明: IWorkSpaceHelper
      Gets leash data.
      指定者:
      getLeashData 在接口中 IWorkSpaceHelper
      参数:
      pEntity - the p entity
      返回:
      the leash data
    • getLeashState

      public Optional<ILeashState> getLeashState(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity)
      从接口复制的说明: IWorkSpaceHelper
      Gets leash state.
      指定者:
      getLeashState 在接口中 IWorkSpaceHelper
      参数:
      pEntity - the p entity
      返回:
      the leash state
    • registerFakePlayer

      public void registerFakePlayer(@NotNull @NotNull Class<?>... classes)
      从接口复制的说明: IWorkSpaceHelper
      Register fake player.
      指定者:
      registerFakePlayer 在接口中 IWorkSpaceHelper
      参数:
      classes - the classes