This repository holds the source code for TML (Tecknix Mod Loader)'s API.

Overview

Tecknix Mod Loader API

THIS API IS NOT COMPLETE AND WILL NOT YET ALLOW YOU TO MOD THE CLIENT

Discord

ATTENTION MODDERS! This repository contains the modding API not the MDK (Mod Development Kit). This repository will not give you the ability to mod Tecknix Client but you can contribute to the repository if you have events you would like to add.

What is this?

This repository holds the source code for TML (Tecknix Mod Loader)'s API. Inside this repository you will find the event system, menu addition, Bytecode transformers and the Mixin event hooks.

License

This repository is licenced under the GNU General Public License. Any additions or contributions must include the license header.

Setting up

  • Open the gradle project in Intellij IDEA or Eclipse.
  • Run "setupDecompWorkspace" then "setupCiWorkspace". Image


- Run "genIntellijRuns". Image
- Open the run configuration's settings and change the classpath. Image And you are done!

Contributing

Added an event? Amazing! Be sure to create a pull request with your changes on this repository. Remember to keep our Code Style in mind!

Code Style

Classes:

Classes should have a header containing a short description of the class' purpose.

    /**
     * TMTickEvent
     * 
     * This event is called in the {@link net.minecraft.client.Minecraft} class.
     * It can be used for calling things constantly on every tick of the game.
     * 
     * @author Tecknix Software
     */
    public class TMTickEvent extends TMEvent {
    
    }

Methods:

Methods should have a header including the purpose of the method, the author of the method and the method's parameters.

/**  
 * Post an event to the API. * * @param event Passes through the event to post.  
 * @author Tecknix Software.  
 */
 public static void post(final TMEvent event) {  
	  //Gets the content object from the map if the key matches that of this events class.  
	  final ArrayList<EventContent> contents = EVENT_REGISTRY.get(event.getClass());  
	  if (contents != null) {  
		  for (final EventContent content : contents) {  
				  event.invoke(content);  
		  } 
	  } 
 }

You might also like...

RealmeDirac - an open-source Android application written in java

RealmeDirac - an open-source Android application written in java

RealmeDirac is an open-source Android application written in java. RealmeDirac is a feature introduced by realme & dirac in realmeUI for sound optimisation, trying to recreate same thing, this is scratch written app aiming to provide same features as realmeDirac..

Feb 21, 2022

Masterful Machinery is a mod about creating customisable and complex multiblocks machines.

 Masterful Machinery is a mod about creating customisable and complex multiblocks machines.

Masterful Machinery Masterful Machinery is a mod about creating customisable and complex multiblocks machines. Everything in the mod is customisable w

Nov 12, 2022

An example mod that uses Vigilance and Essential with Java

Vigilance Example Mod (Java) I haven't really seen any mods that use Vigilance and Essential with Java, so here's a quick example mod I made. It's bas

Dec 25, 2022

A simple fabric mod which allows deepslate to be instamined

InstantDeepslate An extremely simple mod that allows you to instantly mine deepslate. This works by changing the blast resistance and break time value

Jan 31, 2022

A FabricMC Mod that allows you to give yourself a few Custom Cosmetics.

Cosmetics-Fabric A FabricMC Mod that allows you to give yourself a few Custom Cosmetics.

Apr 13, 2022

Java serialization library, proto compiler, code generator

Java serialization library, proto compiler, code generator

A java serialization library with built-in support for forward-backward compatibility (schema evolution) and validation. efficient, both in speed and

Dec 23, 2022

Auto Code Audit Framework for Java

Auto Code Audit Framework for Java

前言 笔者最近在研究java自动化代码审计这方面的内容,也看了一些相关的文章,其中主要是跟着4ra1n师傅的文章进行学习的。目前学到的有两种自动化审计思路,一是AST,二是ASM。前者基于java源代码,后者基于字节码。

Nov 30, 2022

Compilation of code scripts from the Fall 2021 semester of Intelligent Tunneling subteam.

VIP-Fall-2021 Compilation of code scripts from the Fall 2021 semester of Intelligent Tunneling subteam. Table of Contents Overview Data Normalization

Feb 2, 2022

API gateway for REST and SOAP written in Java.

Membrane Service Proxy Reverse HTTP proxy (framework) written in Java, that can be used as an API gateway as a security proxy for HTTP based integrati

Dec 31, 2022
Owner
Tecknix Client
The most sleek, modern and performance enhancing Minecraft experience.
Tecknix Client
An open-source component of TabLight project "Base-API"

DataAddons is a library (or framework?) created for Minecraft providing comfortable abstractions making additions over already existing data, generally, it is anti-pattern ans YOU SHOULDN'T USE IT in normal programms.

XXR 3 Mar 8, 2022
Simple way of causing a bsod using the native api implemented into a 1.12.2 Forge mod

Simple-BSOD-Mod Simple way of causing a bsod using the native api implemented into a 1.12.2 Forge mod. Dowload It HERE To make your own you can go to

INZO_Technologies 5 Dec 28, 2022
Repository to keep up with ViaVersion on MCP (Originally from https://github.com/LaVache-FR/ViaMCP)

ViaMCP-Reborn Repository to keep up with ViaVersion on MCP (Originally from https://github.com/LaVache-FR/ViaMCP) 1.7.x Protocols Yes, i know they are

null 109 Dec 28, 2022
This repository is for active development of the Azure SDK for Java.

This repository is for active development of the Azure SDK for Java.

Microsoft Azure 1.8k Dec 31, 2022
Live Access Serever 9 (repository: las9)

Live Access Serever 9 (repository: las9) This version of LAS has the following technical features. All configuration and management done using an Admi

Pacific Marine Environmental Laboratory 1 Mar 14, 2022
Repository for AMES Amperes 2022 Rapid React season

Repository for AMES Amperes 2022 Rapid React season

null 3 Nov 10, 2022
A Nexus Repository 3 plugin that allows usage of Terraform repositories

Nexus Repository Terraform Format Table Of Contents Developing Requirements Download Building Using Terraform with Nexus Repository Manager 3 Compatib

null 8 Dec 5, 2022
The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

yGuard yGuard is an open-source Java obfuscation tool. With yGuard it is easy as pie ( ?? ) to configure obfuscation through an extensive ant task. yG

yWorks GmbH 265 Jan 2, 2023
Cobaltstrike4.1 Source

CobaltstrikeSource Cobaltstrike4.1 Source 这是反编译后的Cobaltstrike4.1源码,修改了一点反编译后的bug,teamserver与agressor均能正常调试使用,若想自己修改调试那个文件只需把该文件复制到src下即可。 这是魔改Cobaltst

rooster 623 Sep 7, 2021
An open source, modular alternative of sketchware. Create your own app in android using block programming like scratch!

OpenBlocks An open source, modular alternative of sketchware. Create your own app in android using block programming like scratch! What is OpenBlocks?

OpenBlocks 30 Dec 16, 2022