public class TemplateManager
extends java.lang.Object
Constructor and Description |
---|
TemplateManager(java.lang.String p_i47239_1_,
DataFixer p_i47239_2_) |
Modifier and Type | Method and Description |
---|---|
Template |
get(MinecraftServer server,
ResourceLocation templatePath) |
Template |
getTemplate(MinecraftServer server,
ResourceLocation id) |
boolean |
readTemplate(ResourceLocation server) |
void |
remove(ResourceLocation templatePath) |
boolean |
writeTemplate(MinecraftServer server,
ResourceLocation id) |
public TemplateManager(java.lang.String p_i47239_1_, DataFixer p_i47239_2_)
public Template getTemplate(@Nullable MinecraftServer server, ResourceLocation id)
@Nullable public Template get(@Nullable MinecraftServer server, ResourceLocation templatePath)
public boolean readTemplate(ResourceLocation server)
public boolean writeTemplate(@Nullable MinecraftServer server, ResourceLocation id)
public void remove(ResourceLocation templatePath)