Uses of Class
net.minecraft.world.flag.FeatureFlagSet
Package
Description
-
Uses of FeatureFlagSet in net.minecraft.client.gui.screens
-
Uses of FeatureFlagSet in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionprivate void
CreativeModeInventoryScreen.tryRefreshInvalidatedTabs
(FeatureFlagSet p_259501_, boolean p_259713_) ModifierConstructorDescriptionCreativeModeInventoryScreen
(Player p_259788_, FeatureFlagSet p_260074_, boolean p_259569_) -
Uses of FeatureFlagSet in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionClientLevel.enabledFeatures()
ClientPacketListener.enabledFeatures()
ClientSuggestionProvider.enabledFeatures()
Modifier and TypeMethodDescriptionboolean
ClientPacketListener.isFeatureEnabled
(FeatureFlagSet p_250605_) -
Uses of FeatureFlagSet in net.minecraft.commands
Modifier and TypeMethodDescriptionCommandSourceStack.enabledFeatures()
SharedSuggestionProvider.enabledFeatures()
Modifier and TypeMethodDescriptionCommandBuildContext.configurable
(RegistryAccess p_255925_, FeatureFlagSet p_255945_) static CommandBuildContext
CommandBuildContext.simple
(HolderLookup.Provider p_255702_, FeatureFlagSet p_255968_) -
Uses of FeatureFlagSet in net.minecraft.core
Modifier and TypeMethodDescriptiondefault HolderLookup<T>
HolderLookup.RegistryLookup.filterFeatures
(FeatureFlagSet p_249397_) -
Uses of FeatureFlagSet in net.minecraft.data
Modifier and TypeMethodDescriptionboolean
BlockFamily.shouldGenerateRecipe
(FeatureFlagSet p_250218_) -
Uses of FeatureFlagSet in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
BlockLootSubProvider.enabledFeatures
private final FeatureFlagSet
EntityLootSubProvider.enabledFeatures
ModifierConstructorDescriptionprotected
BlockLootSubProvider
(Set<Item> p_249153_, FeatureFlagSet p_251215_) protected
EntityLootSubProvider
(FeatureFlagSet p_251971_) -
Uses of FeatureFlagSet in net.minecraft.data.metadata
Modifier and TypeMethodDescriptionstatic PackMetadataGenerator
PackMetadataGenerator.forFeaturePack
(PackOutput p_253903_, Component p_254497_, FeatureFlagSet p_253848_) -
Uses of FeatureFlagSet in net.minecraft.data.recipes
Modifier and TypeMethodDescriptionprotected void
RecipeProvider.generateForEnabledBlockFamilies
(Consumer<FinishedRecipe> p_249188_, FeatureFlagSet p_251836_) -
Uses of FeatureFlagSet in net.minecraft.server
Modifier and TypeMethodDescriptionstatic WorldDataConfiguration
MinecraftServer.configurePackRepository
(PackRepository p_248681_, DataPackConfig p_248920_, boolean p_249869_, FeatureFlagSet p_251243_) ReloadableServerResources.loadResources
(ResourceManager p_248588_, RegistryAccess.Frozen p_251163_, FeatureFlagSet p_250212_, Commands.CommandSelection p_249301_, int p_251126_, Executor p_249136_, Executor p_249601_) ModifierConstructorDescriptionReloadableServerResources
(RegistryAccess.Frozen p_206857_, FeatureFlagSet p_250695_, Commands.CommandSelection p_206858_, int p_206859_) -
Uses of FeatureFlagSet in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionprivate static FeatureFlagSet
DedicatedServerProperties.getFeatures
(String p_251025_) -
Uses of FeatureFlagSet in net.minecraft.server.level
-
Uses of FeatureFlagSet in net.minecraft.server.packs
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
FeatureFlagsMetadataSection.flags
The field for theflags
record component.Modifier and TypeMethodDescriptionFeatureFlagsMetadataSection.flags()
Returns the value of theflags
record component.ModifierConstructorDescriptionCreates an instance of aFeatureFlagsMetadataSection
record class. -
Uses of FeatureFlagSet in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
Pack.Info.requestedFeatures
The field for therequestedFeatures
record component.private final FeatureFlagSet
Pack.requestedFeatures
Modifier and TypeMethodDescriptionPackRepository.getRequestedFeatureFlags()
Pack.getRequestedFeatures()
Pack.Info.requestedFeatures()
Returns the value of therequestedFeatures
record component.ModifierConstructorDescriptionInfo
(Component description, int dataFormat, int resourceFormat, FeatureFlagSet requestedFeatures, boolean hidden) Creates an instance of aInfo
record class.Info
(Component description, int format, FeatureFlagSet requestedFeatures) -
Uses of FeatureFlagSet in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate FeatureFlagSet
EntityType.Builder.requiredFeatures
private final FeatureFlagSet
EntityType.requiredFeatures
ModifierConstructorDescriptionEntityType
(EntityType.EntityFactory<T> p_251402_, MobCategory p_251431_, boolean p_251439_, boolean p_251973_, boolean p_252007_, boolean p_250908_, com.google.common.collect.ImmutableSet<Block> p_250201_, EntityDimensions p_251742_, int p_250479_, int p_249249_, FeatureFlagSet p_250427_) EntityType
(EntityType.EntityFactory<T> p_251402_, MobCategory p_251431_, boolean p_251439_, boolean p_251973_, boolean p_252007_, boolean p_250908_, com.google.common.collect.ImmutableSet<Block> p_250201_, EntityDimensions p_251742_, int p_250479_, int p_249249_, FeatureFlagSet p_250427_, Predicate<EntityType<?>> velocityUpdateSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, BiFunction<PlayMessages.SpawnEntity, Level, T> customClientFactory) -
Uses of FeatureFlagSet in net.minecraft.world.flag
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
FeatureFlagRegistry.allFlags
static final FeatureFlagSet
FeatureFlags.DEFAULT_FLAGS
private static final FeatureFlagSet
FeatureFlagSet.EMPTY
static final FeatureFlagSet
FeatureFlags.VANILLA_SET
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FeatureFlagSet>
FeatureFlags.CODEC
Modifier and TypeMethodDescriptionFeatureFlagRegistry.allFlags()
(package private) static FeatureFlagSet
FeatureFlagSet.create
(FeatureFlagUniverse p_251573_, Collection<FeatureFlag> p_251037_) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> p_250759_) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> p_251769_, Consumer<ResourceLocation> p_251521_) FeatureFlagSet.join
(FeatureFlagSet p_251527_) static FeatureFlagSet
FeatureFlagSet.of()
static FeatureFlagSet
FeatureFlagSet.of
(FeatureFlag p_252331_) static FeatureFlagSet
FeatureFlagSet.of
(FeatureFlag p_251008_, FeatureFlag... p_249805_) FeatureElement.requiredFeatures()
FeatureFlagRegistry.subset
(FeatureFlag... p_252295_) Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<FeatureFlagSet>
FeatureFlagRegistry.codec()
Modifier and TypeMethodDescriptiondefault boolean
FeatureElement.isEnabled
(FeatureFlagSet p_249172_) static boolean
FeatureFlags.isExperimental
(FeatureFlagSet p_249170_) boolean
FeatureFlagRegistry.isSubset
(FeatureFlagSet p_251939_) boolean
FeatureFlagSet.isSubsetOf
(FeatureFlagSet p_249164_) FeatureFlagSet.join
(FeatureFlagSet p_251527_) static String
FeatureFlags.printMissingFlags
(FeatureFlagRegistry p_249213_, FeatureFlagSet p_250429_, FeatureFlagSet p_250547_) static String
FeatureFlags.printMissingFlags
(FeatureFlagSet p_250581_, FeatureFlagSet p_250326_) FeatureFlagRegistry.toNames
(FeatureFlagSet p_251153_) ModifierConstructorDescription(package private)
FeatureFlagRegistry
(FeatureFlagUniverse p_249715_, FeatureFlagSet p_249277_, Map<ResourceLocation, FeatureFlag> p_249557_) -
Uses of FeatureFlagSet in net.minecraft.world.item
Modifier and TypeFieldDescriptionstatic FeatureFlagSet
CreativeModeTabs.CACHED_ENABLED_FEATURES
private final FeatureFlagSet
CreativeModeTab.ItemDisplayBuilder.featureFlagSet
(package private) FeatureFlagSet
Item.Properties.requiredFeatures
private final FeatureFlagSet
Item.requiredFeatures
Modifier and TypeMethodDescriptionBlockItem.requiredFeatures()
Item.requiredFeatures()
SpawnEggItem.requiredFeatures()
Modifier and TypeMethodDescriptionvoid
CreativeModeTab.DisplayItemsGenerator.accept
(FeatureFlagSet p_259204_, CreativeModeTab.Output p_259752_, boolean p_260123_) private static void
CreativeModeTabs.buildAllTabContents
(FeatureFlagSet p_259307_, boolean p_260177_) void
CreativeModeTab.buildContents
(FeatureFlagSet p_260125_, boolean p_259855_) boolean
ItemStack.isItemEnabled
(FeatureFlagSet p_250869_) static boolean
CreativeModeTabs.tryRebuildTabContents
(FeatureFlagSet p_259432_, boolean p_259893_) private static boolean
CreativeModeTabs.wouldRebuildSameContents
(FeatureFlagSet p_259114_, boolean p_260236_) ModifierConstructorDescriptionItemDisplayBuilder
(CreativeModeTab p_251040_, FeatureFlagSet p_249331_) -
Uses of FeatureFlagSet in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
WorldDataConfiguration.enabledFeatures
The field for theenabledFeatures
record component.Modifier and TypeMethodDescriptionLevelReader.enabledFeatures()
WorldDataConfiguration.enabledFeatures()
Returns the value of theenabledFeatures
record component.Modifier and TypeMethodDescriptionWorldDataConfiguration.expandFeatures
(FeatureFlagSet p_249090_) ModifierConstructorDescriptionWorldDataConfiguration
(DataPackConfig dataPacks, FeatureFlagSet enabledFeatures) Creates an instance of aWorldDataConfiguration
record class. -
Uses of FeatureFlagSet in net.minecraft.world.level.block.state
Modifier and TypeFieldDescription(package private) FeatureFlagSet
BlockBehaviour.Properties.requiredFeatures
protected final FeatureFlagSet
BlockBehaviour.requiredFeatures
-
Uses of FeatureFlagSet in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptiondefault FeatureFlagSet
WorldData.enabledFeatures()
private static FeatureFlagSet
LevelStorageSource.parseFeatureFlagsFromSummary
(com.mojang.serialization.Dynamic<Tag> p_249466_) -
Uses of FeatureFlagSet in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.onCreativeModeTabBuildContents
(CreativeModeTab tab, CreativeModeTab.DisplayItemsGenerator originalGenerator, FeatureFlagSet flags, CreativeModeTab.Output output, boolean hasPermisions) -
Uses of FeatureFlagSet in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
CreativeModeTabEvent.BuildContents.flags
ModifierConstructorDescriptionBuildContents
(CreativeModeTab tab, FeatureFlagSet flags, boolean hasPermissions, MutableHashedLinkedMap<ItemStack, CreativeModeTab.TabVisibility> entries)