Pre-release

@kerbybit kerbybit released this Sep 26, 2018 · 6 commits to master since this release

Assets 4

This is a pre-release of 0.17
Things might be broken or changed from 0.16.x
Change log will be available for full 0.17 release

Pre-release

@kerbybit kerbybit released this Aug 17, 2018 · 21 commits to master since this release

Assets 4
  • Fixed ChatLib.removeFormatting(string)
  • Added PlayerMP.getActivePotionEffects()
  • Added supporting back-end to make cross version support super easy
Pre-release

@kerbybit kerbybit released this Aug 10, 2018 · 33 commits to master since this release

Assets 3
  • Added some website magic shenanigans
  • Fixed some editChat issues
  • Fixed some userdocs thanks to @ThePoptartCrpr
Pre-release

@kerbybit kerbybit released this Jul 31, 2018 · 41 commits to master since this release

Assets 4
  • Added Display.getWidth()
  • Added Display.getHeight()
  • Added FileLib.getUrlContent(url, userAgent)
Pre-release

@kerbybit kerbybit released this Jul 22, 2018 · 49 commits to master since this release

Assets 3
  • Added ActionBar trigger that acts exactly the same as a Chat trigger docs
  • Fixed Display constructor
  • Improved error reporting
  • Added a Sign wrapper object to be returned with Player.lookingAt() docs
  • Changed XMLHttpRequest.setCallbackMethod to a trigger to accept anonymous functions as the argument
  • Fixed cancelling sounds
Pre-release

@kerbybit kerbybit released this Jul 9, 2018 · 60 commits to master since this release

Assets 3

Potion Effect

Potions effects now have their own wrapper that is much more in depth than what getting the player's active potion effects used to be. This means that Player.getActivePotionEffects now returns a list of PotionEffects instead of a list of Strings

var myDisplay = new Display();

register("tick", function() {
     myDisplay.clearLines();
     Player.getActivePotionEffects().forEach(function(effect) {
          myDisplay.addLine(
               effect.getName() + " " + 
               effect.getAmplifier() + " " + 
               effect.getDuration()
          );
     }
});

PotionEffect docs

Miscellaneous

  • Added ChatLib.actionBar(String/Message/TextComponent)
  • Added Message.actionBar() and TextComponent.actionBar()
  • Added KeyBind.getKeyCode and KeyBind.setState(boolean)
  • Fixed the config getting initializing too late and causing a rare crash
  • Added Message.toString() and TextComponent.toString() for easier debugging
  • Fixed sound triggers
Pre-release

@kerbybit kerbybit released this Jun 12, 2018 · 80 commits to master since this release

Assets 3

Capes

  • Added developer capes
  • Added supporter capes for anyone who donates to the patreon

Message and TextComponent

  • Fixed instancing Message from a chat event
  • TextComponents generated from a Message with chat event now have proper click and hover events
  • Added Message.setTextComponent(index, component)
  • Added Message.addTextComponent(component)
  • Added Message.addTextComponent(index, component)

Display

  • Display can now be instanced with config options similar to Sound
  • DisplayLine can now also be instanced with config options
Pre-release
Pre-release

@kerbybit kerbybit released this Jun 5, 2018 · 89 commits to master since this release

Assets 3

Sound object

custom sounds can now be played without loading them into a resource pack first.

var mySound = new Sound({
     source: "location/mySoundFile.ogg",
     stream: true,
     volume: 1.0
});

register("worldLoad", function() {
     mySound.play();
});

See the javadocs for more options [docs]

We are experimenting with this way to instance new objects. This will probably be the way to set up things like displays, GUIs, and other objects in the future.

Item additions

We have added some new ways to control the way that items are shown and read from.

Player.getHeldItem().getLore();

register("itemTooltip", function(lore, item) {
     if (item == Player.getHeldItem()) {
          lore.clear();
          lore.add("main hand");
          lore.add(1, "example");
     }
}

[register docs]
[item docs]

Message addition

Messages can now be constructed using the ClientChatRecieved event that is passed through a trigger. This is super useful for getting different clickable parts of a message and what they do.

register("chat", function(event) {
     var myMessage = new Message(event)
     for (var i = 0; i < myMessage.getMessageParts(); i++) {
          myMessage.getMessageParts()[i].chat();
     }
});

[message docs]

Miscellaneous

  • Fixed importing a module that requires another module loading in the wrong order
  • Added a chunk wrapper [chunk docs] [World.getChunk(x,y,z)]
  • Added a way to return the minecraft entity from the Entity wrapper [Entity.getEntity()]
  • Added an installed module list to the crash report for easier debugging
  • Fixed some bugs with PlayerMP and added an Entity.getUUID()
  • Added "ignored" flag to module metadata to ignore specific files from loading
  • Fixed memory leaks when running /ct load
  • Fixed module metadata crashing if created incorrectly
Pre-release

@kerbybit kerbybit released this May 23, 2018 · 125 commits to master since this release

Assets 3

Bug Fix

  • Fixed displays and GUIs causing concurrent modification crashes when running /ct load
  • Updated some missing docs
Pre-release

@kerbybit kerbybit released this May 16, 2018 · 132 commits to master since this release

Assets 3

General Bug Fixes

  • Fixed wording on the update checker
  • Fixed re-importing a module not deleting files