Uses of Enum Class
net.minecraft.server.packs.repository.Pack.Position
Package
Description
-
Uses of Pack.Position in net.minecraft.server.packs
Modifier and TypeFieldDescriptionprivate final Pack.Position
PackSelectionConfig.defaultPosition
The field for thedefaultPosition
record component.Modifier and TypeMethodDescriptionPackSelectionConfig.defaultPosition()
Returns the value of thedefaultPosition
record component.ModifierConstructorDescriptionPackSelectionConfig
(boolean required, Pack.Position defaultPosition, boolean fixedPosition) Creates an instance of aPackSelectionConfig
record class. -
Uses of Pack.Position in net.minecraft.server.packs.repository
Modifier and TypeMethodDescriptionPack.getDefaultPosition()
Pack.Position.opposite()
static Pack.Position
Returns the enum constant of this class with the specified name.static Pack.Position[]
Pack.Position.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Pack.Position in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionvoid
AddPackFindersEvent.addPackFinders
(ResourceLocation packLocation, PackType packType, Component packNameDisplay, PackSource packSource, boolean alwaysActive, Pack.Position packPosition) Helper method to register a pack found under the `resources/` folder.