Skip to content

Dev -> Master v1.3.0 #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 6, 2020
Merged

Dev -> Master v1.3.0 #25

merged 9 commits into from
Aug 6, 2020

Conversation

astorks
Copy link
Owner

@astorks astorks commented Aug 6, 2020

What's New

Minecraft 1.16 support

Now targeting minecraft 1.16.1, the plugin should work with any version 1.13-1.16

Typescript exporter now supports the spigot api

  • The TypeScript exporter now supports the spigot api allowing access to spigot features like the action bar api.

TypeScript Example:

import ChatMessageType from '../lib/net/md_5/bungee/api/ChatMessageType.js';
import ComponentBuilder from '../lib/net/md_5/bungee/api/chat/ComponentBuilder.js';
import SpigotChatColor from '../lib/net/md_5/bungee/api/ChatColor.js';

...

let componentBuilder = new ComponentBuilder("Hello World!!").color(SpigotChatColor.AQUA);
player.spigot().sendMessage(ChatMessageType.ACTION_BAR, componentBuilder.getParts());

...

JavaScript Engine

  • Updated the JavaScript engine to the latest GeaalJS v20.1

Python Engine

  • Currently disabled the python engine, will be re-enabled later on.

Added ScriptablePluginEngine.getPluginInstance() to resolve a scriptable plugin instance.
Fixed additional List and Collection return types in typescript generation.
Updated the typescript library generator.
Updated script engines to GraalVM 20.1
Disabled the python engine for now while I focus on the javascript engine.
@astorks astorks merged commit da609cc into master Aug 6, 2020
@astorks astorks deleted the dev-1.3.0 branch June 13, 2021 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant