Skip to content

Instantly share code, notes, and snippets.

View Proposed BG3 Mod

Mods should be a zip archive

  • Mods should include all .pak files in the root of the archive
  • Along with an "info.json" file

What will be archive look like?

+-- someName.pak
+-- someOtherName.pak (multiple pak's are optional)
+-- info.json

View info.json
"modName": "someName",
"GUID": "e0555354-61d4-49ff-a06e-9fe7eabf6869",
"folderName": "SomeOtherName",
"version": "1",
"MD5": ""
View build.gradle
plugins {
id 'java'
id 'application'
subprojects {
group 'me.shadowchild.candor'
version 'snapshot'
package me.shadowchild.candor;
import com.electronwill.nightconfig.core.file.CommentedFileConfig;
import java.nio.charset.StandardCharsets;
public class CoreConfig implements ConfigHandler.IConfig {
public static boolean showIntro;
package me.shadowchild.arcanine.command;
import kong.unirest.HttpResponse;
import kong.unirest.JsonNode;
import kong.unirest.Unirest;
import kong.unirest.json.JSONObject;
import me.shadowchild.arcanine.Arcanine;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.entities.MessageChannel;
import net.dv8tion.jda.api.entities.User;
import java.util.ArrayList;
public class RuntimeUtil {
private static String location, jarName, runDir, args;
* Starts a process
ShadowChild /
Created Nov 27, 2014
LWJGL fullscreen toggle - kinda
* Sets a DisplayMode after selecting for a better one.
* @param width The width of the display.
* @param height The height of the display.
* @param fullscreen The fullscreen mode.
* @return True if switching is successful. Else false.
public static boolean setDisplayMode(int width, int height, boolean fullscreen){
View gist:6457980
private void capes() {
if(mc.theWorld != null) {
List<EntityPlayer> players = mc.theWorld.playerEntities;
for(EntityPlayer player : players) {
System.out.println("Attempting to render cape for " + player.username);