net.minecraft.server.packs.repository

public interface PackSource

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

Field summary

Modifier and TypeField
UnaryOperator<Component>
a
NO_DECORATION
field_40047
NONE_SOURCE_TEXT_SUPPLIER
PackSource
b
DEFAULT
field_25347
NONE
PackSource
c
BUILT_IN
field_25348
BUILTIN
PackSource
d
FEATURE
field_40048
FEATURE
PackSource
e
WORLD
field_25349
WORLD
PackSource
f
SERVER
field_25350
SERVER

Method summary

Modifier and TypeMethod
Component
a(xv arg0)
decorate(Component arg0)
method_45282(class_2561 arg0)
decorate(Text packDisplayName)
boolean
a()
shouldAddAutomatically()
method_45279()
canBeEnabledLater()
static PackSource
a(UnaryOperator<xv> arg0, boolean arg1)
create(UnaryOperator<Component> arg0, boolean arg1)
method_45281(UnaryOperator<class_2561> arg0, boolean arg1)
create(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater)
private static UnaryOperator<Component>
a(String arg0)
decorateWithSource(String arg0)
method_45280(String arg0)
getSourceTextSupplier(String translationKey)