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 FeatureSetAbstractBlock.requiredFeaturesThe set ofFeatureFlagsthat are required for this block to work correctly.(package private) FeatureSetAbstractBlock.Settings.requiredFeaturesMethods 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 voidCreativeInventoryScreen.updateDisplayParameters(FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup lookup) Constructors in net.minecraft.client.gui.screen.ingame with parameters of type FeatureSetModifierConstructorDescriptionCreativeInventoryScreen(PlayerEntity 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 FeatureSetClientConfigurationNetworkHandler.enabledFeaturesprivate final FeatureSetClientConnectionState.enabledFeaturesThe field for theenabledFeaturesrecord component.private final FeatureSetClientPlayNetworkHandler.enabledFeaturesMethods in net.minecraft.client.network that return FeatureSetModifier and TypeMethodDescriptionClientConnectionState.enabledFeatures()Returns the value of theenabledFeaturesrecord component.ClientCommandSource.getEnabledFeatures()ClientPlayNetworkHandler.getEnabledFeatures()Methods in net.minecraft.client.network with parameters of type FeatureSetModifier and TypeMethodDescriptionbooleanClientPlayNetworkHandler.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, boolean bool) -
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 FeatureSetMethods in net.minecraft.command with parameters of type FeatureSetModifier and TypeMethodDescriptionstatic CommandRegistryAccessCommandRegistryAccess.of(RegistryWrapper.WrapperLookup wrapperLookup, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.data
Methods in net.minecraft.data with parameters of type FeatureSetModifier and TypeMethodDescriptionstatic MetadataProviderMetadataProvider.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 FeatureSetEntityLootTableGenerator.featureSetprotected final FeatureSetBlockLootTableGenerator.requiredFeaturesprivate final FeatureSetEntityLootTableGenerator.requiredFeaturesConstructors in net.minecraft.data.server.loottable with parameters of type FeatureSetModifierConstructorDescriptionprotectedBlockLootTableGenerator(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures) protectedBlockLootTableGenerator(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures, Map<RegistryKey<LootTable>, LootTable.Builder> lootTables) protectedEntityLootTableGenerator(FeatureSet requiredFeatures) protectedEntityLootTableGenerator(FeatureSet requiredFeatures, FeatureSet featureSet) -
Uses of FeatureSet in net.minecraft.data.server.recipe
Methods in net.minecraft.data.server.recipe with parameters of type FeatureSetModifier and TypeMethodDescriptionprotected static voidRecipeProvider.generateFamilies(RecipeExporter exporter, FeatureSet enabledFeatures) protected static voidRecipeProvider.generateFamily(RecipeExporter exporter, BlockFamily family, FeatureSet enabledFeatures) protected static voidRecipeProvider.offerWaxingRecipes(RecipeExporter exporter, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.data.server.tag
Fields in net.minecraft.data.server.tag declared as FeatureSetConstructors in net.minecraft.data.server.tag with parameters of type FeatureSetModifierConstructorDescriptionEnchantmentTagProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.enchantment
Fields in net.minecraft.enchantment declared as FeatureSetModifier and TypeFieldDescriptionprivate final FeatureSetEnchantment.Properties.requiredFeaturesThe field for therequiredFeaturesrecord component.Methods in net.minecraft.enchantment that return FeatureSetModifier and TypeMethodDescriptionEnchantment.getRequiredFeatures()Enchantment.Properties.requiredFeatures()Returns the value of therequiredFeaturesrecord component.Methods in net.minecraft.enchantment with parameters of type FeatureSetModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.enchant(FeatureSet enabledFeatures, Random random, ItemStack stack, int level, boolean treasureAllowed) Enchants thetargetitem stack and returns it.static List<EnchantmentLevelEntry> EnchantmentHelper.generateEnchantments(FeatureSet enabledFeatures, Random random, ItemStack stack, int level, boolean treasureAllowed) Generate the enchantments for enchanting thestack.static List<EnchantmentLevelEntry> EnchantmentHelper.getPossibleEntries(FeatureSet enabledFeatures, int level, ItemStack stack, boolean treasureAllowed) Gets all the possible entries for enchanting thestackat the givenpower.static Enchantment.PropertiesEnchantment.properties(TagKey<Item> supportedItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, FeatureSet requiredFeatures, EquipmentSlot[] slots) Constructors in net.minecraft.enchantment with parameters of type FeatureSetModifierConstructorDescriptionProperties(TagKey<Item> tagKey, Optional<TagKey<Item>> optional, int int2, int int3, Enchantment.Cost cost, Enchantment.Cost cost2, int int4, FeatureSet featureSet, EquipmentSlot[] equipmentSlot) -
Uses of FeatureSet in net.minecraft.entity
Fields in net.minecraft.entity declared as FeatureSetModifier and TypeFieldDescriptionprivate FeatureSetEntityType.Builder.requiredFeaturesprivate final FeatureSetEntityType.requiredFeaturesMethods 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, 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 FeatureSetItemGroup.DisplayContext.enabledFeaturesThe field for theenabledFeaturesrecord component.private final FeatureSetItemGroup.EntriesImpl.enabledFeaturesprivate final FeatureSetItem.requiredFeatures(package private) FeatureSetItem.Settings.requiredFeaturesMethods in net.minecraft.item that return FeatureSetModifier and TypeMethodDescriptionItemGroup.DisplayContext.enabledFeatures()Returns the value of theenabledFeaturesrecord component.BlockItem.getRequiredFeatures()Item.getRequiredFeatures()SpawnEggItem.getRequiredFeatures()Methods in net.minecraft.item with parameters of type FeatureSetModifier and TypeMethodDescriptionprivate static voidItemGroups.addAllLevelEnchantedBooks(ItemGroup.Entries entries, RegistryWrapper<Enchantment> registryWrapper, Set<TagKey<Item>> tags, ItemGroup.StackVisibility visibility, FeatureSet enabledFeatures) private static voidItemGroups.addMaxLevelEnchantedBooks(ItemGroup.Entries entries, RegistryWrapper<Enchantment> registryWrapper, Set<TagKey<Item>> tags, ItemGroup.StackVisibility visibility, FeatureSet enabledFeatures) private static voidItemGroups.addPotions(ItemGroup.Entries entries, RegistryWrapper<Potion> registryWrapper, Item item, ItemGroup.StackVisibility visibility, FeatureSet enabledFeatures) booleanItemGroup.DisplayContext.doesNotMatch(FeatureSet enabledFeatures, boolean hasPermissions, RegistryWrapper.WrapperLookup lookup) booleanItemStack.isItemEnabled(FeatureSet enabledFeatures) static booleanItemGroups.updateDisplayContext(FeatureSet enabledFeatures, boolean operatorEnabled, RegistryWrapper.WrapperLookup lookup) Constructors in net.minecraft.item with parameters of type FeatureSetModifierConstructorDescriptionDisplayContext(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 FeatureSetBrewingRecipeRegistry.Builder.enabledFeaturesMethods in net.minecraft.recipe with parameters of type FeatureSetModifier and TypeMethodDescriptionstatic BrewingRecipeRegistryBrewingRecipeRegistry.create(FeatureSet enabledFeatures) Constructors in net.minecraft.recipe with parameters of type FeatureSet -
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 FeatureSetDataConfiguration.enabledFeaturesThe field for theenabledFeaturesrecord component.private final FeatureSetResourcePackProfile.Metadata.requestedFeaturesThe field for therequestedFeaturesrecord component.Methods in net.minecraft.resource that return FeatureSetModifier and TypeMethodDescriptionDataConfiguration.enabledFeatures()Returns the value of theenabledFeaturesrecord component.ResourcePackManager.getRequestedFeatures()ResourcePackProfile.getRequestedFeatures()ResourcePackProfile.Metadata.requestedFeatures()Returns the value of therequestedFeaturesrecord 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 FeatureSetFeatureFlags.DEFAULT_ENABLED_FEATURESprivate static final FeatureSetFeatureSet.EMPTYprivate final FeatureSetFeatureManager.featureSetstatic final FeatureSetFeatureFlags.VANILLA_FEATURESFields in net.minecraft.resource.featuretoggle with type parameters of type FeatureSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FeatureSet> FeatureFlags.CODECMethods in net.minecraft.resource.featuretoggle that return FeatureSetModifier and TypeMethodDescriptionFeatureSet.combine(FeatureSet features) static FeatureSetFeatureSet.empty()FeatureManager.featureSetOf(Iterable<Identifier> features) FeatureManager.featureSetOf(Iterable<Identifier> features, Consumer<Identifier> unknownFlagConsumer) FeatureManager.featureSetOf(FeatureFlag[] features) FeatureManager.getFeatureSet()ToggleableFeature.getRequiredFeatures()static FeatureSetFeatureSet.of(FeatureFlag feature) static FeatureSetFeatureSet.of(FeatureFlag feature1, FeatureFlag[] features) (package private) static FeatureSetFeatureSet.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) booleanFeatureManager.contains(FeatureSet features) booleanFeatureSet.intersects(FeatureSet features) default booleanToggleableFeature.isEnabled(FeatureSet enabledFeatures) static booleanFeatureFlags.isNotVanilla(FeatureSet features) booleanFeatureSet.isSubsetOf(FeatureSet features) static StringFeatureFlags.printMissingFlags(FeatureManager featureManager, FeatureSet featuresToCheck, FeatureSet features) static StringFeatureFlags.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 FeatureSetPackFeatureSetMetadata.flagsThe field for theflagsrecord component.Methods in net.minecraft.resource.metadata that return FeatureSetModifier and TypeMethodDescriptionPackFeatureSetMetadata.flags()Returns the value of theflagsrecord 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 FeatureSetMethods in net.minecraft.screen with parameters of type FeatureSetModifier and TypeMethodDescriptionprivate List<EnchantmentLevelEntry> EnchantmentScreenHandler.generateEnchantments(FeatureSet enabledFeatures, ItemStack stack, int slot, int level) Constructors in net.minecraft.screen with parameters of type FeatureSetModifierConstructorDescriptionprivateScreenHandlerType(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 voidMinecraftServer.forceEnableRequestedFeatures(ResourcePackManager resourcePackManager, FeatureSet enabledFeatures) private static DataConfigurationMinecraftServer.loadDataPacks(ResourcePackManager resourcePackManager, Collection<String> enabledProfiles, FeatureSet enabledFeatures, boolean allowEnabling) static CompletableFuture<DataPackContents> DataPackContents.reload(ResourceManager manager, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, 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 FeatureSetModifierConstructorDescriptionprivateDataPackContents(DynamicRegistryManager.Immutable dynamicRegistryManager, FeatureSet enabledFeatures, CommandManager.RegistrationEnvironment environment, 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.village
Methods in net.minecraft.village with parameters of type FeatureSetModifier and TypeMethodDescriptionprivate EnchantmentTradeOffers.EnchantBookFactory.chooseEnchantment(Random random, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.world
Methods in net.minecraft.world that return FeatureSetModifier and TypeMethodDescriptionChunkRegion.getEnabledFeatures()default FeatureSetSaveProperties.getEnabledFeatures()WorldView.getEnabledFeatures() -
Uses of FeatureSet in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return FeatureSetModifier and TypeMethodDescriptionprivate static FeatureSetLevelStorage.parseEnabledFeatures(com.mojang.serialization.Dynamic<?> levelData)