Uses of Interface
net.minecraft.server.packs.repository.PackSource
Package
Description
-
Uses of PackSource in net.minecraft.client.gui.screens.packs
Modifier and TypeMethodDescriptionPackSelectionModel.Entry.getPackSource()
PackSelectionModel.EntryBase.getPackSource()
-
Uses of PackSource in net.minecraft.client.resources.server
-
Uses of PackSource in net.minecraft.server.packs
Modifier and TypeFieldDescriptionprivate final PackSource
PackLocationInfo.source
The field for thesource
record component.Modifier and TypeMethodDescriptionPackLocationInfo.source()
Returns the value of thesource
record component.ModifierConstructorDescriptionPackLocationInfo
(String id, Component title, PackSource source, Optional<KnownPack> knownPackInfo) Creates an instance of aPackLocationInfo
record class. -
Uses of PackSource in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionstatic final PackSource
PackSource.BUILT_IN
private static final PackSource
Pack.CHILD_SOURCE
static final PackSource
PackSource.DEFAULT
static final PackSource
PackSource.FEATURE
private final PackSource
FolderRepositorySource.packSource
static final PackSource
PackSource.SERVER
static final PackSource
PackSource.WORLD
Modifier and TypeMethodDescriptionstatic PackSource
PackSource.create
(UnaryOperator<Component> p_251995_, boolean p_249897_) Pack.getPackSource()
ModifierConstructorDescriptionFolderRepositorySource
(Path p_251796_, PackType p_251664_, PackSource p_250854_, DirectoryValidator p_296354_) -
Uses of PackSource 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.