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 searchTrees, FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider registries) private void
CreativeModeInventoryScreen.tryRefreshInvalidatedTabs
(FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider provider) Constructors in net.minecraft.client.gui.screens.inventory with parameters of type FeatureFlagSetModifierConstructorDescriptionCreativeModeInventoryScreen
(LocalPlayer player, FeatureFlagSet enabledFeatures, boolean displayOperatorCreativeTab) -
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 enabledFeatures) 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 provider, FeatureFlagSet enabledFeatures) -
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 pos, AABB box, FeatureFlagSet enabledFeatures) -
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 enabledFeatures) -
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> explosionResistant, FeatureFlagSet enabledFeatures, Map<ResourceKey<LootTable>, LootTable.Builder> map, HolderLookup.Provider registries) protected
BlockLootSubProvider
(Set<Item> explosionResistant, FeatureFlagSet enabledFeatures, HolderLookup.Provider registries) protected
EntityLootSubProvider
(FeatureFlagSet required, HolderLookup.Provider registries) protected
EntityLootSubProvider
(FeatureFlagSet allowed, FeatureFlagSet required, HolderLookup.Provider registries) -
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 output, Component description, FeatureFlagSet flags) -
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 enabledFeatures, FeatureFlagSet p_251836_) protected static void
RecipeProvider.generateRecipes
(RecipeOutput recipeOutput, BlockFamily blockFamily, FeatureFlagSet requiredFeatures) protected static void
RecipeProvider.waxRecipes
(RecipeOutput recipeOutput, FeatureFlagSet requiredFeatures) -
Uses of FeatureFlagSet in net.minecraft.server
Methods in net.minecraft.server with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionprivate static WorldDataConfiguration
MinecraftServer.configureRepositoryWithSelection
(PackRepository packRepository, Collection<String> selectedPacks, FeatureFlagSet enabledFeatures, boolean safeMode) private static void
MinecraftServer.enableForcedFeaturePacks
(PackRepository packRepository, FeatureFlagSet enabledFeatures) ReloadableServerResources.loadResources
(ResourceManager resourceManager, LayeredRegistryAccess<RegistryLayer> registries, FeatureFlagSet enabledFeatures, Commands.CommandSelection commandSelection, int functionCompilationLevel, Executor backgroundExecutor, Executor gameExecutor) Constructors in net.minecraft.server with parameters of type FeatureFlagSetModifierConstructorDescriptionprivate
ReloadableServerResources
(RegistryAccess.Frozen registryAccess, FeatureFlagSet enabledFeatures, Commands.CommandSelection commandSelection, int functionCompilationLevel) -
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> factory, MobCategory category, boolean serialize, boolean summon, boolean fireImmune, boolean canSpawnFarFromPlayer, com.google.common.collect.ImmutableSet<Block> immuneTo, EntityDimensions dimensions, float spawnDimensionsScale, int clientTrackingRange, int updateInterval, FeatureFlagSet requiredFeatures) EntityType
(EntityType.EntityFactory<T> factory, MobCategory category, boolean serialize, boolean summon, boolean fireImmune, boolean canSpawnFarFromPlayer, com.google.common.collect.ImmutableSet<Block> immuneTo, EntityDimensions dimensions, float spawnDimensionsScale, int clientTrackingRange, int updateInterval, FeatureFlagSet requiredFeatures, 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 universe, Collection<FeatureFlag> flags) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> names) FeatureFlagRegistry.fromNames
(Iterable<ResourceLocation> names, Consumer<ResourceLocation> onError) FeatureFlagSet.join
(FeatureFlagSet other) static FeatureFlagSet
FeatureFlagSet.of()
static FeatureFlagSet
FeatureFlagSet.of
(FeatureFlag flag) static FeatureFlagSet
FeatureFlagSet.of
(FeatureFlag flag, FeatureFlag... others) FeatureElement.requiredFeatures()
FeatureFlagRegistry.subset
(FeatureFlag... flags) FeatureFlagSet.subtract
(FeatureFlagSet other) 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 set) default boolean
FeatureElement.isEnabled
(FeatureFlagSet enabledFeatures) static boolean
FeatureFlags.isExperimental
(FeatureFlagSet set) boolean
FeatureFlagRegistry.isSubset
(FeatureFlagSet set) boolean
FeatureFlagSet.isSubsetOf
(FeatureFlagSet set) FeatureFlagSet.join
(FeatureFlagSet other) static String
FeatureFlags.printMissingFlags
(FeatureFlagRegistry registry, FeatureFlagSet enabledFeatures, FeatureFlagSet requestedFeatures) static String
FeatureFlags.printMissingFlags
(FeatureFlagSet enabledFeatures, FeatureFlagSet requestedFeatures) FeatureFlagSet.subtract
(FeatureFlagSet other) FeatureFlagRegistry.toNames
(FeatureFlagSet p_set) Constructors in net.minecraft.world.flag with parameters of type FeatureFlagSetModifierConstructorDescription(package private)
FeatureFlagRegistry
(FeatureFlagUniverse universe, FeatureFlagSet allFlags, Map<ResourceLocation, FeatureFlag> names) -
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> constructor, FeatureFlagSet requiredFeatures) -
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 output, HolderLookup<Potion> potions, Item item, CreativeModeTab.TabVisibility tabVisibility, FeatureFlagSet requiredFeatures) boolean
ItemStack.isItemEnabled
(FeatureFlagSet enabledFlags) boolean
CreativeModeTab.ItemDisplayParameters.needsUpdate
(FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider holders) static boolean
CreativeModeTabs.tryRebuildTabContents
(FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider registries) Constructors in net.minecraft.world.item with parameters of type FeatureFlagSetModifierConstructorDescriptionItemDisplayBuilder
(CreativeModeTab tab, FeatureFlagSet featureFlagSet) 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 enabledFeatures) Deprecated.static PotionBrewing
PotionBrewing.bootstrap
(FeatureFlagSet enabledFeatures, 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 newFeatures) 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<?> dataDynamic) -
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.