Skip to content

Instantly share code, notes, and snippets.

View Darkhax's full-sized avatar
🇨🇦
Modding everying.

Darkhax Darkhax

🇨🇦
Modding everying.
View GitHub Profile
@Darkhax
Darkhax / gist:c35902b6e371c91ff8a57ce2e2ff8ce5
Created January 5, 2017 20:15
Surge Load Time Analysis of Sky Factory 3.0.1
#Surge Load Time Analysis - 2017-01-05-13-11-52
This file contains approximate information about how long each mod takes to
load. The load time of each mod is split into groups which represent the loading
stages of the game. If a mod does not have a load time listed, it took less than
0.01 seconds to load. Please note that a mod being on this list does not mean it
is slow or broken. While this can be the case, load times can vary depending on
how much content a mod provides.
Total time: 107.63 sec
{
"homepage": "www.yoursite.com/yourmod",
"promos": {
"1.10.2-latest": "1.2.1.1",
"1.10.2-recommended": "1.2.0.3",
"1.9.4-latest": "1.1.0.3",
"1.9.4-recommended": "1.1.0.1",
"1.9-latest": "1.0.0.7",
"1.9-recommended": "1.0.0.4"
},
@Darkhax
Darkhax / README.md
Created December 9, 2016 03:27
The formatters used by Epoxide Development!

#README This gist contains the formatter and cleanup settings used for Epoxide Development projects. At this time only Eclipse formatters are present, however this plugin can be used to import them into IDEA.

INFO: Download Starting
INFO: URLs: https://minecraft.curseforge.com/projects/vanilla-forge/files/latest https://addons-origin.cursecdn.com/files/2339/537/Vanilla%20Forge%201.10.2-1.0.2.001.zip
INFO: Modpack filename is Vanilla%20Forge%201.10.2-1.0.2.001.zip
INFO: Reading pack metadata!
INFO: Temp Dir is C:\Users\darkh\.blaspheme_temp
INFO: Modpack temporary directory is C:\Users\darkh\.blaspheme_temp\Vanilla%20Forge%201.10.2-1.0.2.001.zip
INFO: Downloading zip file Vanilla%20Forge%201.10.2-1.0.2.001.zip
INFO: Unzipping file
INFO: Done unzipping
INFO: Parsing Manifest
1) Don't behead your players
Gameplay should never be unreasonable. For example,
the player should never be killed or damaged by a
single attack. Instant death and other unfair
situations break the immersion of the game.
2) Don't add cyanide!
Unidentified items should never be immediately
fatal. While negative identify outcomes are okay,
something like an instant death discourages players
@Mod(modid = "lta", name = "Loot Table Analysis", version = "1.0.0.0")
public class LootTableAnalysis {
private final Logger LOGGER = LogManager.getLogger("Loot Table Analysis");
private Field pools;
private Field lootEntries;
@EventHandler
public void preInit (FMLPreInitializationEvent event) {
public class CustomDataHandler {
// The Capability field. Used for checks and references.
// Initialized when forge registers the capability.
@CapabilityInject(IManaHandler.class)
public static final Capability<IManaHandler> CAPABILITY_MANA = null;
// Handles all of the required registration for the capability.
public static void register() {
#Surge Load Time Analysis - 2016-08-21-22-58-25
This file contains approximate information about how long each mod takes to
load. The load time of each mod is split into groups which represent the loading
stages of the game. If a mod does not have a load time listed, it took less than
0.01 seconds to load. Please note that a mod being on this list does not mean it
is slow or broken. While this can be the case, load times can vary depending on
how much content a mod provides.
Total time: 16.12 sec
C:\Users\darkh\Desktop\TestGame>gradlew eclipse
Downloading https://services.gradle.org/distributions/gradle-3.12-bin.zip
Exception in thread "main" java.io.FileNotFoundException: https://downloads.gradle.org/distributions/gradle-3.12-bin.zip
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)