Class SpottingIconPredicate<T extends net.minecraft.world.entity.Entity>

java.lang.Object
net.frozenblock.lib.spotting_icons.api.SpottingIconPredicate<T>

public final class SpottingIconPredicate<T extends net.minecraft.world.entity.Entity> extends Object
  • Field Details

    • DEFAULT_ID

      public static net.minecraft.resources.ResourceLocation DEFAULT_ID
  • Constructor Details

  • Method Details

    • register

      public static <T extends net.minecraft.world.entity.Entity> void register(net.minecraft.resources.ResourceLocation id, SpottingIconPredicate.IconPredicate<T> predicate)
    • getPredicate

      public static <T extends net.minecraft.world.entity.Entity> SpottingIconPredicate.IconPredicate<T> getPredicate(@Nullable @Nullable net.minecraft.resources.ResourceLocation id)
    • defaultPredicate

      @NotNull @Contract(pure=true) public static <T extends net.minecraft.world.entity.Entity> @NotNull SpottingIconPredicate.IconPredicate<T> defaultPredicate()
    • init

      public static void init()