b466ff932b
Support terminal user tracking on robots. Unused for now, but we claim it exists in the documentation, and it doesn't hurt to pre-emptively do so.
Florian Nücke
2022-01-07 07:51:31 +01:00
998dab052b
Reduce Side util class API surface a bit.
Florian Nücke
2022-01-07 07:50:33 +01:00
94e57af093
Some documentation improvements.
Florian Nücke
2022-01-07 07:48:40 +01:00
3d612f6435
Sample program for redstone device
Bs0Dd
2022-01-03 15:52:47 +01:00
bb88e8b6c4
Don't ignore bin from scripts
Bs0Dd
2022-01-03 15:50:17 +01:00
edc43c3664
Add info on Github package repo credentials to readme.
Florian Nücke
2022-01-02 15:22:01 +01:00
b656e27f43
Put some more effort into avoiding listeners keeping references to things that may otherwise be garbage collected.
Florian Nücke
2022-01-02 15:11:53 +01:00
143be7cea1
Patch the stack size in item stack serializer to support stacks with size that does not fit into NBT serialization (which uses byte). Fixes#61.
Florian Nücke
2022-01-01 19:12:09 +01:00
72b7774a57
Ensure slot info icons render on top of slot content icon and wrap slot info tooltips.
Florian Nücke
2022-01-01 08:51:48 +01:00
079bff36d2
Avoid trying to access unloaded chunks when collecting devices. Should fix#85.
Florian Nücke
2022-01-01 08:16:59 +01:00
0da6f68455
Store cable linking in player instead of in static list.
Florian Nücke
2022-01-01 07:57:02 +01:00
3fab593a3c
Autoformat and organize imports.
Florian Nücke
2021-12-31 02:36:29 +01:00
bbf487d404
Various Java 17 usages, renamed some things to match official mappings (world -> level, tile entity -> block entity).
Florian Nücke
2021-12-31 02:02:53 +01:00
3f09a5f8df
Started porting to 1.18.1.
Florian Nücke
2021-12-30 14:12:54 +01:00
3bf735aa1c
Avoid NRE for invalid bus interface placements. Should fix#67.
Florian Nücke
2021-09-18 13:00:48 +02:00
7e85ee2f18
Minor cleanup (sprinkling final, de-duplicating old code).
Florian Nücke
2021-09-18 12:47:06 +02:00
bef8c9940b
Allow selecting files by dragging and dropping them
Jonathan Coates
2021-08-22 21:03:13 +01:00
716c850e44
Make serialization of grouped bus element more flexible. Pull out device collection to util method.
Florian Nücke
2021-08-03 02:53:36 +02:00
a3edc7e216
Avoid device duplication due to synthetic name device.
Florian Nücke
2021-08-03 02:51:37 +02:00
e481c42f82
Make charger an RPC device, getter for whether currently charging.
Florian Nücke
2021-08-03 01:59:58 +02:00
343941b0f0
Some more static imports for consistency.
Florian Nücke
2021-08-03 01:59:28 +02:00
ecafd10e6f
Allow special case @Callback, accepting exactly one JsonArray parameter. In this case we pass on the parameters as-is for manual processing.
Florian Nücke
2021-08-03 00:40:20 +02:00
d853cb0817
Added a sound card, can play back sound events. Yeah, super random, but I felt like it, and it's a nice self-contained example commit on what it takes to add an item device.
Florian Nücke
2021-08-03 00:22:07 +02:00
80e5868e70
Fixed parameter name passage.
Florian Nücke
2021-08-02 23:34:15 +02:00
94917a015d
Less unsafe.
Florian Nücke
2021-08-02 23:31:46 +02:00
6d5041d0e6
Missed some changes for 944ed7d223.
Florian Nücke
2021-08-02 23:31:13 +02:00
582eeba505
Shared base class for item RPC devices.
Florian Nücke
2021-08-02 23:30:38 +02:00
653dc8321c
Make computer and disk drive non-rotatable; refreshing bus connectivity effort not worth it.
Florian Nücke
2021-08-02 23:29:10 +02:00
944ed7d223
Improve wrenching behavior for disk drive and computer.
Florian Nücke
2021-08-02 23:25:30 +02:00
d9d5ff6c36
Allow picking facade or interface on cable.
Florian Nücke
2021-08-02 22:57:49 +02:00
553d147f08
Fix bus interface screen text input.
Florian Nücke
2021-08-02 22:13:41 +02:00
2b1544d9bc
Fix front/back for Side enum.
Florian Nücke
2021-08-02 21:50:55 +02:00
316828179b
Also craft robot with included flash by default.
Florian Nücke
2021-08-02 00:51:52 +02:00
bc1cbb4150
Notify RPCDevices when machines suspends to allow releasing unmanaged resources. Used in file import/export card to remove entry from stat list of pending operations.
Florian Nücke
2021-08-02 00:34:36 +02:00
75c8a18e9d
Reduce visibility of some methods for clarity.
Florian Nücke
2021-08-02 00:16:30 +02:00
df0c1c776a
Fix facades for blocks with different render layers. Play sound from facade block instead of cable block when placing/removing facades.
Florian Nücke
2021-08-01 23:46:19 +02:00
6e483501d4
Concurrency bug in RPCDeviceBusAdapter.java fix
ktlo
2021-08-01 20:50:53 +03:00
2ccd198ffe
First drafts for more topic overview manual entries.
Florian Nücke
2021-08-01 18:15:57 +02:00
fddcee9949
Completely reworked blob storage. No longer care for potential desync between blob storage and world data on crashes. Use blobs as memory mapped byte buffers for drastically reduced memory usage.
Florian Nücke
2021-07-19 23:43:31 +02:00
ab4d0ad3c3
Rename load/unload to mount/unmount, add suspend for temporary unload (e.g. containing chunk unload).
Florian Nücke
2021-07-19 23:38:29 +02:00