Uses of Class
net.minecraft.resource.featuretoggle.FeatureSet
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of FeatureSet in net.minecraft.block
Modifier and TypeFieldDescriptionprotected final FeatureSet
AbstractBlock.requiredFeatures
The set ofFeatureFlags
that are required for this block to work correctly.(package private) FeatureSet
AbstractBlock.Settings.requiredFeatures
-
Uses of FeatureSet in net.minecraft.client.gui.screen.ingame
Modifier and TypeMethodDescriptionprivate boolean
CreativeInventoryScreen.populateDisplay
(@Nullable SearchManager searchManager, FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registryLookup) private void
CreativeInventoryScreen.updateDisplayParameters
(FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registryLookup) ModifierConstructorDescriptionCreativeInventoryScreen
(ClientPlayerEntity player, FeatureSet enabledFeatures, boolean operatorTabEnabled) -
Uses of FeatureSet in net.minecraft.client.gui.screen.world
ModifierConstructorDescriptionSuperflatPresetsListWidget
(DynamicRegistryManager dynamicRegistryManager, FeatureSet featureSet) -
Uses of FeatureSet in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate FeatureSet
ClientConfigurationNetworkHandler.enabledFeatures
private final FeatureSet
ClientConnectionState.enabledFeatures
The field for theenabledFeatures
record component.private final FeatureSet
ClientPlayNetworkHandler.enabledFeatures
Modifier and TypeMethodDescriptionClientConnectionState.enabledFeatures()
Returns the value of theenabledFeatures
record component.ClientCommandSource.getEnabledFeatures()
ClientPlayNetworkHandler.getEnabledFeatures()
Modifier and TypeMethodDescriptionboolean
ClientPlayNetworkHandler.hasFeature
(FeatureSet feature) ModifierConstructorDescriptionClientConnectionState
(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, Map<String, String> map2, class_9782 class_9782) -
Uses of FeatureSet in net.minecraft.client.world
-
Uses of FeatureSet in net.minecraft.command
Modifier and TypeMethodDescriptionstatic CommandRegistryAccess
CommandRegistryAccess.of
(RegistryWrapper.WrapperLookup wrapperLookup, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.data
Modifier and TypeMethodDescriptionstatic MetadataProvider
MetadataProvider.create
(DataOutput output, Text description, FeatureSet requiredFeatures) -
Uses of FeatureSet in net.minecraft.data.server.loottable
Modifier and TypeFieldDescriptionprivate final FeatureSet
EntityLootTableGenerator.featureSet
protected final FeatureSet
BlockLootTableGenerator.requiredFeatures
private final FeatureSet
EntityLootTableGenerator.requiredFeatures
ModifierConstructorDescriptionprotected
BlockLootTableGenerator
(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures, Map<RegistryKey<LootTable>, LootTable.Builder> lootTables, RegistryWrapper.WrapperLookup registryLookup) protected
BlockLootTableGenerator
(Set<Item> explosionImmuneItems, FeatureSet requiredFeatures, RegistryWrapper.WrapperLookup registryLookup) protected
EntityLootTableGenerator
(FeatureSet requiredFeatures, RegistryWrapper.WrapperLookup registryLookup) protected
EntityLootTableGenerator
(FeatureSet requiredFeatures, FeatureSet featureSet, RegistryWrapper.WrapperLookup registryLookup) -
Uses of FeatureSet in net.minecraft.data.server.recipe
Modifier and TypeMethodDescriptionprotected static void
RecipeProvider.generateFamilies
(RecipeExporter exporter, FeatureSet enabledFeatures) protected static void
RecipeProvider.generateFamily
(RecipeExporter exporter, BlockFamily family, FeatureSet enabledFeatures) protected static void
RecipeProvider.offerWaxingRecipes
(RecipeExporter exporter, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate FeatureSet
EntityType.Builder.requiredFeatures
private final FeatureSet
EntityType.requiredFeatures
ModifierConstructorDescriptionEntityType
(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
-
Uses of FeatureSet in net.minecraft.item
Modifier and TypeFieldDescriptionprivate 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
Modifier and TypeMethodDescriptionItemGroup.DisplayContext.enabledFeatures()
Returns the value of theenabledFeatures
record component.BlockItem.getRequiredFeatures()
Item.getRequiredFeatures()
SpawnEggItem.getRequiredFeatures()
Modifier and TypeMethodDescriptionprivate static void
ItemGroups.addPotions
(ItemGroup.Entries entries, RegistryWrapper<Potion> registryWrapper, Item item, ItemGroup.StackVisibility visibility, FeatureSet enabledFeatures) boolean
ItemGroup.DisplayContext.doesNotMatch
(FeatureSet enabledFeatures, boolean hasPermissions, RegistryWrapper.WrapperLookup lookup) boolean
ItemStack.isItemEnabled
(FeatureSet enabledFeatures) static boolean
ItemGroups.updateDisplayContext
(FeatureSet enabledFeatures, boolean operatorEnabled, RegistryWrapper.WrapperLookup lookup) ModifierConstructorDescriptionDisplayContext
(FeatureSet featureSet, boolean bool, RegistryWrapper.WrapperLookup wrapperLookup) EntriesImpl
(ItemGroup group, FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.potion
-
Uses of FeatureSet in net.minecraft.recipe
Modifier and TypeFieldDescriptionprivate final FeatureSet
BrewingRecipeRegistry.Builder.enabledFeatures
Modifier and TypeMethodDescriptionstatic BrewingRecipeRegistry
BrewingRecipeRegistry.create
(FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.registry
Modifier and TypeMethodDescriptiondefault RegistryWrapper.Impl
<T> RegistryWrapper.Impl.withFeatureFilter
(FeatureSet enabledFeatures) -
Uses of FeatureSet in net.minecraft.resource
Modifier and TypeFieldDescriptionprivate final FeatureSet
DataConfiguration.enabledFeatures
The field for theenabledFeatures
record component.private final FeatureSet
ResourcePackProfile.Metadata.requestedFeatures
The field for therequestedFeatures
record component.Modifier and TypeMethodDescriptionDataConfiguration.enabledFeatures()
Returns the value of theenabledFeatures
record component.ResourcePackManager.getRequestedFeatures()
ResourcePackProfile.getRequestedFeatures()
ResourcePackProfile.Metadata.requestedFeatures()
Returns the value of therequestedFeatures
record component.ModifierConstructorDescriptionDataConfiguration
(DataPackSettings dataPackSettings, FeatureSet featureSet) Metadata
(Text text, ResourcePackCompatibility resourcePackCompatibility, FeatureSet featureSet, List<String> list) -
Uses of FeatureSet in net.minecraft.resource.featuretoggle
Modifier 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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FeatureSet> FeatureFlags.CODEC
Modifier 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) Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<FeatureSet> FeatureManager.getCodec()
Modifier 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) ModifierConstructorDescription(package private)
FeatureManager
(FeatureUniverse universe, FeatureSet featureSet, Map<Identifier, FeatureFlag> featureFlags) -
Uses of FeatureSet in net.minecraft.resource.metadata
Modifier and TypeFieldDescriptionprivate final FeatureSet
PackFeatureSetMetadata.flags
The field for theflags
record component. -
Uses of FeatureSet in net.minecraft.screen
ModifierConstructorDescriptionprivate
ScreenHandlerType
(ScreenHandlerType.Factory<T> factory, FeatureSet requiredFeatures) -
Uses of FeatureSet in net.minecraft.server
Modifier 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 manager, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, FeatureSet enabledFeatures, CommandManager.RegistrationEnvironment environment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor) Reloads the data packs contents.ModifierConstructorDescriptionprivate
DataPackContents
(DynamicRegistryManager.Immutable dynamicRegistryManager, FeatureSet enabledFeatures, CommandManager.RegistrationEnvironment environment, int functionPermissionLevel) -
Uses of FeatureSet in net.minecraft.server.command
-
Uses of FeatureSet in net.minecraft.server.world
-
Uses of FeatureSet in net.minecraft.world
Modifier and TypeMethodDescriptionChunkRegion.getEnabledFeatures()
default FeatureSet
SaveProperties.getEnabledFeatures()
WorldView.getEnabledFeatures()
-
Uses of FeatureSet in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionprivate static FeatureSet
LevelStorage.parseEnabledFeatures
(com.mojang.serialization.Dynamic<?> levelData)