Skip to content

Version 5.2.0

Compare
Choose a tag to compare
@Siroshun09 Siroshun09 released this 18 Jan 03:37
· 801 commits to main since this release
a96dfbd

New Features

LWC Protection Type SUPPLY Support

This protection type is currently available in OKOCRAFT version of LWCX.

StockEvent Cause API

Added StockEvent.Cause interface to indicate why a StockEvent fired.

About StockEvent.Cause

This is an interface, so the developers can extend this to pass additional information to the event.

If no additional information is needed, an instance can be created via Cause#create(String).

StockEvent.Cause List

Cause of the StockEvent called by the bundled features such as Command Execution, Craft, GUI, Box Stick, etc. are already implemented.

The list of Causes by bundled modules can be found in Javadoc.

Add more argument types of BoxAPI#isDisabledWorld

Added BoxAPI#isDIsabledWorld(World) and BoxAPI#isDIsabledWorld(String)

Changes

  • Remove old category API
  • Change docTitle and set windowTitle (Javadoc)
  • Return an default replacement item to Box directly such as bowl, glass bottle, and bucket
  • Refactor StickListener