Skip to content

Instantly share code, notes, and snippets.

View LexManos's full-sized avatar

LexManos LexManos

  • Forge Development LLC
  • Oregon
View GitHub Profile
[01:24:43 AM] [BNCS] Local Hashing Failed
[01:24:43 AM] All connections closed.
[01:24:56 AM] Connecting your bot...
[01:24:56 AM] [BNCS] Connecting to the Battle.net server at useast.battle.net...
[01:24:56 AM] [BNCS] Connected!
[01:24:56 AM] [BNCS] Checking version...
[01:24:56 AM] [BNCS] Server signature validated!
[01:24:57 AM] [BNCS] Version check failed! The version byte for this attempt was 0x18.
[01:24:57 AM] [BNCS] Please ensure you have updated your hash files using more current ones from the directory of the game you're connecting with.
package net.minecraftforge.test;
import net.minecraft.block.Block;
import net.minecraft.block.BlockPrismarine;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemColored;
import net.minecraft.util.ResourceLocation;
@LexManos
LexManos / AlgorithmX2@gmail.com
Last active May 2, 2016 19:49
Forge Attributions
8db72015 src/main/java/net/minecraftforge/client/GuiIngameForge.java (<AlgorithmX2@gmail.com> 2015-12-13 04:47:25 -0600 618) name = this.highlightingItemStack.getItem().getHighlightTip(this.highlightingItemStack, name);
8db72015 src/main/java/net/minecraftforge/client/GuiIngameForge.java (<AlgorithmX2@gmail.com> 2015-12-13 04:47:25 -0600 619)
Single line function call, Trivial
@LexManos
LexManos / 1_onibait.txt
Last active May 29, 2016 09:58
Forge Contribs
eb594066 common/net/minecraftforge/common/ForgeHooks.java (<onibait@gmail.com> 2013-10-08 19:00:02 -0500 33) import net.minecraft.entity.player.EntityPlayerMP;
eb594066 common/net/minecraftforge/common/ForgeHooks.java (<onibait@gmail.com> 2013-10-08 19:00:02 -0500 37) import net.minecraft.inventory.Container;
eb594066 common/net/minecraftforge/common/ForgeHooks.java (<onibait@gmail.com> 2013-10-08 19:00:02 -0500 47) import net.minecraft.item.ItemSword;
eb594066 common/net/minecraftforge/common/ForgeHooks.java (<onibait@gmail.com> 2013-10-08 19:00:02 -0500 53) import net.minecraft.tileentity.TileEntity;
eb594066 common/net/minecraftforge/common/ForgeHooks.java (<onibait@gmail.com> 2013-10-08 19:00:02 -0500 97) import net.minecraftforge.event.world.BlockEvent;
eb594066 common/net/minecraftforge/common/ForgeHooks.java (<onibait@gmail.com> 2013-10-08 19:00:02 -0500 666) {
eb594066 common/net/minecraftforge/common/Fo
@LexManos
LexManos / Retrogen.patch
Created September 17, 2016 01:31
RetroGen Draft
diff --git a/patches/minecraft/net/minecraft/item/Item.java.patch b/patches/minecraft/net/minecraft/item/Item.java.patch
index 5496a45..ced5c8a 100644
--- a/patches/minecraft/net/minecraft/item/Item.java.patch
+++ b/patches/minecraft/net/minecraft/item/Item.java.patch
@@ -52,7 +52,7 @@
return p_77621_1_.func_147447_a(vec3d, vec3d1, p_77621_3_, !p_77621_3_, false);
}
-@@ -426,11 +432,569 @@
+@@ -426,11 +432,580 @@
@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.
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");
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/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;
@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)