Commit Graph

59 Commits

Author SHA1 Message Date
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
kabou a4ef367708 Add "orphaned" leaves nodes.
* Add "orphaned" leaves nodes, these are copies of the regular leaves
  nodes whose sole purpose is to replace leaves nodes when no more tree
  trunks are present nearby.  The orphaned nodes are swapped in by a
  callback on destruction of tree trunk nodes and will be decayed by a
  dedicated abm that processes all nodes in `group:leaves_orphan`.
* Add `mcl_core.update_leaves()` function, a `after_destruct` callback
  handler for tree trunk nodes.  The function finds leaves nodes nearby
  destroyed tree trunk nodes and swaps these for orphaned leaves nodes
  if no other tree trunk nodes remain near them.
* Add `after_destruct` callbacks to tree trunk node registrations in
  mcl_core/nodes_trees.lua and mcl_mangrove/init.lua to update orphaned
  leaves.
* Add entry for group `leaves_orphan` to GROUPS.md
* Also add entry for group `leaves` to GROUPS.md (it was missing).
2022-12-15 22:42:08 +00:00
cora 11e8e7d4cc Add soul_group to s.soil&sand, torch fix recpipe 2022-05-24 13:25:59 +02:00
PrairieAstronomer 4af0a4daae Updated GROUPS.md and fixed blast furnace group name. 2022-05-17 10:34:44 -06:00
kabou b0ae135b3c Add `cobble` group.
* Add `cobble` group to GROUPS.md, to be used in crafting recipes.
2022-05-04 15:12:27 +02:00
Nils Dagsson Moskopp cbf3dc49aa Replace grass path with dirt path
If a player wants to make a path when there is no dirt with grass on the
ground it means they need to either have silk touch to collect dirt with
grass or place dirt beside dirt with grass and wait for the grass cover
to spread before they can create the new paths …

Since the former is not possible early in the game and the latter is not
easy, this patch imitates Minecraft 1.17 behaviour; the following nodes
can now be turned into path nodes by right-clicking them with a shovel:

• Dirt (mcl_core:dirt)
• Coarse Dirt (mcl_core:coarse_dirt)
• Dirt with Grass (mcl_core:dirt_with_grass)
• Mycelium (mcl_core:mycelium)
• Podzol (mcl_core:podzol)

A group “path_creation_possible” has been added to mark nodes that can
be turned into a dirt path with a shovel. One obvious objection to that
addition might be that the “dirt” group already exists. Even though all
existing nodes that can be turned into a dirt path do indeed belong to
the “dirt” group, it is not a good idea: Changing what “dirt” means to
“any node that can be turned into a dirt path” would make it harder to
maintain the code.
2022-04-25 15:33:01 +02:00
kabou bba3aabb59 Add `compostability` to GROUPS.md 2022-04-02 03:32:56 +02:00
kabou 2002872af8 Add group `supported_node` to GROUPS.md. 2022-03-19 02:32:29 +01:00
AFCMS ef1c06e3d1 fix documentation of `music_record` group 2021-06-19 10:58:22 +02:00
AFCMS 6e561be37c fixes in README.md 2021-03-14 17:03:34 +01:00
Elias Fleckenstein 071ba77bb0 mcl_burning fully working 2021-01-01 19:25:47 +01:00
Wuzzy e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Wuzzy b92aec71af Document coral groups 2019-12-17 16:53:18 +01:00
Wuzzy 1a02ccd36f Add more node groups 2019-12-13 10:20:08 +01:00
Wuzzy 7935e64637 Cleanup ambigious sandstone groups, change meaning
- Change meaning of "sandstone" group to include sandstone of any color
- Add "normal_sandstone" group
- Rename "redsandstone" group to "red_sandstone"
2019-03-12 01:50:42 +01:00
Wuzzy 1044e96909 Add tool groups (pickaxe, shovel, ...) 2019-02-25 17:46:49 +01:00
Wuzzy a62b5de79e Cake+cauldron+endportalfr. put signal 4 comparator 2018-05-13 00:33:26 +02:00
Wuzzy e38f19b5f3 Comparator now detects jukebox as container 2018-05-12 22:48:49 +02:00
Wuzzy 1ce9ab22bf Turn jukebox into a container (part 1) 2018-05-12 21:50:56 +02:00
Wuzzy bb6f2f7770 Rename “subgame” to “game” (partial fix) 2018-03-25 22:20:32 +02:00
Wuzzy c71bd9588d Generalize anvil damage 2018-02-05 19:03:56 +01:00
Wuzzy 41cebe13bf Chance to damage anvil with each step 2018-02-03 02:40:49 +01:00
Wuzzy 40163aed91 Forbid renaming of written books 2018-02-02 05:13:26 +01:00
Wuzzy 093e9b0b08 Declare observers not opaque 2018-01-28 19:25:05 +01:00
Wuzzy c9b731b8f9 Fix redstone torch state with block above 2018-01-22 21:49:20 +01:00
Wuzzy 71e663efe6 Merge branch 'lever' 2018-01-08 21:00:36 +01:00
Wuzzy 1505290e24 New way to attach node: attached_node_facedir 2018-01-08 20:10:44 +01:00
Wuzzy 86c24532f9 Implement 8 top snow layers 2018-01-07 23:21:47 +01:00
Wuzzy 20baacb1fe Fix typo in GROUPS.md 2018-01-07 21:53:46 +01:00
Wuzzy 142317c65a Add river water support for bottles and cauldrons 2017-11-30 19:27:57 +01:00
Wuzzy be51523459 Add water_bucket group 2017-11-30 14:57:40 +01:00
Wuzzy f9a2607200 Make falling anvils crush some nodes 2017-11-27 07:57:02 +01:00
Wuzzy f5de6db4aa Add grass path and farmland to creative inventory 2017-11-23 00:32:51 +01:00
Wuzzy bc3190d5a9 Change pressure_plate group 2017-11-22 22:42:00 +01:00
Wuzzy 6efddc833c Add pressure plates for each wood type 2017-11-22 22:08:09 +01:00
Wuzzy 06d109e86b Fix can place flower podzol and coarse dirt
Also fix help entries
2017-11-15 05:02:37 +01:00
Wuzzy ea41de41ac Indicate frame ID in clock group 2017-08-04 16:04:39 +02:00
Wuzzy 2416af7fac Add new container groups for large chests 2017-08-03 22:22:17 +02:00
Wuzzy ca01259b59 Set list of nodes which can be taken by endermen 2017-07-05 20:14:37 +02:00
Wuzzy 7ecae53502 Fix furnace not cooking when hopper inserts item 2017-06-12 22:51:17 +02:00
Wuzzy 4067f61623 Update plant placement help 2017-06-11 23:20:50 +02:00
Wuzzy 62f755f52a Remove heads and pumpkin from combat creative tab 2017-06-11 22:20:25 +02:00
Wuzzy 4afb2d4066 Remove metadata from trapdoors 2017-06-05 22:42:12 +02:00
Wuzzy c2c9a2f4a4 Prevent eating most things at full hunger bar 2017-05-23 02:04:27 +02:00
Wuzzy eab0205c2f Disable eat delay for cake 2017-05-23 01:51:37 +02:00
Wuzzy 16adc1b029 Add cake group 2017-05-23 01:45:35 +02:00
Wuzzy c49e8dfba0 Destroy some nodes by flowing lava 2017-05-20 04:11:14 +02:00
Wuzzy 3f57f80d54 Grass Path+Farmland→Dirt if below solid, instantly 2017-05-14 22:44:34 +02:00
Wuzzy c201ee7533 Add plant group to plants, required for farmland 2017-05-14 21:37:21 +02:00
Wuzzy 04478e5cd3 Uproot plant when mycelium spreads to dirt below 2017-05-14 00:42:20 +02:00