public class FunctionManager extends java.lang.Object implements IResourceManagerReloadListener
修飾子とタイプ | クラスと説明 |
---|---|
static class |
FunctionManager.QueuedCommand |
IFutureReloadListener.IStage
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
PATH_PREFIX_LENGTH |
static int |
PATH_SUFFIX_LENGTH |
コンストラクタと説明 |
---|
FunctionManager(MinecraftServer p_i47920_1_) |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
execute(FunctionObject p_195447_1_,
CommandSource p_195447_2_) |
CommandSource |
func_223402_g() |
java.util.Optional<FunctionObject> |
get(ResourceLocation p_215361_1_) |
com.mojang.brigadier.CommandDispatcher<CommandSource> |
getCommandDispatcher() |
CommandSource |
getCommandSource() |
java.util.Map<ResourceLocation,FunctionObject> |
getFunctions() |
int |
getMaxCommandChainLength() |
MinecraftServer |
getServer() |
TagCollection<FunctionObject> |
getTagCollection() |
void |
onResourceManagerReload(IResourceManager resourceManager) |
void |
tick() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResourceType, reload
func_225594_i_
public static final int PATH_PREFIX_LENGTH
public static final int PATH_SUFFIX_LENGTH
public FunctionManager(MinecraftServer p_i47920_1_)
public java.util.Optional<FunctionObject> get(ResourceLocation p_215361_1_)
public MinecraftServer getServer()
public int getMaxCommandChainLength()
public java.util.Map<ResourceLocation,FunctionObject> getFunctions()
public com.mojang.brigadier.CommandDispatcher<CommandSource> getCommandDispatcher()
public void tick()
public int execute(FunctionObject p_195447_1_, CommandSource p_195447_2_)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
インタフェース内 IResourceManagerReloadListener
public CommandSource getCommandSource()
public CommandSource func_223402_g()
public TagCollection<FunctionObject> getTagCollection()