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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceSpottingIconPredicate.IconPredicate<T extends net.minecraft.world.entity.Entity> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.minecraft.world.entity.Entity>
@NotNull SpottingIconPredicate.IconPredicate<T>static <T extends net.minecraft.world.entity.Entity>
SpottingIconPredicate.IconPredicate<T>getPredicate(@Nullable net.minecraft.resources.ResourceLocation id) static voidinit()static <T extends net.minecraft.world.entity.Entity>
voidregister(net.minecraft.resources.ResourceLocation id, SpottingIconPredicate.IconPredicate<T> predicate)
-
Field Details
-
DEFAULT_ID
public static net.minecraft.resources.ResourceLocation DEFAULT_ID
-
-
Constructor Details
-
SpottingIconPredicate
-
-
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()
-