类 SuperLeadRopeApi
java.lang.Object
top.r3944realms.superleadrope.api.SuperLeadRopeApi
The type Super lead rope api.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Optional<ILeashData>getLeashData(net.minecraft.world.entity.Entity pEntity) Gets leash data.static ILeashHelperGets leash helper.static Optional<ILeashState>getLeashState(net.minecraft.world.entity.Entity pEntity) Gets leash state.static net.minecraft.core.BlockPosgetSuperLeadKnotPos(net.minecraft.world.entity.Entity entity) Gets super lead knot pos.static booleanisLeashable(net.minecraft.world.entity.Entity entity) Is leashable boolean.static booleanisLeashHolder(@NotNull net.minecraft.world.entity.Entity pEntity, UUID pHolderUUID) Is leash holder boolean.static booleanisLeashHolder(@NotNull net.minecraft.world.entity.Entity pEntity, net.minecraft.core.BlockPos pKnotPos) Is leash holder boolean.static booleanisLeashHolder(@NotNull net.minecraft.world.entity.Entity pEntity, net.minecraft.world.entity.Entity pTestHolder) Is leash holder boolean.static booleanisSuperLeadKnot(net.minecraft.world.entity.Entity entity) Is super lead knot boolean.static @NotNull List<net.minecraft.world.entity.Entity>leashableInArea(@NotNull net.minecraft.world.entity.Entity entity, Predicate<net.minecraft.world.entity.Entity> filter, double fetchDistance) Leashable in area list.static @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.static @NotNull List<net.minecraft.world.entity.Entity>leashableInArea(net.minecraft.world.entity.Entity holder) Leashable in area list.static <T extends net.minecraft.world.entity.Entity>
@NotNull List<T>leashableInArea(net.minecraft.world.entity.Entity holder, Class<T> clazz, net.minecraft.world.phys.AABB box, Predicate<T> filter) Leashable in area list.static @NotNull List<net.minecraft.world.entity.Entity>leashableInArea(net.minecraft.world.entity.Entity entity, Predicate<net.minecraft.world.entity.Entity> filter) Leashable in area list.static @NotNull List<net.minecraft.world.entity.Entity>leashableInArea(net.minecraft.world.level.Level pLevel, net.minecraft.world.phys.Vec3 pPos, Predicate<net.minecraft.world.entity.Entity> filter) Leashable in area list.
-
字段详细资料
-
LOGGER
public static final org.slf4j.Logger LOGGERThe constant LOGGER. -
MOD_ID
The constant MOD_ID.
-
-
构造器详细资料
-
SuperLeadRopeApi
public SuperLeadRopeApi()
-
-
方法详细资料
-
getLeashHelper
Gets leash helper.- 返回:
- the leash helper
-
leashableInArea
@NotNull public static @NotNull List<net.minecraft.world.entity.Entity> leashableInArea(net.minecraft.world.level.Level pLevel, net.minecraft.world.phys.Vec3 pPos, Predicate<net.minecraft.world.entity.Entity> filter) Leashable in area list.- 参数:
pLevel- the p levelpPos- the p posfilter- the filter- 返回:
- the list
-
leashableInArea
@NotNull public static @NotNull List<net.minecraft.world.entity.Entity> leashableInArea(@NotNull @NotNull net.minecraft.world.entity.Entity entity, Predicate<net.minecraft.world.entity.Entity> filter, double fetchDistance) Leashable in area list.- 参数:
entity- the entityfilter- the filterfetchDistance- the fetch distance- 返回:
- the list
-
leashableInArea
@NotNull public static @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 public static @NotNull List<net.minecraft.world.entity.Entity> leashableInArea(net.minecraft.world.entity.Entity entity, Predicate<net.minecraft.world.entity.Entity> filter) Leashable in area list.- 参数:
entity- the entityfilter- the filter- 返回:
- the list
-
leashableInArea
@NotNull public static @NotNull List<net.minecraft.world.entity.Entity> leashableInArea(net.minecraft.world.entity.Entity holder) Leashable in area list.- 参数:
holder- the holder- 返回:
- the list
-
leashableInArea
@NotNull public static <T extends net.minecraft.world.entity.Entity> @NotNull List<T> leashableInArea(net.minecraft.world.entity.Entity holder, Class<T> clazz, net.minecraft.world.phys.AABB box, Predicate<T> filter) Leashable in area list.- 类型参数:
T- the type parameter- 参数:
holder- the holderclazz- the clazzbox- the boxfilter- the filter- 返回:
- the list
-
isSuperLeadKnot
public static boolean isSuperLeadKnot(net.minecraft.world.entity.Entity entity) Is super lead knot boolean.- 参数:
entity- the entity- 返回:
- the boolean
-
getSuperLeadKnotPos
public static net.minecraft.core.BlockPos getSuperLeadKnotPos(net.minecraft.world.entity.Entity entity) Gets super lead knot pos.- 参数:
entity- the entity- 返回:
- the super lead knot pos
-
isLeashable
public static boolean isLeashable(net.minecraft.world.entity.Entity entity) Is leashable boolean.- 参数:
entity- the entity- 返回:
- the boolean
-
isLeashHolder
public static boolean isLeashHolder(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity, net.minecraft.world.entity.Entity pTestHolder) Is leash holder boolean.- 参数:
pEntity- the p entitypTestHolder- the p test holder- 返回:
- the boolean
-
isLeashHolder
public static boolean isLeashHolder(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity, UUID pHolderUUID) Is leash holder boolean.- 参数:
pEntity- the p entitypHolderUUID- the p holder uuid- 返回:
- the boolean
-
isLeashHolder
public static boolean isLeashHolder(@NotNull @NotNull net.minecraft.world.entity.Entity pEntity, net.minecraft.core.BlockPos pKnotPos) Is leash holder boolean.- 参数:
pEntity- the p entitypKnotPos- the p knot pos- 返回:
- the boolean
-
getLeashState
Gets leash state.- 参数:
pEntity- the p entity- 返回:
- the leash state
-
getLeashData
Gets leash data.- 参数:
pEntity- the p entity- 返回:
- the leash data
-