net.minecraft.resource

public interface ResourcePackSource

net.minecraft.server.packs.repository.PackSource
net.minecraft.server.packs.repository.PackSource
net.minecraft.class_5352
net.minecraft.resource.ResourcePackSource

Field summary

Modifier and TypeField
UnaryOperator<Text>
NO_DECORATION
NO_DECORATION
field_40047
NONE_SOURCE_TEXT_SUPPLIER
ResourcePackSource
DEFAULT
DEFAULT
field_25347
NONE
ResourcePackSource
BUILT_IN
BUILT_IN
field_25348
BUILTIN
ResourcePackSource
FEATURE
FEATURE
field_40048
FEATURE
ResourcePackSource
WORLD
WORLD
field_25349
WORLD
ResourcePackSource
SERVER
SERVER
field_25350
SERVER

Method summary

Modifier and TypeMethod
Text
decorate(Component packDescription)
decorate(Component packDescription)
method_45282(class_2561 arg0)
decorate(Text packDisplayName)
boolean
shouldAddAutomatically()
shouldAddAutomatically()
method_45279()
canBeEnabledLater()
static ResourcePackSource
create(UnaryOperator<Component> decorator, boolean addAutomatically)
create(UnaryOperator<Component> decorator, boolean addAutomatically)
method_45281(UnaryOperator<class_2561> arg0, boolean arg1)
create(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater)
private static UnaryOperator<Text>
decorateWithSource(String descriptionId)
decorateWithSource(String descriptionId)
method_45280(String arg0)
getSourceTextSupplier(String translationKey)