Package dev.latvian.mods.kubejs.client
Class KubeJSClient
java.lang.Object
dev.latvian.mods.kubejs.KubeJSCommon
dev.latvian.mods.kubejs.client.KubeJSClient
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<GeneratedDataStage, VirtualAssetPack> static List<ItemTooltipData> static final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyDefaultOptionsFile(File optionsFile) static intdrawStackSize(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int size, int x, int y, int color, boolean dropShadow) voidexport(List<ExportablePackResources> packs) static StringformatNumber(int count) voidgenerateTypings(net.minecraft.commands.CommandSourceStack source) @Nullable net.minecraft.world.entity.player.PlayervoidhandleDataFromServerPacket(String channel, @Nullable net.minecraft.nbt.CompoundTag data) static voidloadPostChains(net.minecraft.client.Minecraft mc) voidopenErrors(ScriptType type) voidopenErrors(ScriptType type, List<ConsoleLine> errors, List<ConsoleLine> warnings) static voidvoidvoidreloadStartupScripts(boolean dedicated) static voidresizePostChains(int width, int height) voidrunInMainThread(Runnable runnable) void
-
Field Details
-
WHITE_TEXTURE
public static final net.minecraft.resources.ResourceLocation WHITE_TEXTURE -
RECIPE_BUTTON_TEXTURE
public static final net.minecraft.resources.ResourceLocation RECIPE_BUTTON_TEXTURE -
CLIENT_PACKS
-
clientItemTooltips
-
-
Constructor Details
-
KubeJSClient
public KubeJSClient()
-
-
Method Details
-
reloadClientScripts
public static void reloadClientScripts() -
copyDefaultOptionsFile
-
handleDataFromServerPacket
public void handleDataFromServerPacket(String channel, @Nullable @Nullable net.minecraft.nbt.CompoundTag data) - Overrides:
handleDataFromServerPacketin classKubeJSCommon
-
getClientPlayer
@Nullable public @Nullable net.minecraft.world.entity.player.Player getClientPlayer()- Overrides:
getClientPlayerin classKubeJSCommon
-
generateTypings
public void generateTypings(net.minecraft.commands.CommandSourceStack source) - Overrides:
generateTypingsin classKubeJSCommon
-
reloadConfig
public void reloadConfig()- Overrides:
reloadConfigin classKubeJSCommon
-
reloadStartupScripts
public void reloadStartupScripts(boolean dedicated) - Overrides:
reloadStartupScriptsin classKubeJSCommon
-
export
- Overrides:
exportin classKubeJSCommon
-
openErrors
- Overrides:
openErrorsin classKubeJSCommon
-
openErrors
- Overrides:
openErrorsin classKubeJSCommon
-
runInMainThread
- Overrides:
runInMainThreadin classKubeJSCommon
-
updateServerData
- Overrides:
updateServerDatain classKubeJSCommon
-
getWebServerWindowTitle
- Overrides:
getWebServerWindowTitlein classKubeJSCommon
-
loadPostChains
public static void loadPostChains(net.minecraft.client.Minecraft mc) -
resizePostChains
public static void resizePostChains(int width, int height) -
formatNumber
-
drawStackSize
public static int drawStackSize(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int size, int x, int y, int color, boolean dropShadow)
-