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 searchTrees, FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider registries) private voidCreativeModeInventoryScreen.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 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 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 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 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 FeatureFlagSetEntityLootSubProvider.allowedprotected final FeatureFlagSetBlockLootSubProvider.enabledFeaturesprivate final FeatureFlagSetEntityLootSubProvider.requiredConstructors in net.minecraft.data.loot with parameters of type FeatureFlagSetModifierConstructorDescriptionprotectedBlockLootSubProvider(Set<Item> explosionResistant, FeatureFlagSet enabledFeatures, Map<ResourceKey<LootTable>, LootTable.Builder> map, HolderLookup.Provider registries) protectedBlockLootSubProvider(Set<Item> explosionResistant, FeatureFlagSet enabledFeatures, HolderLookup.Provider registries) protectedEntityLootSubProvider(FeatureFlagSet required, HolderLookup.Provider registries) protectedEntityLootSubProvider(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 PackMetadataGeneratorPackMetadataGenerator.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 voidRecipeProvider.generateForEnabledBlockFamilies(RecipeOutput enabledFeatures, FeatureFlagSet p_251836_) protected static voidRecipeProvider.generateRecipes(RecipeOutput recipeOutput, BlockFamily blockFamily, FeatureFlagSet requiredFeatures) protected static voidRecipeProvider.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 WorldDataConfigurationMinecraftServer.configureRepositoryWithSelection(PackRepository packRepository, Collection<String> selectedPacks, FeatureFlagSet enabledFeatures, boolean safeMode) private static voidMinecraftServer.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 FeatureFlagSetModifierConstructorDescriptionprivateReloadableServerResources(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 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> 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 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 universe, Collection<FeatureFlag> flags) FeatureFlagRegistry.fromNames(Iterable<ResourceLocation> names) FeatureFlagRegistry.fromNames(Iterable<ResourceLocation> names, Consumer<ResourceLocation> onError) FeatureFlagSet.join(FeatureFlagSet other) static FeatureFlagSetFeatureFlagSet.of()static FeatureFlagSetFeatureFlagSet.of(FeatureFlag flag) static FeatureFlagSetFeatureFlagSet.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 TypeMethodDescriptionbooleanFeatureFlagSet.intersects(FeatureFlagSet set) default booleanFeatureElement.isEnabled(FeatureFlagSet enabledFeatures) static booleanFeatureFlags.isExperimental(FeatureFlagSet set) booleanFeatureFlagRegistry.isSubset(FeatureFlagSet set) booleanFeatureFlagSet.isSubsetOf(FeatureFlagSet set) FeatureFlagSet.join(FeatureFlagSet other) static StringFeatureFlags.printMissingFlags(FeatureFlagRegistry registry, FeatureFlagSet enabledFeatures, FeatureFlagSet requestedFeatures) static StringFeatureFlags.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 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 output, HolderLookup<Potion> potions, Item item, CreativeModeTab.TabVisibility tabVisibility, FeatureFlagSet requiredFeatures) booleanItemStack.isItemEnabled(FeatureFlagSet enabledFlags) booleanCreativeModeTab.ItemDisplayParameters.needsUpdate(FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider holders) static booleanCreativeModeTabs.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 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 enabledFeatures) Deprecated.static PotionBrewingPotionBrewing.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 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 newFeatures) 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<?> 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.