Florian Nücke
bcaec00b49
Use query factory for item validity checks.
2021-05-09 12:21:34 +02:00
Florian Nücke
0e949ec9f0
Rename for clarity.
2021-05-09 12:19:52 +02:00
Florian Nücke
6aee30c29c
robot doc
2021-05-09 12:17:59 +02:00
Florian Nücke
abdeb7cb75
Task to copy generated files to resources.
2021-05-09 12:17:38 +02:00
Florian Nücke
b80f80644e
Update Forge.
2021-04-28 15:30:12 +02:00
Florian Nücke
dd47da12d5
Organize imports.
2021-04-05 12:34:22 +02:00
Florian Nücke
4d6b6551a9
Update imports.
2021-04-05 12:33:23 +02:00
Florian Nücke
45382cf09e
Split up memory and hdd variants into separate items.
...
Adjusted some recipes.
Added remaining recipes.
2021-04-05 11:42:50 +02:00
Florian Nücke
6ff3d844f2
Kicked out a bunch of purely intermediate crafting items.
2021-04-05 01:07:24 +02:00
Florian Nücke
215a983f8c
Recolor using vanilla facilities.
2021-04-05 01:06:26 +02:00
Florian Nücke
80a4914a62
Merge remote-tracking branch 'lucsoft/feature/crafting' into feature/crafting
...
# Conflicts:
# src/main/java/li/cil/oc2/common/Constants.java
# src/main/java/li/cil/oc2/common/Main.java
# src/main/java/li/cil/oc2/common/item/Items.java
# src/main/java/li/cil/oc2/data/DataGenerators.java
# src/main/resources/assets/oc2/lang/en_us.json
# src/main/resources/assets/oc2/textures/item/arithmetic_logic_unit.png
# src/main/resources/assets/oc2/textures/item/control_unit.png
# src/main/resources/assets/oc2/textures/item/disk_platter.png
# src/main/resources/assets/oc2/textures/item/microchip.png
# src/main/resources/assets/oc2/textures/item/pcb.png
# src/main/resources/assets/oc2/textures/item/transistor.png
2021-03-27 20:16:41 +01:00
Florian Nücke
32c5a57c5d
Removed dead TODOs.
2021-03-27 20:12:25 +01:00
Florian Nücke
94b7f3c483
Support multi-dimensional buses.
...
This is just future-proofing; no built-in capability to actually use this. For now.
2021-03-27 20:08:17 +01:00
Florian Nücke
aa996d50c5
No longer need TileEntity.getModelData.
2021-03-07 23:52:05 +01:00
Florian Nücke
10e9b1177a
Update to 1.16.5.
2021-03-07 23:51:33 +01:00
Florian Nücke
40a2c5fa25
Interfaces can now be given a custom label.
...
This will act as an additional device name, which allows referencing them by this label.
2021-03-07 15:15:03 +01:00
Florian Nücke
e49f6cd5a1
Make icons a little less flat.
2021-03-07 15:14:05 +01:00
Florian Nücke
a2c658fb09
Add utility method to check if entity is holding a wrench.
2021-03-07 15:13:25 +01:00
Florian Nücke
36b6d964be
Added non-toggle button class.
2021-03-07 15:03:42 +01:00
Florian Nücke
0efb515194
Enable robots to check their energy level.
2021-02-14 13:14:38 +01:00
Florian Nücke
376f77cb22
Make device energy cost configurable.
2021-02-14 13:13:08 +01:00
Florian Nücke
8dfa967f77
Bus and item devices can (and do) contribute to energy consumption.
2021-02-14 12:52:03 +01:00
Florian Nücke
4f3ef53ba7
Moved context stuff to own package.
2021-02-14 12:51:17 +01:00
Florian Nücke
6322d48cdf
Provide default capacity for energy tooltip.
...
Don't store energy of computer in item.
2021-02-12 01:08:44 +01:00
Florian Nücke
c196659cc1
Add logic for energy support, closes #3 .
...
Computer and robot now consume energy; constant amount per tick while running.
Added charger block to allow charging robots.
Charger can charge anything with IEnergyStorage capability and items with it in an ItemHandler on top of it.
Also some renames, mostly nbt -> tag.
2021-02-12 01:05:26 +01:00
Florian Nücke
924294d394
Ignore raw assets folder.
2021-02-12 01:01:30 +01:00
Florian Nücke
efa7a4260c
Fixed robot terminal output.
2021-02-12 01:01:13 +01:00
Florian Nücke
1029a85b6c
Tag fixes.
2021-02-11 16:38:54 +01:00
Florian Nücke
43b29523a7
Tag rename.
2021-02-09 18:24:43 +01:00
Florian Nücke
328bbbbeb4
Add data driven item stack tag filtering when exposing them to VM via serialization. Closes #5 .
2021-02-09 18:12:00 +01:00
Florian Nücke
1996a8addc
Improve cable/interface placement/breaking logic.
...
Can now place interfaces on their own, add cable later.
Can remove just cable via wrench.
2021-02-09 00:58:26 +01:00
Florian Nücke
41acc8b728
Make more noise.
2021-02-04 00:29:44 +01:00
Florian Nücke
3cff3b8bb5
Make some noise.
2021-02-03 13:37:23 +01:00
Florian Nücke
630d602eaf
Subtitle rewording.
2021-02-03 12:09:49 +01:00
Sangar
5802dcdb05
Merge pull request #23 from lucsoft/feature/sounds
...
Added sounds.
2021-02-03 12:07:13 +01:00
Sangar
d75a564d41
Merge branch '1.16.4' into feature/sounds
2021-02-03 12:06:19 +01:00
Florian Nücke
81ee809560
More events, fewer subclassing.
2021-02-03 01:09:52 +01:00
Florian Nücke
64a7776d38
Massive rework of the VM related data structures.
...
Feels clearer now wrt flow of logic.
Tracking used address ranges to avoid use of ranges taken by serialized devices.
Allow devices to request joining of worker thread; used for serialization.
2021-02-03 00:36:10 +01:00
Florian Nücke
e169e0cdb4
Actually use pausing event.
2021-02-02 13:32:14 +01:00
Florian Nücke
3e7ab48726
Use utility class.
2021-02-02 13:31:46 +01:00
Florian Nücke
641e910790
Synchronize initialization of callback methods map.
2021-02-01 10:01:24 +01:00
Florian Nücke
bd81afa74e
Made hard drives have customizable color.
2021-01-27 18:14:47 +01:00
Florian Nücke
0f3007bf57
Pushed creative tab filling into items/blocks.
2021-01-27 17:40:37 +01:00
Florian Nücke
c673e6c56c
Added first draft of working disk drive block and floppies.
2021-01-27 17:12:18 +01:00
Florian Nücke
03c3a4ee4a
Shuffling initialization methods around a bit.
2021-01-27 17:10:37 +01:00
Florian Nücke
421b79fde0
This seems to be the best practice going by vanilla code.
2021-01-27 17:09:20 +01:00
Florian Nücke
f097f68b40
Make block device base implementation more reusable.
2021-01-27 17:08:50 +01:00
Florian Nücke
2698d8dc85
Somewhat ugly support for proper non-item VMDevice address assignment.
2021-01-27 17:07:53 +01:00
Florian Nücke
e8ad4fb427
Tag fixes.
2021-01-27 17:06:02 +01:00
Florian Nücke
64403275de
Texture fixes.
2021-01-27 17:05:38 +01:00