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 booleanCreativeModeInventoryScreen.tryRebuildTabContents(SessionSearchTrees pSearchTrees, FeatureFlagSet pEnabledFeatures, boolean pHasPermissions, HolderLookup.Provider pRegistries) private voidCreativeModeInventoryScreen.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 FeatureFlagSetClientConfigurationPacketListenerImpl.enabledFeaturesprivate final FeatureFlagSetClientPacketListener.enabledFeaturesprivate final FeatureFlagSetCommonListenerCookie.enabledFeaturesThe field for theenabledFeaturesrecord component.Methods in net.minecraft.client.multiplayer that return FeatureFlagSetModifier and TypeMethodDescriptionClientLevel.enabledFeatures()ClientPacketListener.enabledFeatures()ClientSuggestionProvider.enabledFeatures()CommonListenerCookie.enabledFeatures()Returns the value of theenabledFeaturesrecord component.Methods in net.minecraft.client.multiplayer with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionbooleanClientPacketListener.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 aCommonListenerCookierecord 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 CommandBuildContextCommandBuildContext.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 FeatureFlagSetEntityLootSubProvider.allowedprotected final FeatureFlagSetBlockLootSubProvider.enabledFeaturesprivate final FeatureFlagSetEntityLootSubProvider.requiredConstructors in net.minecraft.data.loot with parameters of type FeatureFlagSetModifierConstructorDescriptionprotectedBlockLootSubProvider(Set<Item> pExplosionResistant, FeatureFlagSet pEnabledFeatures, Map<ResourceKey<LootTable>, LootTable.Builder> pMap, HolderLookup.Provider pRegistries) protectedBlockLootSubProvider(Set<Item> pExplosionResistant, FeatureFlagSet pEnabledFeatures, HolderLookup.Provider pRegistries) protectedEntityLootSubProvider(FeatureFlagSet pRequired, HolderLookup.Provider pRegistries) protectedEntityLootSubProvider(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 PackMetadataGeneratorPackMetadataGenerator.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 voidRecipeProvider.generateForEnabledBlockFamilies(RecipeOutput pEnabledFeatures, FeatureFlagSet p_251836_) protected static voidRecipeProvider.generateRecipes(RecipeOutput pRecipeOutput, BlockFamily pBlockFamily, FeatureFlagSet pRequiredFeatures) protected static voidRecipeProvider.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 WorldDataConfigurationMinecraftServer.configureRepositoryWithSelection(PackRepository pPackRepository, Collection<String> pSelectedPacks, FeatureFlagSet pEnabledFeatures, boolean pSafeMode) private static voidMinecraftServer.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 FeatureFlagSetModifierConstructorDescriptionprivateReloadableServerResources(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 FeatureFlagSetFeatureFlagsMetadataSection.flagsThe field for theflagsrecord component.Methods in net.minecraft.server.packs that return FeatureFlagSetModifier and TypeMethodDescriptionFeatureFlagsMetadataSection.flags()Returns the value of theflagsrecord component.Constructors in net.minecraft.server.packs with parameters of type FeatureFlagSetModifierConstructorDescriptionCreates an instance of aFeatureFlagsMetadataSectionrecord class. -
Uses of FeatureFlagSet in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSetPack.Metadata.requestedFeaturesThe field for therequestedFeaturesrecord component.Methods in net.minecraft.server.packs.repository that return FeatureFlagSetModifier and TypeMethodDescriptionPackRepository.getRequestedFeatureFlags()Pack.getRequestedFeatures()Pack.Metadata.requestedFeatures()Returns the value of therequestedFeaturesrecord 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 aMetadatarecord 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 FeatureFlagSetEntityType.Builder.requiredFeaturesprivate final FeatureFlagSetEntityType.requiredFeaturesMethods in net.minecraft.world.entity that return FeatureFlagSetConstructors in net.minecraft.world.entity with parameters of type FeatureFlagSetModifierConstructorDescriptionEntityType(EntityType.EntityFactory<T> pFactory, MobCategory pCategory, boolean pSerialize, boolean pSummon, boolean pFireImmune, boolean pCanSpawnFarFromPlayer, ImmutableSet<Block> pImmuneTo, EntityDimensions pDimensions, float pSpawnDimensionsScale, int pClientTrackingRange, int pUpdateInterval, FeatureFlagSet pRequiredFeatures) EntityType(EntityType.EntityFactory<T> pFactory, MobCategory pCategory, boolean pSerialize, boolean pSummon, boolean pFireImmune, boolean pCanSpawnFarFromPlayer, ImmutableSet<Block> pImmuneTo, EntityDimensions pDimensions, float pSpawnDimensionsScale, int pClientTrackingRange, int pUpdateInterval, FeatureFlagSet pRequiredFeatures, 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 FeatureFlagSetFeatureFlagRegistry.allFlagsstatic final FeatureFlagSetFeatureFlags.DEFAULT_FLAGSprivate static final FeatureFlagSetFeatureFlagSet.EMPTYstatic final FeatureFlagSetFeatureFlags.VANILLA_SETFields in net.minecraft.world.flag with type parameters of type FeatureFlagSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FeatureFlagSet> FeatureFlags.CODECMethods in net.minecraft.world.flag that return FeatureFlagSetModifier and TypeMethodDescriptionFeatureFlagRegistry.allFlags()(package private) static FeatureFlagSetFeatureFlagSet.create(FeatureFlagUniverse pUniverse, Collection<FeatureFlag> pFlags) FeatureFlagRegistry.fromNames(Iterable<ResourceLocation> pNames) FeatureFlagRegistry.fromNames(Iterable<ResourceLocation> pNames, Consumer<ResourceLocation> pOnError) FeatureFlagSet.join(FeatureFlagSet pOther) static FeatureFlagSetFeatureFlagSet.of()static FeatureFlagSetFeatureFlagSet.of(FeatureFlag pFlag) static FeatureFlagSetFeatureFlagSet.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 TypeMethodDescriptionbooleanFeatureFlagSet.intersects(FeatureFlagSet pSet) default booleanFeatureElement.isEnabled(FeatureFlagSet pEnabledFeatures) static booleanFeatureFlags.isExperimental(FeatureFlagSet pSet) booleanFeatureFlagRegistry.isSubset(FeatureFlagSet pSet) booleanFeatureFlagSet.isSubsetOf(FeatureFlagSet pSet) FeatureFlagSet.join(FeatureFlagSet pOther) static StringFeatureFlags.printMissingFlags(FeatureFlagRegistry pRegistry, FeatureFlagSet pEnabledFeatures, FeatureFlagSet pRequestedFeatures) static StringFeatureFlags.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 FeatureFlagSetCreativeModeTab.ItemDisplayParameters.enabledFeaturesThe field for theenabledFeaturesrecord component.private final FeatureFlagSetCreativeModeTab.ItemDisplayBuilder.featureFlagSet(package private) FeatureFlagSetItem.Properties.requiredFeaturesprivate final FeatureFlagSetItem.requiredFeaturesMethods in net.minecraft.world.item that return FeatureFlagSetModifier and TypeMethodDescriptionCreativeModeTab.ItemDisplayParameters.enabledFeatures()Returns the value of theenabledFeaturesrecord component.BlockItem.requiredFeatures()Item.requiredFeatures()SpawnEggItem.requiredFeatures()Methods in net.minecraft.world.item with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionprivate static voidCreativeModeTabs.generatePotionEffectTypes(CreativeModeTab.Output pOutput, HolderLookup<Potion> pPotions, Item pItem, CreativeModeTab.TabVisibility pTabVisibility, FeatureFlagSet pRequiredFeatures) booleanItemStack.isItemEnabled(FeatureFlagSet pEnabledFlags) booleanCreativeModeTab.ItemDisplayParameters.needsUpdate(FeatureFlagSet pEnabledFeatures, boolean pHasPermissions, HolderLookup.Provider pHolders) static booleanCreativeModeTabs.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 aItemDisplayParametersrecord class. -
Uses of FeatureFlagSet in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as FeatureFlagSetModifier and TypeFieldDescriptionprivate final FeatureFlagSetPotionBrewing.Builder.enabledFeaturesprivate FeatureFlagSetPotion.requiredFeaturesMethods in net.minecraft.world.item.alchemy that return FeatureFlagSetMethods in net.minecraft.world.item.alchemy with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionstatic PotionBrewingPotionBrewing.bootstrap(FeatureFlagSet pEnabledFeatures) Deprecated.static PotionBrewingPotionBrewing.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 FeatureFlagSetWorldDataConfiguration.enabledFeaturesThe field for theenabledFeaturesrecord component.Methods in net.minecraft.world.level that return FeatureFlagSetModifier and TypeMethodDescriptionLevelReader.enabledFeatures()WorldDataConfiguration.enabledFeatures()Returns the value of theenabledFeaturesrecord 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 aWorldDataConfigurationrecord 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) FeatureFlagSetBlockBehaviour.Properties.requiredFeaturesprotected final FeatureFlagSetBlockBehaviour.requiredFeaturesMethods 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 FeatureFlagSetWorldData.enabledFeatures()private static FeatureFlagSetLevelStorageSource.parseFeatureFlagsFromSummary(com.mojang.serialization.Dynamic<?> pDataDynamic) -
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.