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 PackSourcePackLocationInfo.sourceThe field for thesourcerecord component.Methods in net.minecraft.server.packs that return PackSourceModifier and TypeMethodDescriptionPackLocationInfo.source()Returns the value of thesourcerecord 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 aPackLocationInforecord class. -
Uses of PackSource in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as PackSourceModifier and TypeFieldDescriptionstatic final PackSourcePackSource.BUILT_INprivate static final PackSourcePack.CHILD_SOURCEstatic final PackSourcePackSource.DEFAULTstatic final PackSourcePackSource.FEATUREprivate final PackSourceFolderRepositorySource.packSourcestatic final PackSourcePackSource.SERVERstatic final PackSourcePackSource.WORLDMethods in net.minecraft.server.packs.repository that return PackSourceModifier and TypeMethodDescriptionstatic PackSourcePackSource.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 TypeMethodDescriptionvoidAddPackFindersEvent.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.