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 p_189942_1_,
ResourceLocation p_189942_2_) |
Template |
getTemplate(MinecraftServer server,
ResourceLocation id) |
boolean |
readTemplate(ResourceLocation server) |
void |
remove(ResourceLocation p_189941_1_) |
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 p_189942_1_, ResourceLocation p_189942_2_)
public boolean readTemplate(ResourceLocation server)
public boolean writeTemplate(@Nullable MinecraftServer server, ResourceLocation id)
public void remove(ResourceLocation p_189941_1_)