15175 Commits

Author SHA1 Message Date
Po Lu
ce6f198155
WIP -- squash later 2024-12-27 00:25:38 +01:00
Po Lu
e7745c2659
WIP -- squash later 2024-12-27 00:25:38 +01:00
Po Lu
6f34a133eb
WIP -- squash later 2024-12-27 00:25:38 +01:00
Po Lu
40967866bb
WIP -- squash later 2024-12-27 00:25:38 +01:00
Po Lu
c7fba06b74
WIP -- squash later 2024-12-27 00:25:38 +01:00
Po Lu
b1054b6b07
WIP -- squash later 2024-12-27 00:25:38 +01:00
Po Lu
c161afa948
Mob motion improvements
* mods/ENTITIES/mcl_mobs/api.lua (on_step): Cease calling
slow_mob or testing always_clime, and call motion_step each
tick.

* mods/ENTITIES/mcl_mobs/effects.lua (set_animation_speed):
Don't integrate velocity.

* mods/ENTITIES/mcl_mobs/init.lua (mcl_mobs): Adjust default
jump height and fall speed to match Minecraft values.  Specify
default values of water_friction and water_velocity.
(on_activate): Clear acc_dir and acc_speed.

* mods/ENTITIES/mcl_mobs/movement.lua (do_jump): Set jumping
flag if mob should jump.
(follow_player): Reduce target distance to blocks.
(do_states_stand, do_states_fly, swim_or_jump, do_states_swim):
Remove calls to slow_mob.
(climb): Delete function.

* mods/ENTITIES/mcl_mobs/pathfinding.lua (check_gowp): Clear
acceleration when halting mob.

* mods/ENTITIES/mcl_mobs/physics.lua (collision): Optimize
slightly and don't set fire to objects.
(slow_mob): Delete function.
(set_velocity): Set directional acceleration.
(do_env_damage): Clear directional acceleration ignore when in
unloaded block.
(falling): Don't implement mob floating here.
(check_water_flow): Just return water flow vectors.
(check_dying): Clear directional acceleration.
(pow_by_step, scale_speed, accelerate_relative, jump_actual)
(jump_fluid, horiz_collision, clamp, check_collision)
(motion_step): New functions.

* mods/ENTITIES/mobs_mc/blaze.lua:

* mods/ENTITIES/mobs_mc/chicken.lua:

* mods/ENTITIES/mobs_mc/horse.lua:

* mods/ENTITIES/mobs_mc/parrot.lua:

* mods/ENTITIES/mobs_mc/zombie.lua: Adjust various constants to
match Minecraft.

* mods/ITEMS/mcl_enchanting/enchantments.lua
(depth_strider_level): New function.
2024-12-27 00:25:38 +01:00
cora
44fc00b66b Drop compatibility for luanti/minetest < 5.9 2024-12-26 23:05:54 +00:00
Elias Åström
914595729a Update version 2024-12-26 23:03:25 +01:00
Elias Åström
6107bafa10 Run update-tr.sh 2024-12-26 23:02:18 +01:00
ryvnf
81eca3f4e6 Import translations from weblate
Co-authored-by: Zozosticot <zozosticot@users.noreply.translate.codeberg.org>
Co-authored-by: Dirk <dirk@users.noreply.translate.codeberg.org>
Co-authored-by: Just Playing <jplay2@users.noreply.translate.codeberg.org>
2024-12-26 22:00:34 +00:00
cora
bca6846497 Allow all mending enchantable tools in offhand 2024-12-26 21:56:47 +00:00
cora
7cdc4354c0 Fix buckets disappearing when using with cauldron while inventory is full 2024-12-26 21:55:47 +00:00
cora
79eac1a7f8
Make sure dripstone cave biome generates below ocean level 2024-12-26 20:11:55 +01:00
cora
92c5b8d7d2
Add dripstone selection boxes 2024-12-26 19:46:10 +01:00
cora
fc03cffef0
Call on_rightclick for pointed dripstone on_place 2024-12-26 19:23:29 +01:00
Elias Åström
a0a77269aa Fix ender chest entity texture during xmas 2024-12-26 15:46:18 +00:00
cora
70b729e78a Sneaking does not prevent campfire from setting players on fire 2024-12-25 23:53:04 +00:00
cora
d711c7dc2b Fix campfires not setting anything on fire 2024-12-25 23:53:04 +00:00
cora
abf8dd0eb3
only spawn crying obsidian particle if node below is air 2024-12-24 14:06:15 +01:00
goblin_mode
ce4a90241d make wires use connected nodeboxes 2024-12-23 13:03:57 +00:00
nooneatall
a4f860eb61 Allow respawn anchors to work upon death. 2024-12-22 16:40:01 +00:00
cora
25a4df8538 Fix potential crash when serialized boat does not contain texture data 2024-12-21 16:10:44 +00:00
JoseDouglas26
4a5231ef2a Fixing level 7 composter consuming item 2024-12-20 13:19:13 +00:00
JoseDouglas26
e022c8e0a2
Last items to use rarity group 2024-12-19 17:44:50 +01:00
JoseDouglas26
09ee1052b0
Adopting rarity group for items part 2 2024-12-19 17:44:48 +01:00
JoseDouglas26
3d1e41ee70
Adopting rarity group for items 2024-12-19 17:44:06 +01:00
cora
796cf0291f
Implement description coloring according to rarity group in autogroups 2024-12-19 17:41:49 +01:00
JoseDouglas26
f4f68a1caa
First commit for some items 2024-12-19 17:40:11 +01:00
Elias Åström
6e38604e17 Update version to 0.109.2 2024-12-18 18:46:28 +01:00
Elias Åström
5af3e555ee Run update-tr.sh 2024-12-18 18:45:14 +01:00
ryvnf
9d05fef0d2 Add translations from weblate
Co-authored-by: Zozosticot <Zozosticot@users.noreply.translate.codeberg.org>
Co-authored-by: bright <bright@users.noreply.translate.codeberg.org>
Co-authored-by: Dirk <Dirk@users.noreply.translate.codeberg.org>
2024-12-18 17:42:57 +00:00
cora
3d69189918 Fix param2 not being set when grass spreads 2024-12-18 16:56:51 +00:00
cora
31f3b1302b Call on rightclick for throwables 2024-12-18 16:47:02 +00:00
cora
d9f3d575aa Call on_rightclick of nodes when placing pufferfish 2024-12-18 16:47:02 +00:00
Elias Åström
bcdf22b7c2 Add language files so weblate can find mods 2024-12-18 16:34:19 +00:00
cora
4c3b327e70 Fix clocks not updating in itemframes 2024-12-17 16:57:28 +00:00
cora
fb1464615c Slightly enlarge clock item entity 2024-12-17 16:57:28 +00:00
cora
f9b630e73e Always turn running clocks into new single clock item 2024-12-17 16:57:28 +00:00
cora
d2c7cc887c Fix crash when recovery compass position not properly set 2024-12-16 16:00:30 +00:00
villager8472
79070d6bfa Add back recipe for crafting sticks from bamboo. 2024-12-15 18:21:59 +00:00
cora
6873af93d4
Fix possible crash if node isn't loaded when falling node falls on kelp 2024-12-14 16:54:23 +01:00
Elias Åström
d0c5aa1ed0 Update version to 0.109.1 2024-12-14 16:32:17 +01:00
Elias Åström
6f20043eda Run update-tr.sh 2024-12-14 16:31:58 +01:00
cora
55bad8a2e6 Don't show lodestone compass in creative 2024-12-14 15:07:11 +00:00
cora
43cd5ced66 Fix turning compass into lodestone compass 2024-12-14 15:07:11 +00:00
cora
7853b88a05 slightly refactor lodestone on_rc not to use string.find 2024-12-14 15:07:11 +00:00
cora
77eacef413 Only set position meta when activating lodestone compass 2024-12-14 15:07:11 +00:00
cora
82dcc8658b Add missing : to make aliases work 2024-12-14 15:07:11 +00:00
cora
d2c17d4dd5 Make compass API more practical to use from mods 2024-12-14 15:07:11 +00:00