Giter Site home page Giter Site logo

api's Introduction

API

Join our Discord Developer Releases GitHub Codacy Badge

This repository will contain a multi-project Gradle setup for Minecraft APIs. (Spigot, Forge, Sponge, Velocity, Bungee etc.)

Join the discord for further assitance.

How to use

You will need to add the following to your build.gradle in the repositories section:

  maven {
       url "https://maven.envyware.co.uk/releases"
  }

Then in the dependencies section you'll need to add

  shadow "com.envyful.api:commons:4.0.1"

My API is designed to be shaded into the JAR file so if you need more information on how to do that please find it here

The latest version of my API can be found in my Discord server in the #api-changelog channel. This channel is where I post detailed information about what changed between each version

api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

api's Issues

jar

no have .jar release

id from SaveManager#loadAttribute is null

After loading a specific player's attribute via SaveManager#loadAttribute, the UUID from id is null. Surely as the UUID has been provided, it would be set and therefore not be null?

Tab-Completions missing when there's both subcommands and arguments

I have a command (let's call it yesno) with a single subcommand (let's call it maybe). yesno has an implementation with a single completable argument. When I write /yesno , it shows the completable options of yesno's argument, but does not show the maybe subcommand as an option, though it does recognize the command when I write it anyway.

UtilConfigItem.Builder() does not support multiple formatting codes

When using UtilConfigItem.Builder() to display a UI item, if there are multiple formatting codes (bold, italics, underlined, strikethrough, etc), only the last formatting code is used.

For example, calling an item "&6&l&mTest", only the "&6&m" is applied so the item is not bold

PokemonGeneratorConfig: impossible combinations

The PokémonGeneratorConfig is producing impossible combinations. When a combination is generated, they should be checked against each other and the stats to make sure it is possible.

For example: Female Gallade, Gallade can only be male.
image

[Issue]reforge16 has a large size jar after compiled

reforged16 mod has 76Mb after compiling via reobjShadowJar task, but forge16 doesn't have the same issue, it has only 3Mb after compiled.

This issue makes the shadow plugin shadow dependencies like minecraft and pixelmon, then let mods depend on reforged16 has a large size up to 90+Mb. Have seen sth about the exclude function from shadow doc, but it doesn't work, too.

Following is a file list inside the compiled reforged16 jar, most files are things from Minecraft and forge:
image

%breedable% placeholder inverted

Used in UtilSprite.java, in forge20 you are calling .replace("%breedable%", pokemon.hasFlag(Flags.UNBREEDABLE) ? true : false however this is inverted and will return breedable = true only when pixelmon have the unbreedable flag

[Feature]Methods of refreshing GUI

Hi there, I'm using this API to develop platform independent forge mod and it works well.
The problem is that I have no idea how to refresh gui after click since I need to remove sth from the gui after click.
Have seen that your bingo mod used GuiFactory.guiBuilder() and GuiFactory.paneBuilder(), there're clickHandler()s in every elements which are used to execute some commands, wonder if I can add sth in this code block to implement "remove then refresh" logic.

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.