Java mod library

Overview

GasLirary

GasLirary is a Mindustry java mod library for making new content type: Gas. banner2

Usage/Examples

Gas creating

Gas is created in the same way as Item or Liquid, but in terms of parameters it is very similar to Liquid YourGasses.java

package example;

import arc.graphics.Color;
import gas.type.Gas;
import mindustry.ctype.ContentList;

public class YourGasses implements ContentList {
    public static Gas oxygen;
    @Override
    public void load() {
        oxygen=new Gas("oxygen"){{
            color = Color.valueOf("bcf9ff");
            flammability = 0.7f;
            explosiveness = 0.9f;
        }};
    }
}
Adding gas to block consumes

Add this line

consumes.addGas(new ConsumeGas(YourGasses.gas, amount));

to your block initialization like this:

new GasBlock("your-block"){{
    consumes.addGas(new ConsumeGas(YourGasses.gas, amount));
}};

You can see all the classes and static method added by the mod here If you did not find the class you need, then you can make a Pull request or Issues.

Mindustry Mod By Zelaux

Resources

Authors

  • Zelaux(main-programmer)

Installation Guide

1.Via .jar File

  • 1.Go to releases.

  • 2.Download the latest .jar file.

  • 3.Launch Mindustry.

  • 4.Open "Mods".

  • 5."Import Mod".

  • 6."Impot File"

  • 7.Find file with name "GasLirary.jar" and click "load".

  • 8.Play!

2.Via Mod Browser

  • 1.Go to in-game Mod Browser.

  • 2.Find "GasLirary" in mod list.

  • 3.Download.

Build Guide

PC

  • 1.Download intelijIDEA.

  • 2.Clone this repository.

  • 3.When importing is end, go to Intelij console and type:

Windows MacOSX Linux
gradlew jar ./gradlew jar ./gradlew jar
  • 4.When compilation is end, your build will be in "build/libs" Download

Depend via Maven:

<dependency>
	    <groupId>com.github.Zelaux.GasLirary</groupId>
	    <artifactId>core</artifactId>
	    <version>v1.4</version>
</dependency>

or Gradle:

dependencies {
        implementation 'com.github.Zelaux.GasLirary:v1.4'
}

And don't forget to add the dependency to your mod.(h)json

dependencies: ["gas-library-java"]
You might also like...

A Minecraft Java mod that adds 48 pieces of functional, decorative and unique furniture that fit with the vanilla style.

A Minecraft Java mod that adds 48 pieces of functional, decorative and unique furniture that fit with the vanilla style.

FurniDeco ( 🚧 WIP) FurniDeco adds 25 pieces of functional, decorative and unique-looking furniture that fit with the vanilla style. With more than 80

Jul 3, 2022

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Sequel to Heavy Armaments Industries, a mod for mindustry written in Java

Dec 30, 2022

A Java mod meant to add new things to the current Erekir's progression

Erekir Expansion A Java mod meant to add new things to the current Erekir's progression. Fun Fact: I used my private JS mod version, Flar Expansion v1

Dec 18, 2022

The Minecraft Mod API

Bukkit A Minecraft Server API. Website: http://bukkit.org Bugs/Suggestions: http://leaky.bukkit.org Contributing Guidelines: CONTRIBUTING.md Compilati

Dec 31, 2022

A Forge mod that implements SpongeAPI

SpongeForge Currently not stable and under heavy development! A Forge implementation of the Sponge API. Homepage Source Issues Documentation Community

Dec 20, 2022

πŸ—ΊοΈ Minecraft map editor and mod

A Minecraft Map Editor... that runs in-game! With selections, schematics, copy and paste, brushes, and scripting! Use it in creative, survival in sing

Jan 1, 2023

Essentials - Minecraft server command mod - Adds over 100 commands for use in-game to help manage a server

Essentials Development Readme The official repository is at: https://github.com/essentials/Essentials We use NetBeans 7.3 for development. Recommended

Jan 7, 2023

A minecraft mod that allows additional windows to be opened alongside the game

Breakout API BreakoutAPI is a Minecraft mod which allows developers to create new windows that run alongside Minecraft. All the windows run on the sam

Jan 3, 2023

A Minecraft Mod for Fabric which aims to make Block Entity rendering faster and more customizable with almost no compromises.

A Minecraft Mod for Fabric which aims to make Block Entity rendering faster and more customizable with almost no compromises.

Enhanced Block Entities EBE is a 100% client side mod for Minecraft on the Fabric mod loader which aims to increase the performance of block entity re

Dec 30, 2022
Owner
null
Nuclear-Mines-Mod - A mod adding radiation-related items to Mindustry (radioactive materials, new guns, etc.)

Nuclear Mines (VERY EARLY BUILD) A Mindustry mod adding more radiation-based items to the game. THIS IS A VERY EARLY VERSION. NOT EVERYTHING IS FINISH

null 6 Sep 3, 2022
Addon to the Minecraft Forge/Fabric mod InvMove that adds mod compatibilities

Addon to the Minecraft Forge/Fabric mod InvMove that adds mod compatibilities

David M. 3 Oct 21, 2022
Duck Library is a library for developers who don't want to spend their time to write same library consistently.

Duck Library is a library for developers who don't want to spend their time to write same library consistently. It has almost every useful feature to

null 5 Jul 28, 2022
Java mod library

GasLirary GasLirary is a Mindustry java mod library for making new content type: Gas. Usage/Examples Gas creating Gas is created in the same way as It

null 10 Jan 2, 2023
Java mod library

AdvancedContentInfo AdvancedContentInfo is a Mindustry java mod library for making out stats and stats categories. Usage/Examples You can initialize y

null 8 May 28, 2022
TerraBlender is a library mod for adding biomes in a simple and compatible manner with Minecraft's new biome/terrain system.

https://discord.gg/GyyzU6T TerraBlender is a library mod for adding biomes in a simple and compatible manner with Minecraft's new biome/terrain system

Glitchfiend 31 Dec 12, 2022
A library for mod dependencies.

MagicLib δΈ­ζ–‡ Warning: The project is still in the early development stage. A library for mod dependencies. Development Mappings We are using the Mojang

にゃんけゃん 22 Jan 7, 2023
A Mindustry mod library provides a multiple-recipe crafter to produce items, fluids, power or even heat for Json and JavaScript mods.

MultiCrafter Lib A Mindustry MultiCrafter lib-mod for Json and JavaScript mods. Please check the instruction. How to Use Please check the instruction

Li plum 24 Dec 27, 2022
Run Fabric Mods on Forge! It's an mod loading api, too (not implemented yet). No any releationship between Python library PILlow.

Pillow Mod Loader δΈ­ζ–‡ | English Quilt that runs on Forge Not implemented yet. Yes, you can believe it. This mod will make Quilt compatible with Forge.

null 18 Dec 20, 2022