Uses of Enum Class
net.minecraft.resource.ResourcePackProfile.InsertionPosition
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of ResourcePackProfile.InsertionPosition in net.minecraft.client
Modifier and TypeMethodDescriptionprivate static ResourcePackProfile
MinecraftClient.createResourcePackProfile
(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource source) -
Uses of ResourcePackProfile.InsertionPosition in net.minecraft.resource
Modifier and TypeFieldDescriptionprivate final ResourcePackProfile.InsertionPosition
ResourcePackProfile.position
Modifier and TypeMethodDescriptionResourcePackProfile.getInitialPosition()
ResourcePackProfile.InsertionPosition.inverse()
Returns the enum constant of this class with the specified name.ResourcePackProfile.InsertionPosition.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionResourcePackProfile.Factory.create
(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition initialPosition, ResourcePackSource source) Creates a proper resource pack profile from the given parameters.static @Nullable ResourcePackProfile
ResourcePackProfile.of
(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, ResourcePackProfile.Factory profileFactory, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource packSource) Creates a resource pack profile from the given parameters.ModifierConstructorDescriptionResourcePackProfile
(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, Text displayName, Text description, ResourcePackCompatibility compatibility, ResourcePackProfile.InsertionPosition direction, boolean pinned, ResourcePackSource source) ResourcePackProfile
(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition direction, ResourcePackSource source)