teknomunk
|
4a53a515b1
|
Move code that handles below-rail hoppers to handle_cart_enter, implement timestep-independent cart physics (will need tuning punch, power rail and gravityaccelerations to make game fun)
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
f7360be5e4
|
Mostly fix carts stopping between powered rails (there is still some strangeness with acceleration physics)
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
4656717c56
|
Fix diagonal movement
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
262063cc7c
|
Add diagonal track movement on zig-zag track, rewrite mcl_minecarts:get_rail_direction
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
acd6b03371
|
Make TNT minecarts available in creative menu
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
15584dad88
|
Implement custom item dropper handlers, implement droppers placing minecarts
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
121550a635
|
Hopper minecarts pull from containers above rail
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
3745a27f8c
|
Rework in preparation to add code to pull from containers into the hopper minecart
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
bfe09c7c3f
|
Move fiction constant to top of file, suppress cart flips when direction reverses due to gravity or end of track
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
5441a23570
|
Add code to reattach carts to rail when data corruption occurs, fix bug in last commit that caused carts to bury into the ground
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
6b37618b72
|
Remove dip into the ground that occured when gravity caused the cart to reverse directions
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
8709ba7be8
|
Implement gravity, move orientation update to own function, fix cart stopping in process_acceleration
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
2e78e9cdad
|
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-12-31 02:36:18 +01:00 |
|
teknomunk
|
f082e4a554
|
Make minecart always stop at correct location at end of track, fix crash when placing chest minecart after changing how staticdata is handled
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
05aef66668
|
Modify do_movement_step to move to always move to the edge of the current rail segment before updating the direction to prevent oscillations at corners, fix end of track stop location with new movement behavior, disable experimental controls, swap code to detach the driver on float with a call to detach_driver()
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
960192024f
|
Add DEBUG flag, stop small do_movement_step's from occuring (this improves but doesn't eliminate the bug I with the a6be179ed commit), add recovery when staticdata field gets lost
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
70aa9004be
|
Fix initial_properties for minecarts
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
0c46c2fcc2
|
Change left,right and back vectors to matrix math results with no branching
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
c489e0c380
|
Remove now unused properties from minecart definition, convert more vectors to use vector.new syntax
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
d9d5245d59
|
Complete rewrite of minecart movement that resolves https://git.minetest.land/MineClone2/MineClone2/issues/2446 and https://git.minetest.land/MineClone2/MineClone2/issues/247#issuecomment-50960 but has a bug where carts will synchronize movements that I am still investigating
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
d1550d9e84
|
Change staticdata serialization (with migration from old data), disable debugging code used to investigate https://git.minetest.land/MineClone2/MineClone2/issues/2446
|
2024-12-31 02:36:18 +01:00 |
|
teknomunk
|
087d5f0f64
|
Change to vector.new from {x=...}, relocate movement code to own function for future changes
|
2024-12-31 02:36:18 +01:00 |
|
kno10
|
28c0a3072c
|
set_yaw for shulker returns nil, causing a nil arithmetic error. (#4775)
Fixes a prevented crash error.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4775
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
|
2024-12-31 01:23:47 +01:00 |
|
kno10
|
cb1814f6ae
|
tooldef can be nil (#4767)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4767
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
|
2024-12-29 15:56:57 +01:00 |
|
the-real-herowl
|
14ec7fe98f
|
Fixed a crash
|
2024-12-29 08:09:33 +01:00 |
|
the-real-herowl
|
8a252342a5
|
Minor improvements
|
2024-12-29 08:09:33 +01:00 |
|
the-real-herowl
|
5b7c1a8d4c
|
Reworked hammer crushing
- crushing is now done by digging with a hammer
- cobble is now crushable
|
2024-12-29 08:09:33 +01:00 |
|
the-real-herowl
|
bf77996b57
|
Added spears
|
2024-12-29 08:09:33 +01:00 |
|
the-real-herowl
|
ce95290fa8
|
Added hammers
|
2024-12-29 08:09:33 +01:00 |
|
the-real-herowl
|
43539e1392
|
Make sure self.rotate is not nil before use (#4759)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4759
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
|
2024-12-29 08:05:52 +01:00 |
|
kno10
|
631162e24c
|
Switch from deg to rad.
|
2024-12-27 10:48:00 +07:00 |
|
kno10
|
dd165ec0e9
|
Update to set_bone_override
|
2024-12-27 10:48:00 +07:00 |
|
teknomunk
|
7de503770f
|
Address review concerns
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
2732976404
|
Move fireball redirection service award check to ghast from fireball
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
60e3c139cc
|
Change mcl_mobs to use mcl_util.remove_entity() when killing mobs, add guard in vl_projectile against removed mobs
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
bb934d09ee
|
Break long lines, add space between functions in vl_projectile/init.lua
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
bc321ccae4
|
Add _vl_projectile.can_punch() to mob API and move hard-coded entity behavior from arrow to rover code
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
a2167e7dfc
|
Change to use nil radius in within_limits(pos,radius) check
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
88cd54a03b
|
Add reference to Projectile API documentatino from mob API documentation
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
0d8f7515c6
|
Update minetest->Luanti in affected documentation, update minetest. -> core. in affected code, factor out common subexpressions in mods/ITEMS/vl_projectile/init.lua
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
7c8da2eba7
|
Rework self.timer and _owner collision conditions
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
aa8cec9911
|
Implement mcl_util.remove_entity() and convert projectile code to use it
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
2fcd4ff69f
|
Fix condition on node collision for mob projectiles
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
1df10c8dd3
|
Correct damage for mob projectiles
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
efa6e7d2d0
|
Move arrow self-collision grace logic to vl_projectile then apply to mob projectiles and splash and linger potions, allow entity luaentity to be passed to mcl_util.get_entity_id()
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
2d56deacf6
|
Replace _puncher with _owner, rework projectile code to make _owner a string, copy mcl_util.gen_uuid() from minecart branch, add mcl_util.get_entity_id(), fix crash
|
2024-12-25 11:52:24 +01:00 |
|
the-real-herowl
|
515b5bc5c7
|
Fixed abnormal skull rotation
|
2024-12-25 11:52:24 +01:00 |
|
the-real-herowl
|
254b100fac
|
Fixed wither skulls
- wither skulls now hit players again
- wither skulls (strong version) don't cause a crash anymore
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
ee3ea9d3f5
|
Prevent dereferencing nil in wither.lua, fix minor typo in debug statement
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
642c474012
|
Stop wither from shooting itself
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
f9aa61ff5a
|
Fix unintentional collision box change
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b821f3d72f
|
Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b8fcc4c02e
|
Prevent projectiles from crashing server when removed when it punched something (wither skull hitting the wither will cause this), mark wither skull with _removed = true when death timer removes it
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b23b16842c
|
Allow mob projectiles to hit their owner after 2 seconds (used by ghast fireball)
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b339d5f13f
|
Remove redundant check
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
2864e8fa30
|
Correct behavior when ignore_gravity flag is true, fix mob projectile velocity calculation, add missing entity_def lookup
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b4e6417b92
|
Convert mcl_mobs.register_arrow() to use vl_projectile, tested only with shulker bullet so far
|
2024-12-25 11:52:24 +01:00 |
|
kno10
|
e96bec0ad0
|
Fix strider spawning (#4747)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4747
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
|
2024-12-23 13:48:18 +01:00 |
|
kno10
|
2fb04076f8
|
fix inconsistent capitalization of Tropical fish
|
2024-12-19 08:47:40 +01:00 |
|
kno10
|
6f12e173aa
|
Improve extraction of strings, for banner colors and villagers
|
2024-12-19 08:47:40 +01:00 |
|
kno10
|
979105efbf
|
German translation updates
|
2024-12-18 21:30:19 +01:00 |
|
kno10
|
c73baa3886
|
German translation updates
|
2024-12-18 18:42:25 +01:00 |
|
kno10
|
3ecda2e70d
|
auto-update translation files
|
2024-12-16 01:16:32 +01:00 |
|
ethan
|
4db34098d9
|
Contributed simplified Chinese translations
|
2024-12-16 01:16:32 +01:00 |
|
Bloodaxe
|
7856f97f8e
|
Added all my localization files for Norwegian Bokmål
|
2024-12-16 01:16:32 +01:00 |
|
Bloodaxe
|
277a5d5857
|
Added mobs_mc.nb.tr
|
2024-12-16 01:16:32 +01:00 |
|
0ldude
|
6e3a5b53b1
|
tr mods/CORE & mods/ENTITIES to it [typo]
|
2024-12-16 01:16:32 +01:00 |
|
0ldude
|
3fd1b9d96f
|
tr mods/CORE & mods/ENTITIES to it
|
2024-12-16 01:16:32 +01:00 |
|
Peter Hartauer
|
88580d53b6
|
Initial Commit with translations
|
2024-12-16 01:16:32 +01:00 |
|
Mikita Wiśniewski
|
e42a863d92
|
Fix crash on mobs spawning in <5.9 (#4737)
This patches a copypaste blunder made in ef763e396c .
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4737
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
|
2024-12-07 14:58:17 +01:00 |
|
villager8472
|
c6c5de7335
|
Fixed hoglins never dropping leather. (#4736)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4736
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: villager8472 <gecko15x@gmx.de>
Co-committed-by: villager8472 <gecko15x@gmx.de>
|
2024-12-06 20:26:40 +01:00 |
|
kno10
|
f14ff83737
|
mob attack tweaks
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
6510ea4777
|
fix child == true when child = 1
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
932118f10b
|
More tweaks to pathfinding
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
4388152650
|
Make villagers hurry for long paths and night
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
5779be305c
|
avoid trivial fences, open some fence gates
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
86f4d8243d
|
Improve starting and end point of pathfinding.
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
f377f97348
|
pathfinding improvements
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
230cd5154c
|
Improve danger avoidance code.
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
54bc4f7545
|
fix and optimize Fleckenstein
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
a67938904e
|
small code cleanups
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
63c83cf440
|
also cleanup mount.lua
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
83cec7ed23
|
some more cleanups, from code review
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
084211d87e
|
code cleanups
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
5b27cb80fe
|
movement improvements, door opening
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
e78f5cdbe9
|
further movement tweaks
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
e4deb9c7b5
|
Movement and path finding improvements.
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
77c6c34d0e
|
Mob pushing improvements
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
b91f48b419
|
add and use turn_by/turn_in_direction methods
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
5eda59dc13
|
reduce code duplication, add mob:stand()
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
8c2289686d
|
cleanups
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
67055959c6
|
fix delay=0 in combat code, tune turning parameters
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
995f1386db
|
More help getting out of water
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
1ac53b9c2a
|
More movement code cleanups.
Closes #4506 #4502
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
114a7d2b17
|
More cleanup and improvements to movement code
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
33454d7545
|
More movement code improvements.
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
05d6a283a0
|
Try to reduce how much mobs fall off cliffs.
See #4464 and many more.
|
2024-12-01 00:53:41 +01:00 |
|
kno10
|
ef763e396c
|
Adjust bones, animations slightly from b3d data.
Initialize bones on spawn.
Note: to obatin bone values, try in Blender
"%.3f, %.3f, %.3f" % tuple((bpy.context.object.pose.bones["head.control"].head - bpy.context.object.pose.bones["head.control"].tail) * Vector((1,-1,1)))
or
"{0:.3f}, {1:.3f}, {2:.3f}".format(*(bpy.context.object.pose.bones["head.control"].head - bpy.context.object.pose.bones["head.control"].tail) @ bpy.context.object.pose.bones["head.control"].matrix * Vector((1,-1,1)))
|
2024-12-01 00:31:48 +01:00 |
|
kno10
|
c6c77766e3
|
Rewrite the head swivel code math
|
2024-12-01 00:31:48 +01:00 |
|
teknomunk
|
2f4e23e403
|
Add parenthesis for clarity, check pos before using, endermen->rovers in comment
|
2024-11-30 09:03:36 -06:00 |
|