@ApiStatus.NonExtendable
public static interface FavoriteEntryType.Registry
| Modifier and Type | Method and Description |
|---|---|
<A extends FavoriteEntry> |
get(net.minecraft.util.ResourceLocation id) |
@Nullable net.minecraft.util.ResourceLocation |
getId(FavoriteEntryType<?> type) |
@NotNull FavoriteEntryType.Section |
getOrCrateSection(net.minecraft.util.text.ITextComponent text) |
void |
register(net.minecraft.util.ResourceLocation id,
FavoriteEntryType<?> type) |
@NotNull java.lang.Iterable<FavoriteEntryType.Section> |
sections() |
void register(net.minecraft.util.ResourceLocation id,
FavoriteEntryType<?> type)
@Nullable <A extends FavoriteEntry> @Nullable FavoriteEntryType<A> get(net.minecraft.util.ResourceLocation id)
@Nullable @Nullable net.minecraft.util.ResourceLocation getId(FavoriteEntryType<?> type)
@NotNull @NotNull FavoriteEntryType.Section getOrCrateSection(net.minecraft.util.text.ITextComponent text)
@NotNull @NotNull java.lang.Iterable<FavoriteEntryType.Section> sections()