Uses of Class
net.minecraft.world.flag.FeatureFlagSet
Package
Description
-
Uses of FeatureFlagSet in net.minecraft.client.gui.screens
-
Uses of FeatureFlagSet in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionprivate void
CreativeModeInventoryScreen.tryRefreshInvalidatedTabs
(FeatureFlagSet p_259501_, boolean p_259713_, HolderLookup.Provider p_270898_) ModifierConstructorDescriptionCreativeModeInventoryScreen
(Player p_259788_, FeatureFlagSet p_260074_, boolean p_259569_) -
Uses of FeatureFlagSet in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate FeatureFlagSet
ClientConfigurationPacketListenerImpl.enabledFeatures
private final FeatureFlagSet
ClientPacketListener.enabledFeatures
private final FeatureFlagSet
CommonListenerCookie.enabledFeatures
The field for theenabledFeatures
record component.Modifier and TypeMethodDescriptionClientLevel.enabledFeatures()
ClientPacketListener.enabledFeatures()
ClientSuggestionProvider.enabledFeatures()
CommonListenerCookie.enabledFeatures()
Returns the value of theenabledFeatures
record component.Modifier and TypeMethodDescriptionboolean
ClientPacketListener.isFeatureEnabled
(FeatureFlagSet p_250605_) ModifierConstructorDescriptionCommonListenerCookie
(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) 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, ConnectionType connectionType) Creates an instance of aCommonListenerCookie
record class. -
Uses of FeatureFlagSet in net.minecraft.commands
Modifier and TypeMethodDescriptionCommandSourceStack.enabledFeatures()
SharedSuggestionProvider.enabledFeatures()
Modifier and TypeMethodDescriptionstatic CommandBuildContext
CommandBuildContext.simple
(HolderLookup.Provider p_255702_, FeatureFlagSet p_255968_) -
Uses of FeatureFlagSet in net.minecraft.core
Modifier and TypeMethodDescriptiondefault HolderLookup.RegistryLookup
<T> HolderLookup.RegistryLookup.filterFeatures
(FeatureFlagSet p_249397_) -
Uses of FeatureFlagSet in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
EntityLootSubProvider.allowed
protected final FeatureFlagSet
BlockLootSubProvider.enabledFeatures
private final FeatureFlagSet
EntityLootSubProvider.required
ModifierConstructorDescriptionprotected
BlockLootSubProvider
(Set<Item> p_249153_, FeatureFlagSet p_251215_) protected
BlockLootSubProvider
(Set<Item> p_281507_, FeatureFlagSet p_283552_, Map<ResourceKey<LootTable>, LootTable.Builder> p_282212_) protected
EntityLootSubProvider
(FeatureFlagSet p_251971_) protected
EntityLootSubProvider
(FeatureFlagSet p_266989_, FeatureFlagSet p_267138_) -
Uses of FeatureFlagSet in net.minecraft.data.metadata
Modifier and TypeMethodDescriptionstatic PackMetadataGenerator
PackMetadataGenerator.forFeaturePack
(PackOutput p_253903_, Component p_254497_, FeatureFlagSet p_253848_) -
Uses of FeatureFlagSet in net.minecraft.data.recipes
Modifier and TypeMethodDescriptionprotected void
RecipeProvider.generateForEnabledBlockFamilies
(RecipeOutput p_301146_, FeatureFlagSet p_251836_) protected static void
RecipeProvider.generateRecipes
(RecipeOutput p_301014_, BlockFamily p_176582_, FeatureFlagSet p_313799_) protected static void
RecipeProvider.waxRecipes
(RecipeOutput p_301254_, FeatureFlagSet p_313879_) -
Uses of FeatureFlagSet in net.minecraft.data.tags
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
EnchantmentTagsProvider.enabledFeatures
ModifierConstructorDescriptionEnchantmentTagsProvider
(PackOutput p_341044_, CompletableFuture<HolderLookup.Provider> p_341146_, FeatureFlagSet p_340837_) -
Uses of FeatureFlagSet in net.minecraft.server
Modifier and TypeMethodDescriptionprivate static WorldDataConfiguration
MinecraftServer.configureRepositoryWithSelection
(PackRepository p_341680_, Collection<String> p_341677_, FeatureFlagSet p_341602_, boolean p_341662_) private static void
MinecraftServer.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_) ModifierConstructorDescriptionprivate
ReloadableServerResources
(RegistryAccess.Frozen p_206857_, FeatureFlagSet p_250695_, Commands.CommandSelection p_206858_, int p_206859_) -
Uses of FeatureFlagSet in net.minecraft.server.level
-
Uses of FeatureFlagSet in net.minecraft.server.packs
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
FeatureFlagsMetadataSection.flags
The field for theflags
record component.Modifier and TypeMethodDescriptionFeatureFlagsMetadataSection.flags()
Returns the value of theflags
record component.ModifierConstructorDescriptionCreates an instance of aFeatureFlagsMetadataSection
record class. -
Uses of FeatureFlagSet in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
Pack.Metadata.requestedFeatures
The field for therequestedFeatures
record component.Modifier and TypeMethodDescriptionPackRepository.getRequestedFeatureFlags()
Pack.getRequestedFeatures()
Pack.Metadata.requestedFeatures()
Returns the value of therequestedFeatures
record component.ModifierConstructorDescriptionMetadata
(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
-
Uses of FeatureFlagSet in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate FeatureFlagSet
EntityType.Builder.requiredFeatures
private final FeatureFlagSet
EntityType.requiredFeatures
ModifierConstructorDescriptionEntityType
(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.entity.npc
Modifier and TypeMethodDescriptionprivate Enchantment
VillagerTrades.EnchantBookForEmeralds.getEnchantment
(RandomSource p_342021_, FeatureFlagSet p_342019_) -
Uses of FeatureFlagSet in net.minecraft.world.flag
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
FeatureFlagRegistry.allFlags
static final FeatureFlagSet
FeatureFlags.DEFAULT_FLAGS
private static final FeatureFlagSet
FeatureFlagSet.EMPTY
static final FeatureFlagSet
FeatureFlags.VANILLA_SET
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FeatureFlagSet> FeatureFlags.CODEC
Modifier and TypeMethodDescriptionFeatureFlagRegistry.allFlags()
(package private) static FeatureFlagSet
FeatureFlagSet.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 FeatureFlagSet
FeatureFlagSet.of()
static FeatureFlagSet
FeatureFlagSet.of
(FeatureFlag p_252331_) static FeatureFlagSet
FeatureFlagSet.of
(FeatureFlag p_251008_, FeatureFlag... p_249805_) FeatureElement.requiredFeatures()
FeatureFlagRegistry.subset
(FeatureFlag... p_252295_) FeatureFlagSet.subtract
(FeatureFlagSet p_341688_) Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<FeatureFlagSet> FeatureFlagRegistry.codec()
Modifier and TypeMethodDescriptionboolean
FeatureFlagSet.intersects
(FeatureFlagSet p_341635_) default boolean
FeatureElement.isEnabled
(FeatureFlagSet p_249172_) static boolean
FeatureFlags.isExperimental
(FeatureFlagSet p_249170_) boolean
FeatureFlagRegistry.isSubset
(FeatureFlagSet p_251939_) boolean
FeatureFlagSet.isSubsetOf
(FeatureFlagSet p_249164_) FeatureFlagSet.join
(FeatureFlagSet p_251527_) static String
FeatureFlags.printMissingFlags
(FeatureFlagRegistry p_249213_, FeatureFlagSet p_250429_, FeatureFlagSet p_250547_) static String
FeatureFlags.printMissingFlags
(FeatureFlagSet p_250581_, FeatureFlagSet p_250326_) FeatureFlagSet.subtract
(FeatureFlagSet p_341688_) FeatureFlagRegistry.toNames
(FeatureFlagSet p_251153_) ModifierConstructorDescription(package private)
FeatureFlagRegistry
(FeatureFlagUniverse p_249715_, FeatureFlagSet p_249277_, Map<ResourceLocation, FeatureFlag> p_249557_) -
Uses of FeatureFlagSet in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionprivate List
<EnchantmentInstance> EnchantmentMenu.getEnchantmentList
(FeatureFlagSet p_338690_, ItemStack p_39472_, int p_39473_, int p_39474_) ModifierConstructorDescriptionMenuType
(MenuType.MenuSupplier<T> p_267054_, FeatureFlagSet p_266909_) -
Uses of FeatureFlagSet in net.minecraft.world.item
Modifier 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
Modifier and TypeMethodDescriptionCreativeModeTab.ItemDisplayParameters.enabledFeatures()
Returns the value of theenabledFeatures
record component.BlockItem.requiredFeatures()
Item.requiredFeatures()
SpawnEggItem.requiredFeatures()
Modifier and TypeMethodDescriptionprivate static void
CreativeModeTabs.generateEnchantmentBookTypesAllLevels
(CreativeModeTab.Output p_270961_, HolderLookup<Enchantment> p_270628_, Set<TagKey<Item>> p_271024_, CreativeModeTab.TabVisibility p_270805_, FeatureFlagSet p_338625_) private static void
CreativeModeTabs.generateEnchantmentBookTypesOnlyMaxLevel
(CreativeModeTab.Output p_270868_, HolderLookup<Enchantment> p_270903_, Set<TagKey<Item>> p_270380_, CreativeModeTab.TabVisibility p_270407_, FeatureFlagSet p_338678_) private static void
CreativeModeTabs.generatePotionEffectTypes
(CreativeModeTab.Output p_270129_, HolderLookup<Potion> p_270334_, Item p_270968_, CreativeModeTab.TabVisibility p_270778_, FeatureFlagSet p_338372_) boolean
ItemStack.isItemEnabled
(FeatureFlagSet p_250869_) boolean
CreativeModeTab.ItemDisplayParameters.needsUpdate
(FeatureFlagSet p_270338_, boolean p_270835_, HolderLookup.Provider p_270575_) static boolean
CreativeModeTabs.tryRebuildTabContents
(FeatureFlagSet p_270988_, boolean p_270090_, HolderLookup.Provider p_270799_) ModifierConstructorDescriptionItemDisplayBuilder
(CreativeModeTab p_251040_, FeatureFlagSet p_249331_) ItemDisplayParameters
(FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider holders) Creates an instance of aItemDisplayParameters
record class. -
Uses of FeatureFlagSet in net.minecraft.world.item.alchemy
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
PotionBrewing.Builder.enabledFeatures
private FeatureFlagSet
Potion.requiredFeatures
Modifier and TypeMethodDescriptionstatic PotionBrewing
PotionBrewing.bootstrap
(FeatureFlagSet p_341301_) -
Uses of FeatureFlagSet in net.minecraft.world.item.enchantment
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
Enchantment.EnchantmentDefinition.requiredFeatures
The field for therequiredFeatures
record component.Modifier and TypeMethodDescriptionEnchantment.EnchantmentDefinition.requiredFeatures()
Returns the value of therequiredFeatures
record component.Enchantment.requiredFeatures()
Modifier and TypeMethodDescriptionEnchantment.definition
(TagKey<Item> p_338699_, int p_338488_, int p_338497_, Enchantment.Cost p_338563_, Enchantment.Cost p_338689_, int p_338253_, FeatureFlagSet p_338531_, EquipmentSlot... p_338705_) static ItemStack
EnchantmentHelper.enchantItem
(FeatureFlagSet p_338479_, RandomSource p_220293_, ItemStack p_220294_, int p_220295_, boolean p_220296_) static List
<EnchantmentInstance> EnchantmentHelper.getAvailableEnchantmentResults
(FeatureFlagSet p_338712_, int p_44818_, ItemStack p_44819_, boolean p_44820_) static List
<EnchantmentInstance> EnchantmentHelper.selectEnchantment
(FeatureFlagSet p_338533_, RandomSource p_220298_, ItemStack p_220299_, int p_220300_, boolean p_220301_) ModifierConstructorDescriptionEnchantmentDefinition
(TagKey<Item> supportedItems, Optional<TagKey<Item>> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, FeatureFlagSet requiredFeatures, EquipmentSlot[] slots) Creates an instance of aEnchantmentDefinition
record class. -
Uses of FeatureFlagSet in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
WorldDataConfiguration.enabledFeatures
The field for theenabledFeatures
record component.Modifier and TypeMethodDescriptionLevelReader.enabledFeatures()
WorldDataConfiguration.enabledFeatures()
Returns the value of theenabledFeatures
record component.Modifier and TypeMethodDescriptionWorldDataConfiguration.expandFeatures
(FeatureFlagSet p_249090_) ModifierConstructorDescriptionWorldDataConfiguration
(DataPackConfig dataPacks, FeatureFlagSet enabledFeatures) Creates an instance of aWorldDataConfiguration
record class. -
Uses of FeatureFlagSet in net.minecraft.world.level.block.state
Modifier and TypeFieldDescription(package private) FeatureFlagSet
BlockBehaviour.Properties.requiredFeatures
protected final FeatureFlagSet
BlockBehaviour.requiredFeatures
-
Uses of FeatureFlagSet in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptiondefault FeatureFlagSet
WorldData.enabledFeatures()
private static FeatureFlagSet
LevelStorageSource.parseFeatureFlagsFromSummary
(com.mojang.serialization.Dynamic<?> p_249466_) -
Uses of FeatureFlagSet in net.neoforged.neoforge.event
CommonListenerCookie(GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, Map, ChatComponent.State, boolean, net.neoforged.neoforge.network.connection.ConnectionType)
instead,to indicate whether the connection is modded.