Jonathan Coates

Results 140 issues of Jonathan Coates

It would be nice to save the state of the Lua VM. This should be possible when executing Lua Closures, but we will need to support `xpcall` and `pcall` functions....

enhancement

I've been drying to debug some slight FPS stutter I've been having on the client. One of the (many!) causes of this appears to be due to deserialising B&C block...

> It does not add any new dependencies for compiling, running or using the mod. I realise this is a bit of a long shot as it fails the first...

- Make window.reposition's argument validation a little more strict. Previously it would accept `window.reposition(x, y, width)` (no height argument), just not act upon it. - Use select instead of table.unpack...

Using `turtle.suck` on an inventory filled with tools would fill the entire chest with said item, rather than extracting a single item. In order to avoid that, we clamp the...

This replaces the existing `IMount` `openFor*` method with `openChannelFor*` ones, which return an appropriate byte channel instead. I've put a little more detail in the commit message about the implications...

This uses Netty's websocket functionality, meaning we do not have to depend on another library. ## API As websockets do not fit neatly into the standard polling socket model, the...

The method to register new `SoundEvent`s is private, which means that few (if any) mods actually register them. Consequently, one could not use the speaker to play any modded sound,...

This is an initial prototype for ways we could better integrate Lua's asynchronous functionality (coroutines) with peripherals and other Lua APIs. The existing system assumes that coroutines each have a...

- Try to make drop capturing a little more generic. This now allows for capturing a block's drop at a given position, as well as any drop within a bounding...