Code Monkey home page Code Monkey logo

ae2wirelessterminallibrary's Introduction

build main Curseforge downloads Modrinth downloads Modrinth Versions

Applied Energistics 2 Wireless Terminals

This is a Neoforge port of Wireless Crafting Terminal, Wireless Pattern Terminal, Wireless Interface Terminal, Wireless Fluid Terminal and Wireless Terminal Library

It features several wireless versions of Applied Energistics 2 terminals with support for a Quantum Bridge Card, which allows terminals to work from everywhere and even across dimensions.

It also adds a wireless universal terminal which has all wireless terminals in one item

Missing Features / Known Issues

  • Displaying Trinkets in wireless crafting terminal

License

API

Like ae2, ae2wtlib is available on modmaven

repositories {
    maven {
        url = uri("https://modmaven.dev/")
        content {
            includeGroup "appeng"
            includeGroup "de.mari_023"
        }
    }
}

ae2wtlib has an api, which is what you should compile against when making integrations with ae2wtlib

dependencies {
    implementation("de.mari_023:ae2wtlib_api:VERSION")
    runtimeOnly("de.mari_023:ae2wtlib:VERSION")
}

If you want to add your own terminals, you should jar-in-jar ae2wtlib_api

dependencies {
    jarJar(implementation("de.mari_023:ae2wtlib_api:VERSION"))
    runtimeOnly("de.mari_023:ae2wtlib:VERSION")
}

If you want to add upgrades to ae2wtlib terminals, you can use UpgradeHelper#addUpgradeToAllTerminals

addUpgradeToAllTerminals(upgradeCard, maxSupported);
// use 0 to add the maximum amount of upgrades the terminal can fit
addUpgradeToAllTerminals(upgradeCard, 0);

Adding terminals

For a simple example of a wireless terminal, you can look at the Wireless Pattern Access Terminal. The related classes are ItemWAT, WATMenu, WATMenuHost and WATScreen

For registration, you need to listen to the AddTerminalEvent (it isn't actually an EventBus event)

AddTerminalEvent.register(event -> event.builder(
        ...
).addTerminal())

The builder has some additional methods for overriding properties that are inferred from other attributes, like WTDefinitionBuilder#translationKey

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.