Package net.minecraft.world.item
Class CreativeModeTabs
java.lang.Object
net.minecraft.world.item.CreativeModeTabs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceKey
<CreativeModeTab> private static CreativeModeTab.ItemDisplayParameters
static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> private static final Comparator
<Holder<PaintingVariant>> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> static final ResourceKey
<CreativeModeTab> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<CreativeModeTab> allTabs()
static CreativeModeTab
bootstrap
(Registry<CreativeModeTab> p_283144_) private static void
private static ResourceKey
<CreativeModeTab> private static void
generateEnchantmentBookTypesAllLevels
(CreativeModeTab.Output p_270961_, HolderLookup<Enchantment> p_270628_, Set<TagKey<Item>> p_271024_, CreativeModeTab.TabVisibility p_270805_, FeatureFlagSet p_338625_) private static void
generateEnchantmentBookTypesOnlyMaxLevel
(CreativeModeTab.Output p_270868_, HolderLookup<Enchantment> p_270903_, Set<TagKey<Item>> p_270380_, CreativeModeTab.TabVisibility p_270407_, FeatureFlagSet p_338678_) private static void
generateFireworksAllDurations
(CreativeModeTab.Output p_259586_, CreativeModeTab.TabVisibility p_259372_) private static void
generateInstrumentTypes
(CreativeModeTab.Output p_270699_, HolderLookup<Instrument> p_270948_, Item p_270421_, TagKey<Instrument> p_270798_, CreativeModeTab.TabVisibility p_270817_) private static void
generateOminousVials
(CreativeModeTab.Output p_338748_, CreativeModeTab.TabVisibility p_338797_) private static void
generatePotionEffectTypes
(CreativeModeTab.Output p_270129_, HolderLookup<Potion> p_270334_, Item p_270968_, CreativeModeTab.TabVisibility p_270778_, FeatureFlagSet p_338372_) private static void
generatePresetPaintings
(CreativeModeTab.Output p_271007_, HolderLookup.RegistryLookup<PaintingVariant> p_270618_, Predicate<Holder<PaintingVariant>> p_270878_, CreativeModeTab.TabVisibility p_270261_) private static void
generateSuspiciousStews
(CreativeModeTab.Output p_259484_, CreativeModeTab.TabVisibility p_260051_) static CreativeModeTab
static CreativeModeTab
private static Stream
<CreativeModeTab> static List
<CreativeModeTab> tabs()
static boolean
tryRebuildTabContents
(FeatureFlagSet p_270988_, boolean p_270090_, HolderLookup.Provider p_270799_) static void
validate()
-
Field Details
-
BUILDING_BLOCKS
-
COLORED_BLOCKS
-
NATURAL_BLOCKS
-
FUNCTIONAL_BLOCKS
-
REDSTONE_BLOCKS
-
HOTBAR
-
SEARCH
-
TOOLS_AND_UTILITIES
-
COMBAT
-
FOOD_AND_DRINKS
-
INGREDIENTS
-
SPAWN_EGGS
-
OP_BLOCKS
-
INVENTORY
-
PAINTING_COMPARATOR
-
CACHED_PARAMETERS
-
-
Constructor Details
-
CreativeModeTabs
public CreativeModeTabs()
-
-
Method Details
-
createKey
-
bootstrap
-
validate
public static void validate() -
getDefaultTab
-
generatePotionEffectTypes
private static void generatePotionEffectTypes(CreativeModeTab.Output p_270129_, HolderLookup<Potion> p_270334_, Item p_270968_, CreativeModeTab.TabVisibility p_270778_, FeatureFlagSet p_338372_) -
generateEnchantmentBookTypesOnlyMaxLevel
private static void generateEnchantmentBookTypesOnlyMaxLevel(CreativeModeTab.Output p_270868_, HolderLookup<Enchantment> p_270903_, Set<TagKey<Item>> p_270380_, CreativeModeTab.TabVisibility p_270407_, FeatureFlagSet p_338678_) -
generateEnchantmentBookTypesAllLevels
private static void generateEnchantmentBookTypesAllLevels(CreativeModeTab.Output p_270961_, HolderLookup<Enchantment> p_270628_, Set<TagKey<Item>> p_271024_, CreativeModeTab.TabVisibility p_270805_, FeatureFlagSet p_338625_) -
generateInstrumentTypes
private static void generateInstrumentTypes(CreativeModeTab.Output p_270699_, HolderLookup<Instrument> p_270948_, Item p_270421_, TagKey<Instrument> p_270798_, CreativeModeTab.TabVisibility p_270817_) -
generateSuspiciousStews
private static void generateSuspiciousStews(CreativeModeTab.Output p_259484_, CreativeModeTab.TabVisibility p_260051_) -
generateOminousVials
private static void generateOminousVials(CreativeModeTab.Output p_338748_, CreativeModeTab.TabVisibility p_338797_) -
generateFireworksAllDurations
private static void generateFireworksAllDurations(CreativeModeTab.Output p_259586_, CreativeModeTab.TabVisibility p_259372_) -
generatePresetPaintings
private static void generatePresetPaintings(CreativeModeTab.Output p_271007_, HolderLookup.RegistryLookup<PaintingVariant> p_270618_, Predicate<Holder<PaintingVariant>> p_270878_, CreativeModeTab.TabVisibility p_270261_) -
tabs
-
allTabs
-
streamAllTabs
-
searchTab
-
buildAllTabContents
-
tryRebuildTabContents
public static boolean tryRebuildTabContents(FeatureFlagSet p_270988_, boolean p_270090_, HolderLookup.Provider p_270799_)
-