类 LeashDataInnerAPI

java.lang.Object
top.r3944realms.superleadrope.util.capability.LeashDataInnerAPI

@Internal public final class LeashDataInnerAPI extends Object
拴绳数据API - 提供统一的API接口操作拴绳数据能力
  • 构造器详细资料

    • 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