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 / 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.
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 / CM3.lua
Last active January 2, 2020 08:55
Re-worked version of Computercraft control for Compact Machines.
-- APIs
local robot = require("robot")
local component = require("component")
local computer = require("computer")
local me = component.upgrade_me
local db = component.database
local event = require("event")
local filesystem = require("filesystem")
local sides = require("sides")
@LexManos
LexManos / post.txt
Created September 12, 2019 17:22
1.14.4 rb 1
[b]Forge Version:[/b] 1.14.4-28.1.0
[b]Minecraft Version:[/b] 1.14.4
[b]Downloads:[/b]
[ul]
[li]Changelog [url=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.14.4-28.1.0/forge-1.14.4-28.1.0-changelog.txt](Direct)[/url][/li]
[li]Installer [url=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.14.4-28.1.0/forge-1.14.4-28.1.0-installer.jar](Direct)[/url][/li]
[li]MDK [url=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.14.4-28.1.0/forge-1.14.4-28.1.0-mdk.zip](Direct)[/url][/li]
[/ul]
[b]Intro:[/b]
@LexManos
LexManos / 1_enum.tsrg
Last active May 9, 2019 18:30
1.14 Code Standards
net/minecraft/block/Block$EnumOffsetType net/minecraft/block/Block$OffsetType
net/minecraft/block/material/EnumPushReaction net/minecraft/block/material/PushReaction
net/minecraft/client/renderer/BlockModelRenderer$EnumNeighborInfo net/minecraft/client/renderer/BlockModelRenderer$NeighborInfo
net/minecraft/client/renderer/EnumFaceDirection net/minecraft/client/renderer/FaceDirection
net/minecraft/client/renderer/EnumFaceDirection$Constants net/minecraft/client/renderer/FaceDirection$Constants
net/minecraft/client/renderer/EnumFaceDirection$VertexInformation net/minecraft/client/renderer/FaceDirection$VertexInformation
net/minecraft/enchantment/EnumEnchantmentType net/minecraft/enchantment/EnchantmentType
net/minecraft/entity/Pose net/minecraft/entity/Pose
net/minecraft/entity/passive/EntityPanda$Type net/minecraft/entity/passive/PandaEntity$Type
net/minecraft/entity/player/EnumPlayerModelParts net/minecraft/entity/player/PlayerModelPart
@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
@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 / floating-point-fix.patch
Created August 19, 2018 06:43
Floating Point Fix
diff
diff -ENwbur old/net/minecraft/advancements/criterion/MinMaxBounds.java new/net/minecraft/advancements/criterion/MinMaxBounds.java
--- old/net/minecraft/advancements/criterion/MinMaxBounds.java 2018-07-23 18:25:54.000000000 -0700
+++ new/net/minecraft/advancements/criterion/MinMaxBounds.java 2018-07-23 18:27:16.000000000 -0700
@@ -178,7 +178,7 @@
if (this.field_192517_b != null && this.field_192517_b > p_211354_1_) {
return false;
} else {
- return this.field_192518_c == null || this.field_192518_c >= p_211354_1_;
+ return this.field_192518_c == null || !(this.field_192518_c < p_211354_1_);
@LexManos
LexManos / script.cs
Last active April 21, 2018 02:16
SpaceEngineersSorting
//Basic Readme:
//Name your inventories with <ItemName!Priority#Count,ItemName2!Priority2#Count2>
//Name is the name of the item you want, leave it empty for all items, categories also work: ingot, ore, component, or whatever other categories Space Engineers has.
//Priority is optional, defaults to 0, higher priorities will get fed first.
//Count is optional, this will be the number of this item in the inventory for it to be 'satisfied'. And able to move the extra to lower priority inventories.
//I've included defaults for a few things, like refinearies, assemblers, o2 gens, gatling guns, etc..
//But you can always override them by manually specfying in the name.
//This is a major work in progress and i'll be tweaking it as I play. But it works for me... so have fun, no support/warranty/etc..
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:stone",
"data": 0
},
{
"item": "minecraft:stone",
"data": 0