Skip to content

Instantly share code, notes, and snippets.

View thebrightspark's full-sized avatar

bright_spark thebrightspark

View GitHub Profile
@thebrightspark
thebrightspark / BlockBenchGeckoLibArmorFix.md
Last active August 16, 2023 00:07
BlockBench GeckoLib Plugin Armor JSON Export Fix JQ Filter

Description

This Gist contains a JQ filter to fix the broken armour JSON exports from the BlockBench GeckoLib plugin in two different formats, but using the exact same solution.

This solution was created using Ubuntu, but you can adapt it to be used for others assuming you can install jq.
See the jq docs for more info and how to install: https://jqlang.github.io/jq/

How To Use

Use either one of the below options:

@thebrightspark
thebrightspark / build.gradle
Created February 2, 2021 19:41
Forge 1.12.2 FG 2.3 build.gradle
buildscript {
repositories {
jcenter()
maven { url = 'http://files.minecraftforge.net/maven' }
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
This has been copied from the original DropBox file which can be found here: https://www.dropbox.com/s/hejjfkpyohs9zmn/Why%20MCreator%20sucks.txt?dl=0
This file is written by the MinecraftForums user jcm2606. I welcome anyone to link to this file whenever they respond to an MCreator thread, as I will be doing.
Okay, so if you're reading this, you've either decided to use MCreator, support it or are uneducated as to why MCreator sucks. Or are just curious as to what I wrote for it. Either way. So, why did I write an entire text file? Because I cannot be bothered writing the reasons why you should not use MCreator over and over. This also goes for other generators that make modding as simple as a "click a button" process.
Just a rundown of what I'm going to be talking about (partly for me writing this):
- Limitations on what you can do
- Over-simplifies code
- Allows for crappy, generic mods
@thebrightspark
thebrightspark / Advancement.json
Created April 15, 2019 20:12
IntelliJ IDEA Minecraft File Templates
#set($lowerName = $PROJECT_NAME.toLowerCase())
{
"display": {
"icon": {
"item": "${lowerName}:ITEM"
},
"title": {
"translate": "${lowerName}.advancement.${NAME}.title"
},
"description": {
import com.google.common.base.MoreObjects;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
public class GsonTest
{
private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create();
public static void main(String... args)
{