Uses of Interface
net.minecraft.server.packs.repository.PackSource
Packages that use PackSource
Package
Description
-
Uses of PackSource in net.minecraft.client.gui.screens.packs
Methods in net.minecraft.client.gui.screens.packs that return PackSourceModifier and TypeMethodDescriptionPackSelectionModel.Entry.getPackSource()
PackSelectionModel.EntryBase.getPackSource()
-
Uses of PackSource in net.minecraft.client.resources.server
Fields in net.minecraft.client.resources.server declared as PackSource -
Uses of PackSource in net.minecraft.server.packs
Fields in net.minecraft.server.packs declared as PackSourceModifier and TypeFieldDescriptionprivate final PackSource
PackLocationInfo.source
The field for thesource
record component.Methods in net.minecraft.server.packs that return PackSourceModifier and TypeMethodDescriptionPackLocationInfo.source()
Returns the value of thesource
record component.Constructors in net.minecraft.server.packs with parameters of type PackSourceModifierConstructorDescriptionPackLocationInfo
(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
Fields in net.minecraft.server.packs.repository declared as PackSourceModifier 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
Methods in net.minecraft.server.packs.repository that return PackSourceModifier and TypeMethodDescriptionstatic PackSource
PackSource.create
(UnaryOperator<Component> p_251995_, boolean p_249897_) Pack.getPackSource()
Constructors in net.minecraft.server.packs.repository with parameters of type PackSourceModifierConstructorDescriptionFolderRepositorySource
(Path p_251796_, PackType p_251664_, PackSource p_250854_, DirectoryValidator p_296354_) -
Uses of PackSource in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type PackSourceModifier 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.