Skip to content

Instantly share code, notes, and snippets.

View LexManos's full-sized avatar

LexManos LexManos

  • Forge Development LLC
  • Oregon
View GitHub Profile
net/minecraft/network/play/server/SPacketUpdateEntityNBT net/minecraft/network/play/server/SPacketUpdateBossInfo
net/minecraft/client/resources/data/IMetadataSerializer net/minecraft/client/resources/data/MetadataSerializer
net/minecraft/client/renderer/texture/IIconCreator net/minecraft/client/renderer/texture/ITextureMapPopulator
net/minecraft/pathfinding/Path net/minecraft/pathfinding/PathHeap
net/minecraft/pathfinding/PathEntity net/minecraft/pathfinding/Path
net/minecraft/network/play/client/CPacketPlayerTryUseItem net/minecraft/network/play/client/CPacketPlayerTryUseItemOnBlock
net/minecraft/network/play/client/CPacketPlayerBlockPlacement net/minecraft/network/play/client/CPacketPlayerTryUseItem
net/minecraft/entity/passive/HorseType net/minecraft/entity/passive/HorseArmorType
net/minecraft/entity/passive/HorseArmorType net/minecraft/entity/passive/HorseType
net/minecraft/entity/player/EntityPlayer$EnumStatus net/minecraft/entity/player/EntityPlayer$SleepResult
@LexManos
LexManos / clean.txt
Created December 8, 2018 20:06
1.13 Announcement.
So about 1.13. As we have been stating since the public release of 1.13,
the Forge update is a time we are taking to re-write everything from the
ground up. Not just Forge, but the entire toolchain, launcher, installer,
and core of Forge is being rewritten. Every line of code is being inspected,
and re-validated. This whole process takes a while. To give you (the reader)
an idea of what has been done so far:
ForgeGradle has been rewritten to support modern gradle versions, with better tools
to be expandable and used for more than just setting up a Minecraft/Forge
dependency project. It's also much cleaner and organized this time around
@LexManos
LexManos / cla.md
Created July 14, 2023 21:56
Forge CLA

As a contributor to Minecraft Forge, you grant Forge the following:

  • You grant Forge a license to use your code contributed to the primary codebase (everything not under patches) in Forge, under the LGPLv2.1 license.
  • You assign copyright ownership of your contributions to the patches codebase (everything under patches) to Forge, where it will be licensed under the LGPLv2.1 license.

Additionally, while 1.9.4 is being maintained, you grant Forge the following:

  • You grant Forge a license to use your code contributed to the primary codebase (everything not under patches) in Forge, under the old MinecraftForge license.
  • You grant assign copyright ownership of your contributions to the patches codebase (everything under patches) to Forge, where it will be licensed under the old MinecraftForge license.
@LexManos
LexManos / example.json
Last active July 4, 2023 01:01
Forge Update JSON file.
{
"homepage": "http://files.minecraftforge.net/maven/net/minecraftforge/forge/",
"promos": {
"1.8-latest": "11.14.3.1543",
"1.8-recommended": "11.14.3.1450"
},
"1.8": {
"11.14.3.1543": "fry: Fix color multiplier applied incorrectly for items.\nfry: OBJ loader: fixed another whitespace-related issue; removed unused "modifyUVs" property for now; added the "flip-v" property to switch between OpenGL-style and DirextX-style model UVs; fixed normals - they are now correct in-world, still a bit strange for the items; fixed normals a little bit for B3D models too.",
"11.14.3.1532": "fry: Fixed normal calculation for vanilla models, fixed the grass darkening and simular issues.\nfry: More lighting fixes, flat lighting now works correctly for grass and torches."
}
@LexManos
LexManos / LootTables.patch
Created May 7, 2016 18:16
First draft of modifications to Loot Tables for modder usage/modification.
diff --git a/patches/minecraft/net/minecraft/world/storage/loot/LootEntry.java.patch b/patches/minecraft/net/minecraft/world/storage/loot/LootEntry.java.patch
new file mode 100644
index 0000000..31c3c53
--- /dev/null
+++ b/patches/minecraft/net/minecraft/world/storage/loot/LootEntry.java.patch
@@ -0,0 +1,59 @@
+--- ../src-base/minecraft/net/minecraft/world/storage/loot/LootEntry.java
++++ ../src-work/minecraft/net/minecraft/world/storage/loot/LootEntry.java
+@@ -18,15 +18,17 @@
+
@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
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Field;
import java.nio.IntBuffer;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
@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'
start 1 "com/mojang/blaze3d/Empty3i.java" 02f1aa824fc605a83d8c242f57fed4b0
package 8 18 com.mojang.blaze3d
classdef 295 450 com/mojang/blaze3d/Empty3i
# Start CLASS com/mojang/blaze3d/Empty3i
class 296 6 OnlyIn false net/minecraftforge/api/distmarker/OnlyIn
class 303 4 Dist false net/minecraftforge/api/distmarker/Dist
field 308 6 CLIENT net/minecraftforge/api/distmarker/Dist
class 329 7 Empty3i false com/mojang/blaze3d/Empty3i
class 356 4 List false java/util/List
class 361 21 ConcurrentLinkedQueue false java/util/concurrent/ConcurrentLinkedQueue
@LexManos
LexManos / renames.tsrg
Last active February 10, 2020 17:03
1.14 Bulk Rename All
net/minecraft/GameVersion net/minecraft/util/MinecraftVersion
net/minecraft/advancements/AdvancementList$Listener net/minecraft/advancements/AdvancementList$IListener
net/minecraft/advancements/RequirementsStrategy net/minecraft/advancements/IRequirementsStrategy
net/minecraft/advancements/criterion/AbstractCriterionInstance net/minecraft/advancements/criterion/CriterionInstance
net/minecraft/block/Block$EnumOffsetType net/minecraft/block/Block$OffsetType
net/minecraft/block/BlockAbstractBanner net/minecraft/block/AbstractBannerBlock
net/minecraft/block/BlockAbstractFurnace net/minecraft/block/AbstractFurnaceBlock
net/minecraft/block/BlockAbstractGlass net/minecraft/block/AbstractGlassBlock
net/minecraft/block/BlockAbstractSkull net/minecraft/block/AbstractSkullBlock
net/minecraft/block/BlockAir net/minecraft/block/AirBlock