Package net.minecraft.server.commands
Class ReloadCommand
java.lang.Object
net.minecraft.server.commands.ReloadCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Collection
<String> discoverNewPacks
(PackRepository pPackRepository, WorldData pWorldData, Collection<String> pSelectedIds) Gets a list of IDs for the selected packs as well as all packs not disabled by the world config.static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138227_) static void
reloadPacks
(Collection<String> pSelectedIds, CommandSourceStack pSource)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
ReloadCommand
public ReloadCommand()
-
-
Method Details
-
reloadPacks
-
discoverNewPacks
private static Collection<String> discoverNewPacks(PackRepository pPackRepository, WorldData pWorldData, Collection<String> pSelectedIds) Gets a list of IDs for the selected packs as well as all packs not disabled by the world config. -
register
-