Package net.minecraft.world.item
Class CreativeModeTabs
java.lang.Object
net.minecraft.world.item.CreativeModeTabs
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CreativeModeTab
private static CreativeModeTab.ItemDisplayParameters
static final CreativeModeTab
static final CreativeModeTab
private static final List<CreativeModeTab>
static final CreativeModeTab
private static final List<CreativeModeTab>
static final CreativeModeTab
static final CreativeModeTab
static final CreativeModeTab
static final CreativeModeTab
static final CreativeModeTab
static final CreativeModeTab
private static final Comparator<Holder<PaintingVariant>>
static final CreativeModeTab
static final CreativeModeTab
static final CreativeModeTab
private static final List<CreativeModeTab>
static final CreativeModeTab
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<CreativeModeTab>
allTabs()
private static void
private static List<CreativeModeTab>
checkTabs
(CreativeModeTab... p_259856_) static List<CreativeModeTab>
private static void
generateEnchantmentBookTypesAllLevels
(CreativeModeTab.Output p_270961_, HolderLookup<Enchantment> p_270628_, Set<EnchantmentCategory> p_271024_, CreativeModeTab.TabVisibility p_270805_) private static void
generateEnchantmentBookTypesOnlyMaxLevel
(CreativeModeTab.Output p_270868_, HolderLookup<Enchantment> p_270903_, Set<EnchantmentCategory> p_270380_, CreativeModeTab.TabVisibility p_270407_) 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
generatePotionEffectTypes
(CreativeModeTab.Output p_270129_, HolderLookup<Potion> p_270334_, Item p_270968_, CreativeModeTab.TabVisibility p_270778_) 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
static List<CreativeModeTab>
tabs()
static boolean
tryRebuildTabContents
(FeatureFlagSet p_270988_, boolean p_270090_, HolderLookup.Provider p_270799_)
-
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
-
TABS
-
PAINTING_COMPARATOR
-
DEFAULT_TABS
-
CACHED_PARAMETERS
-
FORGE_TABS_VIEW
-
-
Constructor Details
-
CreativeModeTabs
public CreativeModeTabs()
-
-
Method Details
-
checkTabs
-
getDefaultTab
-
generatePotionEffectTypes
private static void generatePotionEffectTypes(CreativeModeTab.Output p_270129_, HolderLookup<Potion> p_270334_, Item p_270968_, CreativeModeTab.TabVisibility p_270778_) -
generateEnchantmentBookTypesOnlyMaxLevel
private static void generateEnchantmentBookTypesOnlyMaxLevel(CreativeModeTab.Output p_270868_, HolderLookup<Enchantment> p_270903_, Set<EnchantmentCategory> p_270380_, CreativeModeTab.TabVisibility p_270407_) -
generateEnchantmentBookTypesAllLevels
private static void generateEnchantmentBookTypesAllLevels(CreativeModeTab.Output p_270961_, HolderLookup<Enchantment> p_270628_, Set<EnchantmentCategory> p_271024_, CreativeModeTab.TabVisibility p_270805_) -
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_) -
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
-
searchTab
-
buildAllTabContents
-
tryRebuildTabContents
public static boolean tryRebuildTabContents(FeatureFlagSet p_270988_, boolean p_270090_, HolderLookup.Provider p_270799_) -
defaultTabs
-