Uses of Class
net.minecraft.resource.featuretoggle.FeatureSet
Packages that use FeatureSet
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of FeatureSet in net.minecraft.block
Fields in net.minecraft.block declared as FeatureSetModifier and TypeFieldDescriptionprotected final FeatureSet
AbstractBlock.requiredFeatures
The set ofFeatureFlags
that are required for this block to work correctly.(package private) FeatureSet
AbstractBlock.Settings.requiredFeatures
Methods in net.minecraft.block that return FeatureSet -
Uses of FeatureSet in net.minecraft.client.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame with parameters of type FeatureSetModifier and TypeMethodDescriptionprivate boolean
CreativeInventoryScreen.populateDisplay
(@Nullable SearchManager searchManager, FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registries) private void
CreativeInventoryScreen.updateDisplayParameters
(FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registries) Constructors in net.minecraft.client.gui.screen.ingame with parameters of type FeatureSetModifierConstructorDescriptionCreativeInventoryScreen
(ClientPlayerEntity player, FeatureSet enabledFeatures, boolean operatorTabEnabled) -
Uses of FeatureSet in net.minecraft.client.gui.screen.world
Constructors in net.minecraft.client.gui.screen.world with parameters of type FeatureSetModifierConstructorDescriptionSuperflatPresetsListWidget
(DynamicRegistryManager dynamicRegistryManager, FeatureSet featureSet) -
Uses of FeatureSet in net.minecraft.client.network
Fields in net.minecraft.client.network declared as FeatureSetModifier and TypeFieldDescriptionprivate FeatureSet
ClientConfigurationNetworkHandler.enabledFeatures
private final FeatureSet
ClientConnectionState.enabledFeatures
The field for theenabledFeatures
record component.private final FeatureSet
ClientPlayNetworkHandler.enabledFeatures
Methods in net.minecraft.client.network that return FeatureSetModifier and TypeMethodDescriptionClientConnectionState.enabledFeatures()
Returns the value of theenabledFeatures
record component.ClientCommandSource.getEnabledFeatures()
ClientPlayNetworkHandler.getEnabledFeatures()
Methods in net.minecraft.client.network with parameters of type FeatureSetModifier and TypeMethodDescriptionboolean
ClientPlayNetworkHandler.hasFeature
(FeatureSet feature) Constructors in net.minecraft.client.network with parameters of type FeatureSetModifierConstructorDescriptionClientConnectionState
(com.mojang.authlib.GameProfile gameProfile, WorldSession worldSession, DynamicRegistryManager.Immutable immutable, FeatureSet featureSet, @Nullable String string, @Nullable ServerInfo serverInfo, @Nullable Screen screen, Map<Identifier, byte[]> map, ChatHud.ChatState chatState, Map<String, String> map2, ServerLinks serverLinks) -
Uses of FeatureSet in net.minecraft.client.world
Methods in net.minecraft.client.world that return FeatureSet -
Uses of FeatureSet in net.minecraft.command
Methods in net.minecraft.command that return FeatureSetModifier and TypeMethodDescriptionCommandRegistryAccess.getEnabledFeatures()
CommandSource.getEnabledFeatures()
Methods in net.minecraft.command with parameters of type FeatureSetModifier and TypeMethodDescriptionEntitySelector.getPositionPredicate
(Vec3d pos, @Nullable Box box, @Nullable FeatureSet enabledFeatures) static CommandRegistryAccess
CommandRegistryAccess.of
(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.data
Methods in net.minecraft.data with parameters of type FeatureSetModifier and TypeMethodDescriptionstatic MetadataProvider
MetadataProvider.create
(DataOutput output, Text description, FeatureSet requiredFeatures) -
Uses of FeatureSet in net.minecraft.data.server.loottable
Fields in net.minecraft.data.server.loottable declared as FeatureSetModifier and TypeFieldDescriptionprivate final FeatureSet
EntityLootTableGenerator.featureSet
protected final FeatureSet
BlockLootTableGenerator.requiredFeatures
private final FeatureSet
EntityLootTableGenerator.requiredFeatures
Constructors in net.minecraft.data.server.loottable with parameters of type FeatureSetModifierConstructorDescriptionprotected
BlockLootTableGenerator
(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures, Map<RegistryKey<LootTable>, LootTable.Builder> lootTables, RegistryWrapper.WrapperLookup registries) protected
BlockLootTableGenerator
(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures, RegistryWrapper.WrapperLookup registries) protected
EntityLootTableGenerator
(FeatureSet requiredFeatures, RegistryWrapper.WrapperLookup registries) protected
EntityLootTableGenerator
(FeatureSet requiredFeatures, FeatureSet featureSet, RegistryWrapper.WrapperLookup registries) -
Uses of FeatureSet in net.minecraft.data.server.recipe
Methods in net.minecraft.data.server.recipe with parameters of type FeatureSetModifier and TypeMethodDescriptionprotected void
RecipeGenerator.generateFamilies
(FeatureSet enabledFeatures) protected void
RecipeGenerator.generateFamily
(BlockFamily family, FeatureSet enabledFeatures) protected void
RecipeGenerator.offerWaxingRecipes
(FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.entity
Fields in net.minecraft.entity declared as FeatureSetModifier and TypeFieldDescriptionprivate FeatureSet
EntityType.Builder.requiredFeatures
private final FeatureSet
EntityType.requiredFeatures
Methods in net.minecraft.entity that return FeatureSetConstructors in net.minecraft.entity with parameters of type FeatureSetModifierConstructorDescriptionEntityType
(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, ImmutableSet<Block> canSpawnInside, EntityDimensions dimensions, float spawnBoxScale, int maxTrackDistance, int trackTickInterval, String translationKey, Optional<RegistryKey<LootTable>> lootTable, FeatureSet requiredFeatures) -
Uses of FeatureSet in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect declared as FeatureSetMethods in net.minecraft.entity.effect that return FeatureSet -
Uses of FeatureSet in net.minecraft.item
Fields in net.minecraft.item declared as FeatureSetModifier and TypeFieldDescriptionprivate final FeatureSet
FuelRegistry.Builder.enabledFeatures
private final FeatureSet
ItemGroup.DisplayContext.enabledFeatures
The field for theenabledFeatures
record component.private final FeatureSet
ItemGroup.EntriesImpl.enabledFeatures
private final FeatureSet
Item.requiredFeatures
(package private) FeatureSet
Item.Settings.requiredFeatures
Methods in net.minecraft.item that return FeatureSetModifier and TypeMethodDescriptionItemGroup.DisplayContext.enabledFeatures()
Returns the value of theenabledFeatures
record component.BlockItem.getRequiredFeatures()
Item.getRequiredFeatures()
SpawnEggItem.getRequiredFeatures()
Methods in net.minecraft.item with parameters of type FeatureSetModifier and TypeMethodDescriptionprivate static void
ItemGroups.addPotions
(ItemGroup.Entries entries, RegistryWrapper<Potion> registryWrapper, Item item, ItemGroup.StackVisibility visibility, FeatureSet enabledFeatures) static FuelRegistry
FuelRegistry.createDefault
(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures) static FuelRegistry
FuelRegistry.createDefault
(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures, int itemSmeltTime) boolean
ItemGroup.DisplayContext.doesNotMatch
(FeatureSet enabledFeatures, boolean hasPermissions, RegistryWrapper.WrapperLookup registries) boolean
ItemStack.isItemEnabled
(FeatureSet enabledFeatures) static boolean
ItemGroups.updateDisplayContext
(FeatureSet enabledFeatures, boolean operatorEnabled, RegistryWrapper.WrapperLookup registries) Constructors in net.minecraft.item with parameters of type FeatureSetModifierConstructorDescriptionBuilder
(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures) DisplayContext
(FeatureSet featureSet, boolean bool, RegistryWrapper.WrapperLookup wrapperLookup) EntriesImpl
(ItemGroup group, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.potion
Fields in net.minecraft.potion declared as FeatureSetMethods in net.minecraft.potion that return FeatureSet -
Uses of FeatureSet in net.minecraft.recipe
Fields in net.minecraft.recipe declared as FeatureSetModifier and TypeFieldDescriptionprivate final FeatureSet
BrewingRecipeRegistry.Builder.enabledFeatures
Methods in net.minecraft.recipe with parameters of type FeatureSetModifier and TypeMethodDescriptionServerRecipeManager.PropertySetBuilder.build
(FeatureSet enabledFeatures) private static List
<ServerRecipeManager.ServerRecipe> ServerRecipeManager.collectServerRecipes
(Iterable<RecipeEntry<?>> recipes, FeatureSet enabledFeatures) Filters recipes byenabledFeatures
and assigns an integer ID to each recipe and recipe group.static BrewingRecipeRegistry
BrewingRecipeRegistry.create
(FeatureSet enabledFeatures) (package private) static List
<Ingredient> ServerRecipeManager.filterIngredients
(FeatureSet features, List<Ingredient> ingredients) void
ServerRecipeManager.initialize
(FeatureSet features) private static boolean
ServerRecipeManager.isEnabled
(FeatureSet features, Ingredient ingredient) Constructors in net.minecraft.recipe with parameters of type FeatureSet -
Uses of FeatureSet in net.minecraft.recipe.display
Methods in net.minecraft.recipe.display with parameters of type FeatureSetModifier and TypeMethodDescriptionboolean
FurnaceRecipeDisplay.isEnabled
(FeatureSet features) default boolean
RecipeDisplay.isEnabled
(FeatureSet features) boolean
ShapedCraftingRecipeDisplay.isEnabled
(FeatureSet features) boolean
ShapelessCraftingRecipeDisplay.isEnabled
(FeatureSet features) boolean
SlotDisplay.CompositeSlotDisplay.isEnabled
(FeatureSet features) default boolean
SlotDisplay.isEnabled
(FeatureSet features) boolean
SlotDisplay.ItemSlotDisplay.isEnabled
(FeatureSet features) boolean
SlotDisplay.StackSlotDisplay.isEnabled
(FeatureSet features) boolean
SlotDisplay.WithRemainderSlotDisplay.isEnabled
(FeatureSet features) -
Uses of FeatureSet in net.minecraft.registry
Methods in net.minecraft.registry with parameters of type FeatureSetModifier and TypeMethodDescriptiondefault RegistryWrapper.Impl
<T> RegistryWrapper.Impl.withFeatureFilter
(FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.resource
Fields in net.minecraft.resource declared as FeatureSetModifier and TypeFieldDescriptionprivate final FeatureSet
DataConfiguration.enabledFeatures
The field for theenabledFeatures
record component.private final FeatureSet
ResourcePackProfile.Metadata.requestedFeatures
The field for therequestedFeatures
record component.Methods in net.minecraft.resource that return FeatureSetModifier and TypeMethodDescriptionDataConfiguration.enabledFeatures()
Returns the value of theenabledFeatures
record component.ResourcePackManager.getRequestedFeatures()
ResourcePackProfile.getRequestedFeatures()
ResourcePackProfile.Metadata.requestedFeatures()
Returns the value of therequestedFeatures
record component.Methods in net.minecraft.resource with parameters of type FeatureSetConstructors in net.minecraft.resource with parameters of type FeatureSetModifierConstructorDescriptionDataConfiguration
(DataPackSettings dataPackSettings, FeatureSet featureSet) Metadata
(Text text, ResourcePackCompatibility resourcePackCompatibility, FeatureSet featureSet, List<String> list) -
Uses of FeatureSet in net.minecraft.resource.featuretoggle
Fields in net.minecraft.resource.featuretoggle declared as FeatureSetModifier and TypeFieldDescriptionstatic final FeatureSet
FeatureFlags.DEFAULT_ENABLED_FEATURES
private static final FeatureSet
FeatureSet.EMPTY
private final FeatureSet
FeatureManager.featureSet
static final FeatureSet
FeatureFlags.VANILLA_FEATURES
Fields in net.minecraft.resource.featuretoggle with type parameters of type FeatureSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FeatureSet> FeatureFlags.CODEC
Methods in net.minecraft.resource.featuretoggle that return FeatureSetModifier and TypeMethodDescriptionFeatureSet.combine
(FeatureSet features) static FeatureSet
FeatureSet.empty()
FeatureManager.featureSetOf
(Iterable<Identifier> features) FeatureManager.featureSetOf
(Iterable<Identifier> features, Consumer<Identifier> unknownFlagConsumer) FeatureManager.featureSetOf
(FeatureFlag[] features) FeatureManager.getFeatureSet()
ToggleableFeature.getRequiredFeatures()
static FeatureSet
FeatureSet.of
(FeatureFlag feature) static FeatureSet
FeatureSet.of
(FeatureFlag feature1, FeatureFlag[] features) (package private) static FeatureSet
FeatureSet.of
(FeatureUniverse universe, Collection<FeatureFlag> features) FeatureSet.subtract
(FeatureSet features) Methods in net.minecraft.resource.featuretoggle that return types with arguments of type FeatureSetModifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<FeatureSet> FeatureManager.getCodec()
Methods in net.minecraft.resource.featuretoggle with parameters of type FeatureSetModifier and TypeMethodDescriptionFeatureSet.combine
(FeatureSet features) boolean
FeatureManager.contains
(FeatureSet features) boolean
FeatureSet.intersects
(FeatureSet features) default boolean
ToggleableFeature.isEnabled
(FeatureSet enabledFeatures) static boolean
FeatureFlags.isNotVanilla
(FeatureSet features) boolean
FeatureSet.isSubsetOf
(FeatureSet features) static String
FeatureFlags.printMissingFlags
(FeatureManager featureManager, FeatureSet featuresToCheck, FeatureSet features) static String
FeatureFlags.printMissingFlags
(FeatureSet featuresToCheck, FeatureSet features) FeatureSet.subtract
(FeatureSet features) FeatureManager.toId
(FeatureSet features) Constructors in net.minecraft.resource.featuretoggle with parameters of type FeatureSetModifierConstructorDescription(package private)
FeatureManager
(FeatureUniverse universe, FeatureSet featureSet, Map<Identifier, FeatureFlag> featureFlags) -
Uses of FeatureSet in net.minecraft.resource.metadata
Fields in net.minecraft.resource.metadata declared as FeatureSetModifier and TypeFieldDescriptionprivate final FeatureSet
PackFeatureSetMetadata.flags
The field for theflags
record component.Methods in net.minecraft.resource.metadata that return FeatureSetModifier and TypeMethodDescriptionPackFeatureSetMetadata.flags()
Returns the value of theflags
record component.Constructors in net.minecraft.resource.metadata with parameters of type FeatureSet -
Uses of FeatureSet in net.minecraft.screen
Fields in net.minecraft.screen declared as FeatureSetMethods in net.minecraft.screen that return FeatureSetConstructors in net.minecraft.screen with parameters of type FeatureSetModifierConstructorDescriptionprivate
ScreenHandlerType
(ScreenHandlerType.Factory<T> factory, FeatureSet requiredFeatures) -
Uses of FeatureSet in net.minecraft.server
Methods in net.minecraft.server with parameters of type FeatureSetModifier and TypeMethodDescriptionprivate static void
MinecraftServer.forceEnableRequestedFeatures
(ResourcePackManager resourcePackManager, FeatureSet enabledFeatures) private static DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, Collection<String> enabledProfiles, FeatureSet enabledFeatures, boolean allowEnabling) static CompletableFuture
<DataPackContents> DataPackContents.reload
(ResourceManager resourceManager, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<Registry.PendingTagLoad<?>> pendingTagLoads, FeatureSet enabledFeatures, CommandManager.RegistrationEnvironment environment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor) Reloads the data packs contents.Constructors in net.minecraft.server with parameters of type FeatureSetModifierConstructorDescriptionprivate
DataPackContents
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures, CommandManager.RegistrationEnvironment environment, List<Registry.PendingTagLoad<?>> pendingTagLoads, int functionPermissionLevel) -
Uses of FeatureSet in net.minecraft.server.command
Methods in net.minecraft.server.command that return FeatureSet -
Uses of FeatureSet in net.minecraft.server.world
Methods in net.minecraft.server.world that return FeatureSet -
Uses of FeatureSet in net.minecraft.test
Fields in net.minecraft.test declared as FeatureSet -
Uses of FeatureSet in net.minecraft.world
Fields in net.minecraft.world declared as FeatureSetModifier and TypeFieldDescriptionprivate final FeatureSet
GameRules.enabledFeatures
(package private) final FeatureSet
GameRules.Type.requiredFeatures
Methods in net.minecraft.world that return FeatureSetModifier and TypeMethodDescriptionChunkRegion.getEnabledFeatures()
default FeatureSet
SaveProperties.getEnabledFeatures()
WorldView.getEnabledFeatures()
GameRules.Type.getRequiredFeatures()
Methods in net.minecraft.world with parameters of type FeatureSetModifier and TypeMethodDescriptionGameRules.copy
(FeatureSet enabledFeatures) (package private) static GameRules.Type
<GameRules.IntRule> GameRules.IntRule.create
(int initialValue, int min, int max, FeatureSet requiredFeatures, BiConsumer<MinecraftServer, GameRules.IntRule> changeCallback) private static Stream
<Map.Entry<GameRules.Key<?>, GameRules.Type<?>>> GameRules.streamAllRules
(FeatureSet enabledFeatures) Constructors in net.minecraft.world with parameters of type FeatureSetModifierConstructorDescriptionprivate
GameRules
(Map<GameRules.Key<?>, GameRules.Rule<?>> rules, FeatureSet enabledFeatures) GameRules
(FeatureSet enabledFeatures) GameRules
(FeatureSet enabledFeatures, com.mojang.serialization.DynamicLike<?> values) (package private)
Type
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argumentType, Function<GameRules.Type<T>, T> ruleFactory, BiConsumer<MinecraftServer, T> changeCallback, GameRules.Acceptor<T> ruleAcceptor, FeatureSet requiredFeatures) -
Uses of FeatureSet in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return FeatureSetModifier and TypeMethodDescriptionprivate static FeatureSet
LevelStorage.parseEnabledFeatures
(com.mojang.serialization.Dynamic<?> levelData)