Class ResearchdApi

java.lang.Object
com.portingdeadmods.researchd.api.ResearchdApi

public final class ResearchdApi extends Object
  • Constructor Details

    • ResearchdApi

      public ResearchdApi()
  • Method Details

    • openScreen

      public static void openScreen()
    • openTeamScreen

      public static void openTeamScreen()
    • openScreenForResearch

      public static void openScreenForResearch(net.minecraft.resources.ResourceKey<Research> research)
    • getTeamManager

      @Nullable public static @Nullable ResearchTeamManager getTeamManager(net.minecraft.world.level.Level level)
    • getResearchManager

      @Nullable public static @Nullable ResearchManager getResearchManager()
    • getResearchEffectManager

      public static ResearchEffectManager getResearchEffectManager(net.minecraft.world.level.Level level)
    • getEffectDataForPlayer

      @Nullable public static <T extends ResearchEffectData<?>> T getEffectDataForPlayer(net.minecraft.world.entity.player.Player player, ResearchEffectDataType<T> type)
    • getEffectDataForPlayer

      @Nullable public static <T extends ResearchEffectData<?>> T getEffectDataForPlayer(net.minecraft.world.entity.player.Player player, Supplier<ResearchEffectDataType<T>> type)
    • getEffectDataForTeam

      @Nullable public static <T extends ResearchEffectData<?>> T getEffectDataForTeam(net.minecraft.world.level.Level level, UUID teamId, ResearchEffectDataType<T> type)
    • getEffectDataForTeam

      @Nullable public static <T extends ResearchEffectData<?>> T getEffectDataForTeam(net.minecraft.world.level.Level level, UUID teamId, Supplier<ResearchEffectDataType<T>> type)
    • isItemBlocked

      public static boolean isItemBlocked(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.Item item)
    • isItemBlocked

      public static boolean isItemBlocked(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack)
    • isItemBlocked

      public static boolean isItemBlocked(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.ItemLike item)
    • isItemBlocked

      public static boolean isItemBlocked(net.minecraft.world.entity.player.Player player, net.minecraft.resources.ResourceKey<net.minecraft.world.item.Item> itemKey)
    • isItemBlocked

      public static boolean isItemBlocked(net.minecraft.world.level.Level level, UUID teamId, net.minecraft.world.item.Item item)
    • isItemBlocked

      public static boolean isItemBlocked(net.minecraft.world.level.Level level, UUID teamId, net.minecraft.world.item.ItemStack stack)
    • isItemBlocked

      public static boolean isItemBlocked(net.minecraft.world.level.Level level, UUID teamId, net.minecraft.world.level.ItemLike item)
    • isItemBlocked

      public static boolean isItemBlocked(net.minecraft.world.level.Level level, UUID teamId, net.minecraft.resources.ResourceKey<net.minecraft.world.item.Item> itemKey)
    • isRecipeBlocked

      public static boolean isRecipeBlocked(net.minecraft.world.entity.player.Player player, net.minecraft.resources.ResourceLocation recipeId)
    • isRecipeBlocked

      public static boolean isRecipeBlocked(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.crafting.RecipeHolder<?> holder)
    • isRecipeBlocked

      public static boolean isRecipeBlocked(net.minecraft.world.level.Level level, UUID teamId, net.minecraft.resources.ResourceLocation recipeId)
    • isRecipeBlocked

      public static boolean isRecipeBlocked(net.minecraft.world.level.Level level, UUID teamId, net.minecraft.world.item.crafting.RecipeHolder<?> holder)
    • isDimensionBlocked

      public static boolean isDimensionBlocked(net.minecraft.world.entity.player.Player player, net.minecraft.resources.ResourceKey<net.minecraft.world.level.dimension.DimensionType> dimension)
    • isDimensionBlocked

      public static boolean isDimensionBlocked(net.minecraft.world.level.Level level, UUID teamId, net.minecraft.resources.ResourceKey<net.minecraft.world.level.dimension.DimensionType> dimension)
    • getOrMigratePlacedByTeam

      @Nullable public static @Nullable UUID getOrMigratePlacedByTeam(net.minecraft.world.level.block.entity.BlockEntity be, net.minecraft.world.level.Level level)