类 CreativeModeTabs
java.lang.Object
net.minecraft.world.item.CreativeModeTabs
-
字段概要
字段修饰符和类型字段说明static 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>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static List<CreativeModeTab>
allTabs()
static CreativeModeTab
bootstrap
(Registry<CreativeModeTab> pRegistry) private static void
buildAllTabContents
(CreativeModeTab.ItemDisplayParameters pParameters) private static ResourceKey<CreativeModeTab>
private static void
generateEnchantmentBookTypesAllLevels
(CreativeModeTab.Output pOutput, HolderLookup<Enchantment> pEnchantments, Set<EnchantmentCategory> pCategories, CreativeModeTab.TabVisibility pTabVisibility) private static void
generateEnchantmentBookTypesOnlyMaxLevel
(CreativeModeTab.Output pOutput, HolderLookup<Enchantment> pEnchantments, Set<EnchantmentCategory> pCategories, CreativeModeTab.TabVisibility pTabVisibility) private static void
generateFireworksAllDurations
(CreativeModeTab.Output pOutput, CreativeModeTab.TabVisibility pTabVisibility) private static void
generateInstrumentTypes
(CreativeModeTab.Output pOutput, HolderLookup<Instrument> pInstruments, Item pItem, TagKey<Instrument> pInstrument, CreativeModeTab.TabVisibility pTabVisibility) private static void
generatePotionEffectTypes
(CreativeModeTab.Output pOutput, HolderLookup<Potion> pPotions, Item pPotionItem, CreativeModeTab.TabVisibility pTabVisibility) private static void
generatePresetPaintings
(CreativeModeTab.Output pOutput, HolderLookup.RegistryLookup<PaintingVariant> pPaintingVariants, Predicate<Holder<PaintingVariant>> pPredicate, CreativeModeTab.TabVisibility pTabVisibility) private static void
generateSuspiciousStews
(CreativeModeTab.Output pOutput, CreativeModeTab.TabVisibility pTabVisibility) static CreativeModeTab
static CreativeModeTab
private static Stream<CreativeModeTab>
static List<CreativeModeTab>
tabs()
static boolean
tryRebuildTabContents
(FeatureFlagSet pEnabledFeatures, boolean pHasPermissions, HolderLookup.Provider pHolders) static void
validate()
-
字段详细资料
-
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
-
-
构造器详细资料
-
CreativeModeTabs
public CreativeModeTabs()
-
-
方法详细资料
-
createKey
-
bootstrap
-
validate
public static void validate() -
getDefaultTab
-
generatePotionEffectTypes
private static void generatePotionEffectTypes(CreativeModeTab.Output pOutput, HolderLookup<Potion> pPotions, Item pPotionItem, CreativeModeTab.TabVisibility pTabVisibility) -
generateEnchantmentBookTypesOnlyMaxLevel
private static void generateEnchantmentBookTypesOnlyMaxLevel(CreativeModeTab.Output pOutput, HolderLookup<Enchantment> pEnchantments, Set<EnchantmentCategory> pCategories, CreativeModeTab.TabVisibility pTabVisibility) -
generateEnchantmentBookTypesAllLevels
private static void generateEnchantmentBookTypesAllLevels(CreativeModeTab.Output pOutput, HolderLookup<Enchantment> pEnchantments, Set<EnchantmentCategory> pCategories, CreativeModeTab.TabVisibility pTabVisibility) -
generateInstrumentTypes
private static void generateInstrumentTypes(CreativeModeTab.Output pOutput, HolderLookup<Instrument> pInstruments, Item pItem, TagKey<Instrument> pInstrument, CreativeModeTab.TabVisibility pTabVisibility) -
generateSuspiciousStews
private static void generateSuspiciousStews(CreativeModeTab.Output pOutput, CreativeModeTab.TabVisibility pTabVisibility) -
generateFireworksAllDurations
private static void generateFireworksAllDurations(CreativeModeTab.Output pOutput, CreativeModeTab.TabVisibility pTabVisibility) -
generatePresetPaintings
private static void generatePresetPaintings(CreativeModeTab.Output pOutput, HolderLookup.RegistryLookup<PaintingVariant> pPaintingVariants, Predicate<Holder<PaintingVariant>> pPredicate, CreativeModeTab.TabVisibility pTabVisibility) -
tabs
-
allTabs
-
streamAllTabs
-
searchTab
-
buildAllTabContents
-
tryRebuildTabContents
public static boolean tryRebuildTabContents(FeatureFlagSet pEnabledFeatures, boolean pHasPermissions, HolderLookup.Provider pHolders)
-