接口 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.BlockPos
    getSuperLeadPos(net.minecraft.world.entity.Entity pEntity)
    Gets super lead pos.
    boolean
    isLeashable(@NotNull net.minecraft.world.entity.Entity pEntity)
    Is leashable boolean.
    boolean
    isSuperLeadKnot(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.
    void
    registerFakePlayer(@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 level
      pPos - the p pos
      filter - the filter
      fetchDistance - 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 level
      clazz - the clazz
      filter - the filter
      box - 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

      Optional<ILeashData> getLeashData(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity)
      Gets leash data.
      参数:
      pEntity - the p entity
      返回:
      the leash data
    • getLeashState

      Optional<ILeashState> getLeashState(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity)
      Gets leash state.
      参数:
      pEntity - the p entity
      返回:
      the leash state
    • registerFakePlayer

      void registerFakePlayer(@NotNull @NotNull Class<?>... classes)
      Register fake player.
      参数:
      classes - the classes