teknomunk
74d3fff5ff
Change over redstone torcher (don't work), change hopper-comparator interaction again, start working on dig/place node handlers (doesn't work yet)
2024-06-15 07:09:53 -05:00
teknomunk
13888236d6
Implement comparator accurately and remove WIP, remove ABMs for comparators and make updates triggered instead of polled, changes to redstone power transmission
2024-06-15 07:09:53 -05:00
teknomunk
e5fb891d99
More fixes for minecart-hopper movement
2024-06-15 14:08:29 +02:00
teknomunk
94c1026ba3
Create mcl_util.metadata_timer, fix crashes, add checks to prevent hoppers from pulling from carts that are not in the square above it
2024-06-15 14:08:29 +02:00
teknomunk
f3b0ee67ed
Fix hopper-minecart interaction, convert ipairs(table) to use for i=1,#table instead
2024-06-15 14:08:29 +02:00
teknomunk
a4987f63e9
Remove do_movement dependency on the existence of a cart luaentity
2024-06-15 14:08:29 +02:00
teknomunk
f9e8f60a1c
Add groups to minecart entities (for containers), fix cart node watch handling, relocate hopper_push_to_mc in mcl_hopper/init.lua, implement hopper-to-minecart push using enter/leave hooks for both straight and bent hoppers
2024-06-15 14:08:29 +02:00
teknomunk
6c6bfcfcb2
Refactor enter/leave hook processing, add node watches for implementing hopper-to-minecart functionality (should properly handle heavy server lag without missing any time), temporarily disable hopper push/pull to minecart in mcl_hoppers, prepare to move minecart-specific on_step behavior out of main on_step function and to a minecart-specific handler
2024-06-15 14:08:29 +02:00
teknomunk
0fa067d3ee
Mostly fix carts stopping between powered rails (there is still some strangeness with acceleration physics)
2024-06-15 14:08:29 +02:00
teknomunk
8c6b011c91
Change connected railcar behavior to fix unreliable end of track stopping, set maximum acceleration of powered rails to 8 blocks per second (per https://minecraft.fandom.com/wiki/Powered_Rail ), stop powered rails from powering the block underneath it (allows below rail hopper to work while the rail is powered like in https://www.youtube.com/watch?v=szjO0-duTAk ), modify mcl_hoppers to allow triggering a hopper pull once the minecart is stopped on top of the hopper and wait before allowing the cart to move to allow redstone circuits time to process
2024-06-15 14:08:29 +02:00
teknomunk
f621e3c1de
Fix up formspecs on pre-0.87.0 beacons, fix typo
2024-05-30 10:51:45 +00:00
teknomunk
09c595c363
Fix two hopper clocks
2024-04-27 08:41:09 +00:00
teknomunk
6fbe60f1ac
Fix crash with undefined nodes
2024-04-27 08:41:09 +00:00
teknomunk
3705be24d7
Fix 'Undeclared global variable' warning
2024-04-27 08:41:09 +00:00
teknomunk
6ecb304946
make hoppers behave the same say regardless of the order the server processes the nodes by following a chain of hoppers to the end and processing back to the starting node and marking all those nodes as processed
2024-04-27 08:41:09 +00:00
Kostinatyn Tsiupa
1da7bb0bdc
hopper reimplementation
...
Reimplemented hoppers and all (blast_furnace, furnace, smoker, composters, double chaets, shulker_boxes, droppers, bookshelvs and brewing_stands) connected nodes
2023-11-27 14:33:01 +02:00
AFCMS
1065eb4d8c
Hooper formspec
2023-08-19 18:01:26 +02:00
AFCMS
54b119cffa
some things
2023-08-19 18:01:25 +02:00
anarquimico
c37aad26c3
Make hoppers push items to minecarts
2023-03-03 16:13:49 -06:00
kabou
92ee402971
Separate white dye from bone meal.
...
* Add craftitem for ":mcl_bone_meal:bone_meal" to mcl_dye (temporarily.)
* Add crafting recipe for bone meal.
* Add texture for white dye item.
* Merge craftitem registration for "mcl_dye:white" with generic dyes.
* Add crafting recipe for white dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update mcl_crimson and sweet berry on_rightclick handlers.
* Update composter output, both as freestanding and to hoppers.
* Update bone block crafting recipes.
* Update tropical fish, cod and salmon mob drops.
2022-12-29 03:08:50 +00:00
AFCMS
7a371dc846
Format file again
2022-12-10 22:38:08 +01:00
AFCMS
7deec7ae03
Refactor hopper -> composter ABMs
2022-12-10 22:38:08 +01:00
AFCMS
47eda5b69e
Only register hopper -> composter ABMs if composter mod is enabled
2022-12-10 22:38:07 +01:00
AFCMS
8d921c0671
Add some type annotations
2022-12-10 22:38:07 +01:00
AFCMS
804aa388b5
Some manual formatting
2022-12-10 22:38:07 +01:00
AFCMS
fcf9c35324
Use new vectors everywhere
2022-12-10 22:38:06 +01:00
AFCMS
9cc63ed716
Use table.concat
for formspec generation
2022-12-10 22:38:06 +01:00
AFCMS
c49f000894
Fix formating
2022-12-10 22:38:06 +01:00
anarquimico
507f14c317
Modified function and ABM
2022-11-15 00:01:28 -03:00
cora
489ef43458
Don't transfer whole stacks
2022-11-14 04:07:41 +01:00
ancientmarinerdev
70a7fb9387
Hoppers now take from hopper minecarts
2022-11-14 04:07:41 +01:00
anarquimico
3ef8838a11
Fixed indentation.
2022-11-12 06:28:36 -03:00
anarquimico
cb721f37ce
Fixed minor bug and removed TODO commentary
2022-11-10 21:11:32 -03:00
anarquimico
3072d44b66
Bugs fixed.
2022-11-08 19:18:35 -03:00
anarquimico
f61b072d39
Fixed compostable item comsumption.
2022-11-07 22:10:35 -03:00
anarquimico
91ef21c55b
Integrate hoppers with composter
2022-11-06 17:49:32 -03:00
kabou
5431e206b0
Fix hopper breakage in get_item_group return value.
...
In commit 55009c257e
that added vectors to
mcl_composters, mcl_hoppers was accidentally patched with a unrelated
change, updating it to get_item_group(). This mostly works, but in one
particular case the semantics of the return value differs. Instead of
returning 'nil' it returns '0'. That altered the evaluation of an if
condition, breaking the abm that sucks in items.
This commit fixes the conditional by explicitly comparing '~= 0'.
2022-02-24 03:18:25 +01:00
kabou
55009c257e
Use new vectors
...
* Use vector.new instead of xyz table.
2022-02-19 21:18:01 +01:00
Elias Fleckenstein
e4feb233e0
Fix hopper dupe
2021-12-09 18:20:24 +01:00
Elias Fleckenstein
b0aceae73d
Fix reference dupe glitches
2021-11-19 15:22:40 +01:00
AFCMS
a896d7f5e4
replace deprecated "current_name" by "context" for inventory location
2021-06-12 00:09:39 +02:00
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
Elias Fleckenstein
d8d4cb5def
Revert color changes to GUI.
...
The Minecraft colorset (net.minecraft.util.text.TextFormatting) is only used for chat and tooltips.
This partically reverts 84819bf9f5
.
2021-04-19 14:44:20 +02:00
AFCMS
a602f64ea5
fix many warnings
2021-04-15 23:41:34 +02:00
AFCMS
84819bf9f5
MAKE EVERY SINGLE MOD USE PROPER COLORS!!!
2021-03-30 00:01:29 +02:00
AFCMS
8f30e223e2
I hate reverting something xD
2021-03-16 17:39:06 +01:00
Elias Åström
6315490b14
Update the rest of the blast resistance values
...
The values have been updated according to this list:
https://minecraft.gamepedia.com/Module:Blast_resistance_values
2020-04-19 13:08:36 +02:00
Wuzzy
6ce3278dd4
Fix missing variable check in hcl_hoppers
2020-03-29 16:05:30 +02:00
Wuzzy
e9f259881f
Add LBMs to update to new node formspecs of 0.60.0
2020-03-29 14:35:01 +02:00
Wuzzy
7243a25fe6
Generate item slot images on the fly
2020-03-24 18:48:14 +01:00