14576 Commits

Author SHA1 Message Date
cora
127de8e4d6 Move mcl_util.get_wielded_item to mcl_deathmessages 2024-09-14 18:41:19 +00:00
cora
78692181c0 Remove mcl_util.mcl_log, excessive logging from mcl_beds and mcl_spawn 2024-09-14 18:41:19 +00:00
cora
236142df86 Move mcl_util.in_cube to mcl_mapgen_core
Only place it is used plus as we move up mt versions this won't be
needed anymore eventually since it can replaced by new vector functions
2024-09-14 18:41:19 +00:00
cora
b3e9c039a9 Simplify mcl_util.in_cube 2024-09-14 18:41:19 +00:00
cora
8b046ac649 Move mcl_util.is_pointing_above_middle to mcl_stairs 2024-09-14 18:41:19 +00:00
cora
5fbad525ff Generalize mcl_util.get_pointed_thing and use it in mcl_buckets 2024-09-14 18:41:19 +00:00
cora
5b205faf02 de-hardcode range in mcl_util.get_pointed_thing 2024-09-14 18:41:19 +00:00
cora
f3fafa3f87 Remove mcl_util.get_first_occupied_inventory_slot
only used in one place and was just a redirect function
2024-09-14 18:41:19 +00:00
cora
f2c6c93caf Remove unused functions from mcl_util 2024-09-14 18:41:19 +00:00
cora
5d002605e6 Remove legacy dry grass LBM (pre 0.65) 2024-09-14 20:35:57 +02:00
cora
187957a606 Remove duplicate horse_armor textures 2024-09-14 20:35:57 +02:00
cora
78dda3c08a Remove duplicate bone_meal texture 2024-09-14 20:35:57 +02:00
cora
0b5ea416be Remove duplicate crafting_arrow texture 2024-09-14 20:35:57 +02:00
cora
cc3e23282b Allow overrides in mcl_monster_eggs 2024-09-14 20:35:57 +02:00
cora
0761d228aa make pink petals not buildable_to 2024-09-14 20:35:57 +02:00
JoseDouglas26
c7e0b6ab4c Smithing table help documentation 2024-09-14 20:35:57 +02:00
cora
22da307bbb Make nether lava defs use table.merge 2024-09-14 20:35:57 +02:00
cora
e265e86f4d Remove mode existence checks from furnace mods 2024-09-14 20:35:57 +02:00
cora
4f1ff7aff4 Simplify sponge absorbtion function 2024-09-14 20:35:57 +02:00
cora
e2cf90fee6 Use table.merge for riverwater definitions 2024-09-14 20:35:57 +02:00
cora
72520e4fba Remove mod existence check in mclx_stairs 2024-09-14 20:35:57 +02:00
cora
dd198c6bfe mcl_cocoas: simplify definitions using table.merge 2024-09-14 20:35:57 +02:00
cora
6bb9bbb4be Simplify mcl_cocoas on place function 2024-09-14 20:35:57 +02:00
cora
a32d5b8312 Remove mod existence check in mcl_cake 2024-09-14 20:35:57 +02:00
cora
51c65854a7 Replace if .. then error() with assert() in mcl_buckets 2024-09-14 20:35:57 +02:00
cora
2e6ac73a34 mcl_buckets: remove ancient aliases and mod existence check 2024-09-14 20:35:57 +02:00
cora
044f5002e0 Remove mod existence check in mcl_books 2024-09-14 20:35:57 +02:00
cora
022ba21663 Remove WIP from budding amethyst 2024-09-14 20:34:57 +02:00
cora
8c2435702c Use vector.direction instead of subtract in budding ABM 2024-09-14 20:34:57 +02:00
cora
1a3e20a22d Take longer for amethyst buds to grow
~68 seconds is corresponding to average "random tick"
2024-09-14 20:34:57 +02:00
cora
501bd606c5 cleaner amethyst bud definitons 2024-09-14 20:34:57 +02:00
cora
dcf0a5586f Move soul torch definition up in the file
so all crafting recipes are under the definitions
2024-09-14 20:34:57 +02:00
cora
98a80db738 Create basalt from lava and ice only with soul soil under it
also massively simplifies the ABM
2024-09-14 20:34:57 +02:00
cora
5d6abc70d3 Remove blackstone lava ABM and gilded blackstone smelting 2024-09-14 20:34:57 +02:00
cora
632e50cd81 Move blackstone ABMs to the end of the file 2024-09-14 20:34:57 +02:00
cora
3c3bdc5605 Make natural blackstone node ground content 2024-09-14 20:34:57 +02:00
cora
79e6cfe824 Remove commented unused code in mcl_blackstone 2024-09-14 20:34:57 +02:00
Jürgen Rühle
ff01ee8ed7 Fix hopper item suction
Add missing z-direction test and account for the item entity size. The item
entity has to be at least partly inside the block above the hopper to be
sucked in.
2024-09-14 18:32:40 +00:00
Elias Åström
aca859dd16 Remove random piglin spawn chance when lighting portal
It is so small it does not matter (0.15%).
2024-09-14 18:25:50 +00:00
bramaudi
4dc992f56d Remove "manually set gravity for spawned mob" 2024-09-14 18:25:50 +00:00
bramaudi
d922c2efd8 Add chance of nether portal will spawn zombified piglin 2024-09-14 18:25:50 +00:00
Po Lu
3a91585af0 Improve arrow fire detection
* mods/ITEMS/mcl_bows/arrow.lua (on_step): Also test for flaming
blocks at low velocities.
2024-09-14 18:20:38 +00:00
cora
b35f2d10ca mcl_bows: get_item_group for set_on_fire instead of group field in node def 2024-09-14 18:20:38 +00:00
cora
a0a9e0eb57 Fix indentation in mcl_arrows set on fire patch 2024-09-14 18:20:38 +00:00
halon
0eae69e85d Make arrows burn when flying through lava or fire 2024-09-14 18:20:38 +00:00
cora
f6f4cc049d Add separate "in_radius" iterator to save one get_pos call each 2024-09-14 20:14:14 +02:00
cora
bddb57ed12 Use mcl_util.connected_players iterator throughout codebase 2024-09-14 20:14:14 +02:00
cora
9dfa5dc8ff Use objects_inside_area iterator everywhere 2024-09-14 20:14:14 +02:00
cora
8402ed22ac Use mcl_util.connected_players iterator in mcl_player 2024-09-14 20:14:14 +02:00
Elias Åström
0be8c6e0f9 Add safe connected players iterator 2024-09-14 20:14:12 +02:00