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 p_345591_, FeatureFlagSet p_345904_, boolean p_345731_, HolderLookup.Provider p_344784_) private voidCreativeModeInventoryScreen.tryRefreshInvalidatedTabs(FeatureFlagSet p_259501_, boolean p_259713_, HolderLookup.Provider p_270898_) Constructors in net.minecraft.client.gui.screens.inventory with parameters of type FeatureFlagSetModifierConstructorDescriptionCreativeModeInventoryScreen(LocalPlayer p_346290_, FeatureFlagSet p_260074_, boolean p_259569_) -
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 p_250605_) 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 p_255702_, FeatureFlagSet p_255968_) -
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 p_121145_, AABB p_352908_, FeatureFlagSet p_352911_) -
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 p_249397_) -
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> p_281507_, FeatureFlagSet p_283552_, Map<ResourceKey<LootTable>, LootTable.Builder> p_282212_, HolderLookup.Provider p_345191_) protectedBlockLootSubProvider(Set<Item> p_249153_, FeatureFlagSet p_251215_, HolderLookup.Provider p_344943_) protectedEntityLootSubProvider(FeatureFlagSet p_266989_, HolderLookup.Provider p_345284_) protectedEntityLootSubProvider(FeatureFlagSet p_251971_, FeatureFlagSet p_345117_, HolderLookup.Provider p_344819_) -
Uses of FeatureFlagSet in net.minecraft.data.metadata
Methods in net.minecraft.data.metadata with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionstatic PackMetadataGeneratorPackMetadataGenerator.forFeaturePack(PackOutput p_253903_, Component p_254497_, FeatureFlagSet p_253848_) -
Uses of FeatureFlagSet in net.minecraft.data.recipes
Methods in net.minecraft.data.recipes with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionprotected voidRecipeProvider.generateForEnabledBlockFamilies(RecipeOutput p_301146_, FeatureFlagSet p_251836_) protected static voidRecipeProvider.generateRecipes(RecipeOutput p_301014_, BlockFamily p_176582_, FeatureFlagSet p_313799_) protected static voidRecipeProvider.waxRecipes(RecipeOutput p_301254_, FeatureFlagSet p_313879_) -
Uses of FeatureFlagSet in net.minecraft.server
Methods in net.minecraft.server with parameters of type FeatureFlagSetModifier and TypeMethodDescriptionprivate static WorldDataConfigurationMinecraftServer.configureRepositoryWithSelection(PackRepository p_341680_, Collection<String> p_341677_, FeatureFlagSet p_341602_, boolean p_341662_) private static voidMinecraftServer.enableForcedFeaturePacks(PackRepository p_341674_, FeatureFlagSet p_341598_) ReloadableServerResources.loadResources(ResourceManager p_248588_, LayeredRegistryAccess<RegistryLayer> p_335667_, FeatureFlagSet p_250212_, Commands.CommandSelection p_249301_, int p_251126_, Executor p_249136_, Executor p_249601_) Constructors in net.minecraft.server with parameters of type FeatureFlagSetModifierConstructorDescriptionprivateReloadableServerResources(RegistryAccess.Frozen p_206857_, FeatureFlagSet p_250695_, Commands.CommandSelection p_206858_, int p_206859_) -
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> 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 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 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 FeatureFlagSetFeatureFlagSet.of()static FeatureFlagSetFeatureFlagSet.of(FeatureFlag p_252331_) static FeatureFlagSetFeatureFlagSet.of(FeatureFlag p_251008_, FeatureFlag... p_249805_) FeatureElement.requiredFeatures()FeatureFlagRegistry.subset(FeatureFlag... p_252295_) FeatureFlagSet.subtract(FeatureFlagSet p_341688_) 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 p_341635_) default booleanFeatureElement.isEnabled(FeatureFlagSet p_249172_) static booleanFeatureFlags.isExperimental(FeatureFlagSet p_249170_) booleanFeatureFlagRegistry.isSubset(FeatureFlagSet p_251939_) booleanFeatureFlagSet.isSubsetOf(FeatureFlagSet p_249164_) FeatureFlagSet.join(FeatureFlagSet p_251527_) static StringFeatureFlags.printMissingFlags(FeatureFlagRegistry p_249213_, FeatureFlagSet p_250429_, FeatureFlagSet p_250547_) static StringFeatureFlags.printMissingFlags(FeatureFlagSet p_250581_, FeatureFlagSet p_250326_) FeatureFlagSet.subtract(FeatureFlagSet p_341688_) FeatureFlagRegistry.toNames(FeatureFlagSet p_251153_) Constructors in net.minecraft.world.flag with parameters of type FeatureFlagSetModifierConstructorDescription(package private)FeatureFlagRegistry(FeatureFlagUniverse p_249715_, FeatureFlagSet p_249277_, Map<ResourceLocation, FeatureFlag> p_249557_) -
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> p_267054_, FeatureFlagSet p_266909_) -
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 p_270129_, HolderLookup<Potion> p_270334_, Item p_270968_, CreativeModeTab.TabVisibility p_270778_, FeatureFlagSet p_338372_) booleanItemStack.isItemEnabled(FeatureFlagSet p_250869_) booleanCreativeModeTab.ItemDisplayParameters.needsUpdate(FeatureFlagSet p_270338_, boolean p_270835_, HolderLookup.Provider p_270575_) static booleanCreativeModeTabs.tryRebuildTabContents(FeatureFlagSet p_270988_, boolean p_270090_, HolderLookup.Provider p_270799_) Constructors in net.minecraft.world.item with parameters of type FeatureFlagSetModifierConstructorDescriptionItemDisplayBuilder(CreativeModeTab p_251040_, FeatureFlagSet p_249331_) 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 p_341301_) 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 p_249090_) 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<?> 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.