Skip to content

Instantly share code, notes, and snippets.

View LexManos's full-sized avatar

LexManos LexManos

  • Forge Development LLC
  • Oregon
View GitHub Profile
@LexManos
LexManos / 00.Readme.txt
Last active October 19, 2017 05:52
UltimateSkyrim Mod List
This is a installer for Skyrim modpacks/Ultimate Skyrim. It is very much a work in progress.
It requires files downloaded and specific metadata files in the downloads folder. I've written a script to do all of this downloading for you, however as Nexus has no official API I will be keeping that script private as to not piss them off.
It also requires my fork of pylzma to be installed:
https://github.com/LexManos/pylzma
Clone that, and run py setup.py install
It also requires rarfile to be installed:
pip install rarfile
--- ../src-base/minecraft/net/minecraft/item/crafting/ShapedRecipes.java
+++ ../src-work/minecraft/net/minecraft/item/crafting/ShapedRecipes.java
@@ -19,10 +19,8 @@
import net.minecraft.util.NonNullList;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
-import net.minecraftforge.fml.relauncher.Side;
-import net.minecraftforge.fml.relauncher.SideOnly;
-public class ShapedRecipes implements IRecipe
@ObjectHolder(CustomModelBlock.name)
public static final Block CUSTOM_MODEL_BLOCK = null;
@ObjectHolder(OBJTesseractBlock.name)
public static final Block TESSERACT_BLOCK = null;
@ObjectHolder(OBJVertexColoring1.name)
public static final Block VERTEX_COLOR_1 = null;
@ObjectHolder(OBJVertexColoring2.name)
public static final Block VERTEX_COLOR_2 = null;
@ObjectHolder(OBJDirectionBlock.name)
@LexManos
LexManos / 1-THOUGHTS
Last active September 30, 2018 13:45
1.12 Recipe enhancements
Basic loading.
To be done on ServerInit. This means things will load multiple times on the client.
Benifits:
Allows us to just nuke the custom recipes every server init
Allows us to have save leve overrides.
Primes us for syncing recipe types/contents S->C {Not gunna happen in 1.12, but I expect Mojang to work twards this in 1.13+}
Cons:
Increases single player server load time. No known stats at the moment but shouldn't be TO bad
Loading Process:
diff --git a/src/main/java/net/minecraftforge/common/property/ExtendedBlockState.java b/src/main/java/net/minecraftforge/common/property/ExtendedBlockState.java
index 955ef94..0157af9 100644
--- a/src/main/java/net/minecraftforge/common/property/ExtendedBlockState.java
+++ b/src/main/java/net/minecraftforge/common/property/ExtendedBlockState.java
@@ -35,7 +35,6 @@ import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.ImmutableTable;
import com.google.common.collect.Iterables;
-import com.google.common.collect.Maps;
@LexManos
LexManos / build.gradle
Last active August 23, 2020 03:21
Fernflower Deployment build.gradle
apply plugin: 'java'
apply plugin: 'maven-publish'
version = 382 + (System.getenv('BUILD_NUMBER') ?: project.ext.properties.buildNumber ?: 0).toInteger()
group = 'net.minecraftforge' //put it under us for now, because this is a unofficial mirrior
archivesBaseName = 'fernflower'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
So, a few years ago, My brother was admitted to the hospital, essentially what happened could be described as a slow-stroke. He at the time was like 28, the age I am now.
Basically what happened is he developed a EXTREAMLY rare medical issue where his immune system decided that the proteins in his own nervisystem were bad things and destroied them.
We are talking a desease that less then 1,000 people have had EVER. So there is barely anything known about it. They don't know what causes it, they don't know how it's transmitted, they don't know anything.
Luckly due to how rare it is, basically all my brothers medical bills were paid for as long as he allowed himself to be used for research, as that's a no brainer he opted in and said yes to help them out.
My brother and I have the same opinion when it comes to things like this. We don't particularily like humanity as a whole, People are fucking idiots. But, when it comes to shitty medical issues that could ruin a persons life with no wrong doing of their own we
diff --git a/patches/minecraft/net/minecraft/entity/EntityList.java.patch b/patches/minecraft/net/minecraft/entity/EntityList.java.patch
index cb012a6..869bb9f 100644
--- a/patches/minecraft/net/minecraft/entity/EntityList.java.patch
+++ b/patches/minecraft/net/minecraft/entity/EntityList.java.patch
@@ -1,6 +1,78 @@
--- ../src-base/minecraft/net/minecraft/entity/EntityList.java
+++ ../src-work/minecraft/net/minecraft/entity/EntityList.java
-@@ -189,7 +189,17 @@
+@@ -105,10 +105,8 @@
+ public static final ResourceLocation field_191307_a = new ResourceLocation("lightning_bolt");
@LexManos
LexManos / Class Renames
Last active November 10, 2016 22:28
1.11-pre1 New Classes
net/minecraft/util/math/Vec4b net/minecraft/world/storage/MapDecoration
Used to just be 4 bytes and nothing else, now its specific for Map icons.
@LexManos
LexManos / ConfigTest.java
Created October 11, 2016 04:54
Config Test
package net.minecraftforge.debug;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.config.Config;
import net.minecraftforge.common.config.Config.*;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
@Mod(modid = ConfigTest.MODID, name = "ConfigTest", version = "1.0")
public class ConfigTest