Interface OldEnum<T extends OldEnum<T>>

Type Parameters:
T - the type of the old enum.
All Superinterfaces:
Comparable<T>
All Known Subinterfaces:
Cat.Type, Frog.Variant, MapCursor.Type, PatternType, Villager.Profession, Villager.Type

@Internal @Deprecated(since="1.21") public interface OldEnum<T extends OldEnum<T>> extends Comparable<T>
Deprecated.
only for backwards compatibility.
Class which holds common methods which are present in an enum.