Skip to content

v1.2.0

Choose a tag to compare

@BorpBorp BorpBorp released this 12 Feb 01:34
· 65 commits to main since this release

This release adds new events, libraries and some more library extensions.

Doc files have been updated to contain a bit more information for the in work Doc page

Changes to syntax

I had realized late into making events, they had been using camelCase instead of PascalCase. All those Events functions and Objects have been converted to PascalCase

Removals

ComponentLib has been removed, will return in the next update as a different format style due to restrictions between Lua and Java

Bug Fixes

Chat.broadcast will no longer return a Lua Table object into chats, it now will return either Component or String into chats

Events

onBlockPlace has been added with the applicable functions below.

  • GetHand
  • CanBuild
  • GetBlockAgainst
  • GetBlockPlaced
  • GetItemInHand
  • SetBuild
  • CanPlace
  • Player

Libraries

Villager Library

Villager Library has been added with a few basic functions to get it going. More will be added in the future.

  • SetVillagerType
  • GetVillagerType

EquipmentSlot

EquipmentSlot Library has been added with its few basic functions. More will be added in the future if necessary.

  • IsArmor
  • IsHand

Player

Player had a few more functions added to it

  • SetDisplayName
  • GetDisplayName

Blocks

Blocks had a new entry function

  • GetLocation

Location

Location received a new entry function

  • SetBlockAtLocation

Entity

Entity received a few more entry functions

  • GetLocation
  • Teleport