Skip to content

Instantly share code, notes, and snippets.

View JTK222's full-sized avatar

JTK222

View GitHub Profile
@JTK222
JTK222 / CLAv1.md
Last active February 25, 2022 20:22
A gist containing our Dark Roleplay Mod Licenses

As a contributor to a project under the Dark Roleplay organization, you grant Dark Roleplay the following:

This is intended as a legally binding copyright assignment to the Dark Roleplay organization for contributions under any of our Projects codebase.

Dark Roleplay Public Mod License

By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this License (defined below).

Section 1 - definitions

  1. Source Code means any fully executable description of a software system. Including machine code, high level languages and executable graphical representations of systems.
  2. Assets mean any component not falling under the prior definition of Source Code, including image files, text files and other binary representations of data which is not an executable software system.
  3. Snippet means a small segment of source code which is not an executable software system on its own. This may include an entire function and even entire Source Code files. As long as the Snippet doesn't extent 75% of the provided source code.
  4. Artistic medium means the platform on which an art piece is provided. Examples for a medium contain games, movies, drawings and sculptures.
  5. Licensor means the individ
> Configure project :
New Dep: net.minecraftforge:forge:1.16.3-34.0.1_mapped_snapshot_20200723-1.16.1
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
CONFIGURE SUCCESSFUL in 0s
Setting up MCP environment
package armor;
import net.minecraft.client.renderer.entity.model.BipedModel;
import net.minecraft.entity.Entity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.inventory.EquipmentSlotType;
import net.minecraft.item.ArmorItem;
import net.minecraft.item.IArmorMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
@JTK222
JTK222 / ClientChatListener.java
Last active July 15, 2020 17:43
A rudimentary implementation of client side commands. No auto completion, no error messages
@Mod.EventBusSubscriber(modid = MODID, value = Dist.CLIENT)
public class ClientChatListener {
private static CommandDispatcher<CommandSource> commands = new CommandDispatcher();
static{
commands.register(Commands.literal("foo").executes(context -> {
context.getSource().sendFeedback(new StringTextComponent("bar"), false);
return 1;
}));
@JTK222
JTK222 / gist:4b73f8960d98da11ec2b9fe055dc2c96
Last active July 15, 2020 17:43
A rudimentary implementation of client side commands.
@Mod.EventBusSubscriber(modid = MODID, value = Dist.CLIENT)
public class ClientChatListener {
private static CommandDispatcher<CommandSource> commands = new CommandDispatcher();
static{
commands.register(Commands.literal("foo").executes(context -> {
context.getSource().sendFeedback(new StringTextComponent("bar"), false);
return 1;
}));

FAP 2020

(Original Document by FinnT730 https://docs.google.com/document/d/10NTvlmXGI8CsRLR58GmL0AP8vc99NYy7g7650AP6A7I/edit#)

LTS

  • Would forge consider a rolling style LTS? Say supporting one extra LTS version for critical bugs/security fixes only (no new features, no discord/forums support for users) while servers are in the process of updating to a fully supported version?

The Idea was that each LTS version got support for 2 versions at least (12 months). They might turn 1.15 into the next LTS and then go with every 2 versions cycle, or deciding

  • Regarding LTS, if one wanted to support only one major MC version, which one is it recommended to support - LTS, or latest? Is it not determined (yet?)?

The purpose of the LTS was to give modpack creators a larger time frame to make modpacks. Also the LTS does also get Features backported to it.

@JTK222
JTK222 / (1.12) ArmorBaseModel.java
Last active November 3, 2020 09:11
An example .java file for a custom Armor Model
//This is the base class, it does handle about 90% of the actual work.
//Just copy the class into your project.
//Methods that you shouldn't mess with are final
//See ArmorModelImplementation.java for an example Model using this
public abstract class ArmorBaseModel extends ModelBiped {
protected final ModelRenderer armorHead;
protected final ModelRenderer armorBody;
protected final ModelRenderer armorRightArm;
protected final ModelRenderer armorLeftArm;
protected final ModelRenderer armorRightLeg;
@JTK222
JTK222 / switch.json
Created July 5, 2019 23:58
This is an example JSON file for a data driven GUI Render Library
{
"width": 24,
"height" : 12,
"textures": {
"default" : {
"location": "mimasu:base/switches",
"width": 48,
"height": 24
}
},
@JTK222
JTK222 / answers.md
Last active June 8, 2020 06:48
Forge annual Parley - 2019 questions

Most important Question

Q: What's the story of the Squirrel?
A: ?

General

Q: Will the support for 1.12.2 end? And will we get another recommended build for 1.12?
A: The support will end once 1.14 gets a recommendet build. And there should be another Recommended build.

Q: Will 1.13.2 be left as it is, or be continued parallel to 1.14?
A: It will propably be left as it is, as 1.13 is to unstable in the first place.