public abstract class MinecraftServer1_16_5
extends mods.thecomputerizer.theimpossiblelibrary.api.server.MinecraftServerAPI<net.minecraft.server.MinecraftServer>
wrappedFABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_LATER, V21, V21_OR_LATER| Constructor and Description |
|---|
MinecraftServer1_16_5() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeCommandLiteral(java.lang.String command) |
protected @Nullable java.lang.reflect.Field |
getField(java.lang.Object parent,
java.lang.String name,
java.lang.Class<?> descType) |
protected @Nullable java.nio.file.Path |
getLevelPath(java.lang.Object save) |
protected abstract @Nullable java.lang.reflect.Field |
getLevelPathField(java.lang.Object save) |
protected @Nullable java.lang.Object |
getLevelSave(java.lang.Object server) |
protected abstract @Nullable java.lang.reflect.Field |
getLevelSaveField(java.lang.Object server) |
@Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?,?> |
getPlayerByUUID(java.lang.String uuid) |
java.util.List<mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?,?>> |
getPlayers() |
@Nullable java.io.File |
getSaveDir() |
abstract net.minecraft.server.MinecraftServer |
getServer() |
void |
registerCommand(mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI cmd) |
getWrappedequals, getWrappedClass, toStringpublic void registerCommand(mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI cmd)
registerCommand in class mods.thecomputerizer.theimpossiblelibrary.api.server.MinecraftServerAPI<net.minecraft.server.MinecraftServer>public void executeCommandLiteral(java.lang.String command)
executeCommandLiteral in class mods.thecomputerizer.theimpossiblelibrary.api.server.MinecraftServerAPI<net.minecraft.server.MinecraftServer>@Nullable
protected @Nullable java.lang.reflect.Field getField(java.lang.Object parent,
java.lang.String name,
java.lang.Class<?> descType)
@Nullable public @Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?,?> getPlayerByUUID(java.lang.String uuid)
getPlayerByUUID in class mods.thecomputerizer.theimpossiblelibrary.api.server.MinecraftServerAPI<net.minecraft.server.MinecraftServer>public java.util.List<mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?,?>> getPlayers()
getPlayers in class mods.thecomputerizer.theimpossiblelibrary.api.server.MinecraftServerAPI<net.minecraft.server.MinecraftServer>@Nullable public @Nullable java.io.File getSaveDir()
getSaveDir in class mods.thecomputerizer.theimpossiblelibrary.api.server.MinecraftServerAPI<net.minecraft.server.MinecraftServer>@Nullable protected @Nullable java.nio.file.Path getLevelPath(java.lang.Object save)
@Nullable protected abstract @Nullable java.lang.reflect.Field getLevelPathField(java.lang.Object save)
@Nullable protected @Nullable java.lang.Object getLevelSave(java.lang.Object server)
@Nullable protected abstract @Nullable java.lang.reflect.Field getLevelSaveField(java.lang.Object server)
public abstract net.minecraft.server.MinecraftServer getServer()
getServer in class mods.thecomputerizer.theimpossiblelibrary.api.server.MinecraftServerAPI<net.minecraft.server.MinecraftServer>