Interface Trail<T>
- Type Parameters:
T- Trail Object Type (Item Trails, Entity Trails, etc.)
- All Superinterfaces:
Cosmetic
Represents a StarCosmetics Trail
-
Method Summary
Modifier and TypeMethodDescriptionFetches the type of the object used in the trail.@NotNull TrailTypegetType()Fetches the type of this trail.voidrun(@NotNull Entity en, CosmeticLocation<?> loc) Runs a CosmeticLocation based on this parent.default voidrun(Player p, CosmeticLocation<?> cloc) Runs a CosmeticLocation based on this parent.Methods inherited from interface me.gamercoder215.starcosmetics.api.cosmetics.Cosmetic
getDisplayName, getIcon, getNamespace
-
Method Details
-
getObjectType
Fetches the type of the object used in the trail. -
getType
Fetches the type of this trail.- Returns:
- Trail Type
-
run
Runs a CosmeticLocation based on this parent.- Parameters:
en- Entity to useloc- CosmeticLocation to use
-
run
Description copied from interface:CosmeticRuns a CosmeticLocation based on this parent.
-