类 LeashDataInnerAPI
java.lang.Object
top.r3944realms.superleadrope.util.capability.LeashDataInnerAPI
拴绳数据API - 提供统一的API接口操作拴绳数据能力
-
嵌套类概要
嵌套类修饰符和类型类说明static final classThe type Leash operations.static final classThe type Management operations.static final classThe type Physics operations.static final classThe type Property operations.static final classThe type Query operations.static final classThe type Transfer operations.static final classThe type Utils. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static @NotNull Optional<ILeashData>getLeashData(@NotNull net.minecraft.world.entity.Entity entity) Gets leash data.
-
构造器详细资料
-
LeashDataInnerAPI
public LeashDataInnerAPI()
-
-
方法详细资料
-
getLeashData
@NotNull public static @NotNull Optional<ILeashData> getLeashData(@NotNull @NotNull net.minecraft.world.entity.Entity entity) Gets leash data.- 参数:
entity- the entity- 返回:
- the leash data
-