类 LeashStateInnerAPI
java.lang.Object
top.r3944realms.superleadrope.util.capability.LeashStateInnerAPI
The type Leash state inner api.
-
嵌套类概要
嵌套类修饰符和类型类说明static final classThe type Offset.static final classThe type Operations.static final classThe type Query.static final classThe type Sync. -
方法概要
修饰符和类型方法说明static @NotNull Optional<ILeashState>getLeashState(@NotNull net.minecraft.world.entity.Entity entity) Gets leash state.
-
方法详细资料
-
getLeashState
@NotNull public static @NotNull Optional<ILeashState> getLeashState(@NotNull @NotNull net.minecraft.world.entity.Entity entity) Gets leash state.- 参数:
entity- the entity- 返回:
- the leash state
-