Skip to content

@kerbybit kerbybit released this May 30, 2020 · 2 commits to master since this release

Did the bug fixes and fixed every bug no more bugs

Assets 4

@mattco98 mattco98 released this Apr 25, 2020 · 12 commits to master since this release

  • Updated Rhino to latest version
    • Includes lots of spread and rest improvements
  • Added FileLib.append
  • Improved mod stability
Assets 3

@mattco98 mattco98 released this Mar 30, 2020

  • Fixed an offline crash related to capes and image assets
  • Fixed crash related to sign lines being nullable
  • Fixed update checker for the 27th time
  • Fixed gameLoad/gameUnload/worldLoad/worldUnload triggers
  • Fixed ASM classpath error on game startup
Assets 3

@mattco98 mattco98 released this Mar 9, 2020 · 53 commits to master since this release

  • Update Rhino to fix an importing bug involving importing from directories
Assets 3

@mattco98 mattco98 released this Mar 8, 2020 · 54 commits to master since this release

  • Added FieldBuilder and RemoveBuilder to the ASM helper
    • Accessible via ASM.removeBuilder and ASM.fieldBuilder
Assets 3

@mattco98 mattco98 released this Mar 7, 2020 · 63 commits to master since this release

CT Changes

Added coremod (ASM) support. Checkout the ASM Injection wiki page for more information.

Assets 3

@mattco98 mattco98 released this Mar 6, 2020 · 78 commits to master since this release

CT Changes

  • Fixed /ct settings
  • Added entityDamage, entityDeath, attackEntity, and hitBlock triggers
  • print now handles undefined values
  • Item#getItemNBT now returns an NBTTagCompound object
  • Added syntax highlighting to the console, as well as a multiline input text area
Assets 3
Pre-release
Pre-release

@mattco98 mattco98 released this Feb 28, 2020 · 102 commits to master since this release

CT Changes

  • Trimmed console stack traces to only include relevant information
  • Image.draw now respects Renderer transforms
  • Added Player.draw and PlayerMP.draw as an alias Renderer.drawPlayer
  • PlayerMP methods now return null instead of crashing
  • Added postGuiRender trigger
    • Like renderOverlay, but runs after the currently open GUI screen is drawn. Use this trigger if you need to draw over a GUI, such as the chat GUI
  • Added Client.disconnect()
  • Added extensive console polyfill to providedLibs. See MDN's console documentation for method details
  • Fixed /ct settings not displaying due to a bad image URL
  • Switched from Mixins to ASM
    • This means that certain mod incompatibilities should no longer be a problem. For example, Frames+ now works with ct (note that the spawnParticle trigger is disabled if you have Frames+ present)
    • ct is now compatible with LiteLoader
  • Reduced the jar size by over half

Rhino changes:

  • Added partial application
  • Added operator overloading (see below)
  • Added inline exporting support
  • Added logical assignment operators
  • Importing from a directory now looks for an index.js file instead of throwing an error
  • Constructing a Java class without new is an error
  • Fixed const variables sometimes not retaining their value
  • Classes are now block-scoped
  • Allowed const variables in for loops, as well as disallowed assignment in for-in loops in strict mode

Operator overloading

This is a modification of a stage 0 ECMAScript proposal that we thought was useful enough to implement. A brief example is included below; feel free to ask us for help if you need more information.

class Foo {
  constructor(num) {
    this.num = num;
  }

  [Symbol.operator('+')](other) {
    return new Foo(this.num + other.num);
  }

  [Symbol.unaryOperator('-')]() {
    return new Foo(-this.num);
  }
}

const foo1 = new Foo(5);
const foo2 = new Foo(10);
const foo3 = foo1 + foo2;
print(foo3.num);     // prints 15
print((-foo3).num);  // prints -15
Assets 4
Pre-release
Pre-release

@mattco98 mattco98 released this Jan 4, 2020 · 136 commits to master since this release

  • Updated cape textures
  • Added Item#getRawNBT()
  • Update to the latest version of our Rhino fork.
Assets 4
Pre-release
Pre-release

@kerbybit kerbybit released this Dec 23, 2019 · 142 commits to master since this release

  • Rearranged overloaded Inventory.click and fixed it
  • Added Client.isControlDown
  • Added Client.isShiftDown
  • Added Client.isAltDown
  • Fixed Entity.getLastZ
  • Updated to the latest fork of rhino. Keep updated with rhino changes on our fork
Assets 4
You can’t perform that action at this time.