Uses of Class
net.minecraft.world.flag.FeatureFlagSet
Packages that use FeatureFlagSet
Package
Description
-
Uses of FeatureFlagSet in net.minecraft.client.gui.screens
Constructors in net.minecraft.client.gui.screens with parameters of type FeatureFlagSet -
Uses of FeatureFlagSet in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionprivate boolean
CreativeModeInventoryScreen.tryRebuildTabContents
(SessionSearchTrees pSearchTrees, FeatureFlagSet pEnabledFeatures, boolean pHasPermissions, HolderLookup.Provider pRegistries) private void
CreativeModeInventoryScreen.tryRefreshInvalidatedTabs
(FeatureFlagSet pEnabledFeatures, boolean pHasPermissions, HolderLookup.Provider pProvider) Constructors in net.minecraft.client.gui.screens.inventory with parameters of type FeatureFlagSetModifierConstructorDescriptionCreativeModeInventoryScreen
(LocalPlayer pPlayer, FeatureFlagSet pEnabledFeatures, boolean pDisplayOperatorCreativeTab) -
Uses of FeatureFlagSet in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate FeatureFlagSet
ClientConfigurationPacketListenerImpl.enabledFeatures
private final FeatureFlagSet
ClientPacketListener.enabledFeatures
private final FeatureFlagSet
CommonListenerCookie.enabledFeatures
The field for theenabledFeatures
record component.Methods in net.minecraft.client.multiplayer that return FeatureFlagSetModifier and TypeMethodDescriptionClientLevel.enabledFeatures()
ClientPacketListener.enabledFeatures()
ClientSuggestionProvider.enabledFeatures()
CommonListenerCookie.enabledFeatures()
Returns the value of theenabledFeatures
record component.Methods in net.minecraft.client.multiplayer with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionboolean
ClientPacketListener.isFeatureEnabled
(FeatureFlagSet pEnabledFeatures) Constructors in net.minecraft.client.multiplayer with parameters of type FeatureFlagSetModifierConstructorDescriptionCommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, boolean strictErrorHandling, Map<String, String> customReportDetails, ServerLinks serverLinks) Deprecated.CommonListenerCookie
(com.mojang.authlib.GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, String serverBrand, ServerData serverData, Screen postDisconnectScreen, Map<ResourceLocation, byte[]> serverCookies, ChatComponent.State chatState, boolean strictErrorHandling, Map<String, String> customReportDetails, ServerLinks serverLinks, ConnectionType connectionType) Creates an instance of aCommonListenerCookie
record class. -
Uses of FeatureFlagSet in net.minecraft.commands
Methods in net.minecraft.commands that return FeatureFlagSetModifier and TypeMethodDescriptionCommandSourceStack.enabledFeatures()
SharedSuggestionProvider.enabledFeatures()
Methods in net.minecraft.commands with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionstatic CommandBuildContext
CommandBuildContext.simple
(HolderLookup.Provider pProvider, FeatureFlagSet pEnabledFeatures) -
Uses of FeatureFlagSet in net.minecraft.commands.arguments.selector
Methods in net.minecraft.commands.arguments.selector with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionEntitySelector.getPredicate
(Vec3 pPos, AABB pBox, FeatureFlagSet pEnabledFeatures) -
Uses of FeatureFlagSet in net.minecraft.core
Methods in net.minecraft.core with parameters of type FeatureFlagSetModifier and TypeMethodDescriptiondefault HolderLookup.RegistryLookup
<T> HolderLookup.RegistryLookup.filterFeatures
(FeatureFlagSet pEnabledFeatures) -
Uses of FeatureFlagSet in net.minecraft.data.loot
Fields in net.minecraft.data.loot declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSet
EntityLootSubProvider.allowed
protected final FeatureFlagSet
BlockLootSubProvider.enabledFeatures
private final FeatureFlagSet
EntityLootSubProvider.required
Constructors in net.minecraft.data.loot with parameters of type FeatureFlagSetModifierConstructorDescriptionprotected
BlockLootSubProvider
(Set<Item> pExplosionResistant, FeatureFlagSet pEnabledFeatures, Map<ResourceKey<LootTable>, LootTable.Builder> pMap, HolderLookup.Provider pRegistries) protected
BlockLootSubProvider
(Set<Item> pExplosionResistant, FeatureFlagSet pEnabledFeatures, HolderLookup.Provider pRegistries) protected
EntityLootSubProvider
(FeatureFlagSet pRequired, HolderLookup.Provider pRegistries) protected
EntityLootSubProvider
(FeatureFlagSet pAllowed, FeatureFlagSet pRequired, HolderLookup.Provider pRegistries) -
Uses of FeatureFlagSet in net.minecraft.data.metadata
Methods in net.minecraft.data.metadata with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionstatic PackMetadataGenerator
PackMetadataGenerator.forFeaturePack
(PackOutput pOutput, Component pDescription, FeatureFlagSet pFlags) -
Uses of FeatureFlagSet in net.minecraft.data.recipes
Methods in net.minecraft.data.recipes with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionprotected void
RecipeProvider.generateForEnabledBlockFamilies
(RecipeOutput pEnabledFeatures, FeatureFlagSet p_251836_) protected static void
RecipeProvider.generateRecipes
(RecipeOutput pRecipeOutput, BlockFamily pBlockFamily, FeatureFlagSet pRequiredFeatures) protected static void
RecipeProvider.waxRecipes
(RecipeOutput pRecipeOutput, FeatureFlagSet pRequiredFeatures) -
Uses of FeatureFlagSet in net.minecraft.server
Methods in net.minecraft.server with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionprivate static WorldDataConfiguration
MinecraftServer.configureRepositoryWithSelection
(PackRepository pPackRepository, Collection<String> pSelectedPacks, FeatureFlagSet pEnabledFeatures, boolean pSafeMode) private static void
MinecraftServer.enableForcedFeaturePacks
(PackRepository pPackRepository, FeatureFlagSet pEnabledFeatures) ReloadableServerResources.loadResources
(ResourceManager pResourceManager, LayeredRegistryAccess<RegistryLayer> pRegistries, FeatureFlagSet pEnabledFeatures, Commands.CommandSelection pCommandSelection, int pFunctionCompilationLevel, Executor pBackgroundExecutor, Executor pGameExecutor) Constructors in net.minecraft.server with parameters of type FeatureFlagSetModifierConstructorDescriptionprivate
ReloadableServerResources
(RegistryAccess.Frozen pRegistryAccess, FeatureFlagSet pEnabledFeatures, Commands.CommandSelection pCommandSelection, int pFunctionCompilationLevel) -
Uses of FeatureFlagSet in net.minecraft.server.level
Methods in net.minecraft.server.level that return FeatureFlagSet -
Uses of FeatureFlagSet in net.minecraft.server.packs
Fields in net.minecraft.server.packs declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSet
FeatureFlagsMetadataSection.flags
The field for theflags
record component.Methods in net.minecraft.server.packs that return FeatureFlagSetModifier and TypeMethodDescriptionFeatureFlagsMetadataSection.flags()
Returns the value of theflags
record component.Constructors in net.minecraft.server.packs with parameters of type FeatureFlagSetModifierConstructorDescriptionCreates an instance of aFeatureFlagsMetadataSection
record class. -
Uses of FeatureFlagSet in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSet
Pack.Metadata.requestedFeatures
The field for therequestedFeatures
record component.Methods in net.minecraft.server.packs.repository that return FeatureFlagSetModifier and TypeMethodDescriptionPackRepository.getRequestedFeatureFlags()
Pack.getRequestedFeatures()
Pack.Metadata.requestedFeatures()
Returns the value of therequestedFeatures
record component.Constructors in net.minecraft.server.packs.repository with parameters of type FeatureFlagSetModifierConstructorDescriptionMetadata
(Component description, PackCompatibility compatibility, FeatureFlagSet requestedFeatures, List<String> overlays) Deprecated.Neo: useMetadata(Component,PackCompatibility,FeatureFlagSet,List,boolean)
insteadMetadata
(Component description, PackCompatibility compatibility, FeatureFlagSet requestedFeatures, List<String> overlays, boolean isHidden) Creates an instance of aMetadata
record class. -
Uses of FeatureFlagSet in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as FeatureFlagSetMethods in net.minecraft.world.effect that return FeatureFlagSet -
Uses of FeatureFlagSet in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate FeatureFlagSet
EntityType.Builder.requiredFeatures
private final FeatureFlagSet
EntityType.requiredFeatures
Methods in net.minecraft.world.entity that return FeatureFlagSetConstructors in net.minecraft.world.entity with parameters of type FeatureFlagSetModifierConstructorDescriptionEntityType
(EntityType.EntityFactory<T> p_273268_, MobCategory p_272918_, boolean p_273417_, boolean p_273389_, boolean p_273556_, boolean p_272654_, com.google.common.collect.ImmutableSet<Block> p_273631_, EntityDimensions p_272946_, float p_338404_, int p_272895_, int p_273451_, FeatureFlagSet p_273518_) EntityType
(EntityType.EntityFactory<T> p_273268_, MobCategory p_272918_, boolean p_273417_, boolean p_273389_, boolean p_273556_, boolean p_272654_, com.google.common.collect.ImmutableSet<Block> p_273631_, EntityDimensions p_272946_, float p_338404_, int p_272895_, int p_273451_, FeatureFlagSet p_273518_, Predicate<EntityType<?>> trackDeltasSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier) -
Uses of FeatureFlagSet in net.minecraft.world.flag
Fields in net.minecraft.world.flag declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSet
FeatureFlagRegistry.allFlags
static final FeatureFlagSet
FeatureFlags.DEFAULT_FLAGS
private static final FeatureFlagSet
FeatureFlagSet.EMPTY
static final FeatureFlagSet
FeatureFlags.VANILLA_SET
Fields in net.minecraft.world.flag with type parameters of type FeatureFlagSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FeatureFlagSet> FeatureFlags.CODEC
Methods in net.minecraft.world.flag that return FeatureFlagSetModifier and TypeMethodDescriptionFeatureFlagRegistry.allFlags()
(package private) static FeatureFlagSet
FeatureFlagSet.create
(FeatureFlagUniverse pUniverse, Collection<FeatureFlag> pFlags) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> pNames) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> pNames, Consumer<ResourceLocation> pOnError) FeatureFlagSet.join
(FeatureFlagSet pOther) static FeatureFlagSet
FeatureFlagSet.of()
static FeatureFlagSet
FeatureFlagSet.of
(FeatureFlag pFlag) static FeatureFlagSet
FeatureFlagSet.of
(FeatureFlag pFlag, FeatureFlag... pOthers) FeatureElement.requiredFeatures()
FeatureFlagRegistry.subset
(FeatureFlag... pFlags) FeatureFlagSet.subtract
(FeatureFlagSet pOther) Methods in net.minecraft.world.flag that return types with arguments of type FeatureFlagSetModifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<FeatureFlagSet> FeatureFlagRegistry.codec()
Methods in net.minecraft.world.flag with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionboolean
FeatureFlagSet.intersects
(FeatureFlagSet pSet) default boolean
FeatureElement.isEnabled
(FeatureFlagSet pEnabledFeatures) static boolean
FeatureFlags.isExperimental
(FeatureFlagSet pSet) boolean
FeatureFlagRegistry.isSubset
(FeatureFlagSet pSet) boolean
FeatureFlagSet.isSubsetOf
(FeatureFlagSet pSet) FeatureFlagSet.join
(FeatureFlagSet pOther) static String
FeatureFlags.printMissingFlags
(FeatureFlagRegistry pRegistry, FeatureFlagSet pEnabledFeatures, FeatureFlagSet pRequestedFeatures) static String
FeatureFlags.printMissingFlags
(FeatureFlagSet pEnabledFeatures, FeatureFlagSet pRequestedFeatures) FeatureFlagSet.subtract
(FeatureFlagSet pOther) FeatureFlagRegistry.toNames
(FeatureFlagSet pSet) Constructors in net.minecraft.world.flag with parameters of type FeatureFlagSetModifierConstructorDescription(package private)
FeatureFlagRegistry
(FeatureFlagUniverse pUniverse, FeatureFlagSet pAllFlags, Map<ResourceLocation, FeatureFlag> pNames) -
Uses of FeatureFlagSet in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as FeatureFlagSetMethods in net.minecraft.world.inventory that return FeatureFlagSetConstructors in net.minecraft.world.inventory with parameters of type FeatureFlagSetModifierConstructorDescriptionMenuType
(MenuType.MenuSupplier<T> pConstructor, FeatureFlagSet pRequiredFeatures) -
Uses of FeatureFlagSet in net.minecraft.world.item
Fields in net.minecraft.world.item declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSet
CreativeModeTab.ItemDisplayParameters.enabledFeatures
The field for theenabledFeatures
record component.private final FeatureFlagSet
CreativeModeTab.ItemDisplayBuilder.featureFlagSet
(package private) FeatureFlagSet
Item.Properties.requiredFeatures
private final FeatureFlagSet
Item.requiredFeatures
Methods in net.minecraft.world.item that return FeatureFlagSetModifier and TypeMethodDescriptionCreativeModeTab.ItemDisplayParameters.enabledFeatures()
Returns the value of theenabledFeatures
record component.BlockItem.requiredFeatures()
Item.requiredFeatures()
SpawnEggItem.requiredFeatures()
Methods in net.minecraft.world.item with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionprivate static void
CreativeModeTabs.generatePotionEffectTypes
(CreativeModeTab.Output pOutput, HolderLookup<Potion> pPotions, Item pItem, CreativeModeTab.TabVisibility pTabVisibility, FeatureFlagSet pRequiredFeatures) boolean
ItemStack.isItemEnabled
(FeatureFlagSet pEnabledFlags) boolean
CreativeModeTab.ItemDisplayParameters.needsUpdate
(FeatureFlagSet pEnabledFeatures, boolean pHasPermissions, HolderLookup.Provider pHolders) static boolean
CreativeModeTabs.tryRebuildTabContents
(FeatureFlagSet pEnabledFeatures, boolean pHasPermissions, HolderLookup.Provider pRegistries) Constructors in net.minecraft.world.item with parameters of type FeatureFlagSetModifierConstructorDescriptionItemDisplayBuilder
(CreativeModeTab pTab, FeatureFlagSet pFeatureFlagSet) ItemDisplayParameters
(FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider holders) Creates an instance of aItemDisplayParameters
record class. -
Uses of FeatureFlagSet in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSet
PotionBrewing.Builder.enabledFeatures
private FeatureFlagSet
Potion.requiredFeatures
Methods in net.minecraft.world.item.alchemy that return FeatureFlagSetMethods in net.minecraft.world.item.alchemy with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionstatic PotionBrewing
PotionBrewing.bootstrap
(FeatureFlagSet pEnabledFeatures) Deprecated.static PotionBrewing
PotionBrewing.bootstrap
(FeatureFlagSet pEnabledFeatures, RegistryAccess registryAccess) Constructors in net.minecraft.world.item.alchemy with parameters of type FeatureFlagSet -
Uses of FeatureFlagSet in net.minecraft.world.level
Fields in net.minecraft.world.level declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSet
WorldDataConfiguration.enabledFeatures
The field for theenabledFeatures
record component.Methods in net.minecraft.world.level that return FeatureFlagSetModifier and TypeMethodDescriptionLevelReader.enabledFeatures()
WorldDataConfiguration.enabledFeatures()
Returns the value of theenabledFeatures
record component.Methods in net.minecraft.world.level with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionWorldDataConfiguration.expandFeatures
(FeatureFlagSet pNewFeatures) Constructors in net.minecraft.world.level with parameters of type FeatureFlagSetModifierConstructorDescriptionWorldDataConfiguration
(DataPackConfig dataPacks, FeatureFlagSet enabledFeatures) Creates an instance of aWorldDataConfiguration
record class. -
Uses of FeatureFlagSet in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state declared as FeatureFlagSetModifier and TypeFieldDescription(package private) FeatureFlagSet
BlockBehaviour.Properties.requiredFeatures
protected final FeatureFlagSet
BlockBehaviour.requiredFeatures
Methods in net.minecraft.world.level.block.state that return FeatureFlagSet -
Uses of FeatureFlagSet in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return FeatureFlagSetModifier and TypeMethodDescriptiondefault FeatureFlagSet
WorldData.enabledFeatures()
private static FeatureFlagSet
LevelStorageSource.parseFeatureFlagsFromSummary
(com.mojang.serialization.Dynamic<?> p_249466_) -
Uses of FeatureFlagSet in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event that return FeatureFlagSet
CommonListenerCookie(GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, Map, ChatComponent.State, boolean, Map, ServerLinks, net.neoforged.neoforge.network.connection.ConnectionType)
instead,to indicate whether the connection is modded.