net.minecraft.server

public class ServerResources

implements AutoCloseable

xk
net.minecraft.server.ServerResources
net.minecraft.class_5350
net.minecraft.resource.ServerResourceManager
net.minecraft.src.C_5284_
net.minecraft.server.DataPackResources

Field summary

Modifier and TypeField
private static final CompletableFuture<Unit>
a
DATA_RELOAD_INITIAL_TASK
field_25334
COMPLETED_UNIT
f_136144_
private final ReloadableResourceManager
b
resources
field_25335
resourceManager
f_136145_
private final Commands
c
commands
field_25336
commandManager
f_136146_
private final RecipeManager
d
recipes
field_25337
recipeManager
f_136147_
private final TagManager
e
tagManager
field_25338
registryTagManager
f_136148_
private final PredicateManager
f
predicateManager
field_25339
lootConditionManager
f_136149_
private final LootTables
g
lootTables
field_25340
lootManager
f_136150_
private final ItemModifierManager
h
itemModifierManager
field_28017
lootFunctionManager
f_180000_
private final ServerAdvancementManager
i
advancements
field_25341
serverAdvancementLoader
f_136151_
private final ServerFunctionLibrary
j
functionLibrary
field_25342
functionLoader
f_136152_

Constructor summary

ModifierConstructor
public (RegistryAccess registryManager, Commands$CommandSelection commandEnvironment, int functionPermissionLevel)

Method summary

Modifier and TypeMethod
public ServerFunctionLibrary
a()
getFunctionLibrary()
method_29465()
getFunctionLoader()
m_136157_()
public PredicateManager
b()
getPredicateManager()
method_29468()
getLootConditionManager()
m_136171_()
public LootTables
c()
getLootTables()
method_29469()
getLootManager()
m_136172_()
public ItemModifierManager
d()
getItemModifierManager()
method_32703()
getLootFunctionManager()
m_180012_()
public TagContainer
e()
getTags()
method_29470()
getRegistryTagManager()
m_136174_()
public RecipeManager
f()
getRecipeManager()
method_29471()
getRecipeManager()
m_136175_()
public Commands
g()
getCommands()
method_29472()
getCommandManager()
m_136176_()
public ServerAdvancementManager
h()
getAdvancements()
method_29473()
getServerAdvancementLoader()
m_136177_()
public ResourceManager
i()
getResourceManager()
method_29474()
getResourceManager()
m_136178_()
public static CompletableFuture<ServerResources>
a(List<acv> arg0, gx arg1, dm$a arg2, int arg3, Executor arg4, Executor arg5)
loadResources(List<PackResources> arg0, RegistryAccess arg1, Commands$CommandSelection arg2, int arg3, Executor arg4, Executor arg5)
method_29466(List<class_3262> arg0, class_5455 arg1, class_2170$class_5364 arg2, int arg3, Executor arg4, Executor arg5)
reload(List<ResourcePack> packs, DynamicRegistryManager registryManager, CommandManager$RegistrationEnvironment commandEnvironment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor)
m_180005_(List<C_50_> p_180006_, C_4706_ p_180007_, C_3027_$C_3028_ p_180008_, int p_180009_, Executor p_180010_, Executor p_180011_)
public void
j()
updateGlobals()
method_29475()
loadRegistryTags()
m_136179_()
public void
close()
close()
close()