Commit Graph

27 Commits

Author SHA1 Message Date
Nils Dagsson Moskopp 275f0826ed
Send FOV packets only when necessary
Before this change, about 10 to 30 FOV packets were sent from the server
to each connected client each second. This patch only sends FOV packets
when the FOV actually needs to be changed, i.e. when the player starts
or stops sprinting.
2021-07-04 03:25:05 +02:00
Elias Åström 5d3514880a Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.
2021-05-16 13:44:04 +02:00
Elias Fleckenstein 152d49ef20 Fix #1167 2021-02-22 10:41:44 +01:00
Wuzzy 47dd29c930 Sprint particle: Pick top node texture 2020-07-10 14:51:39 +02:00
Wuzzy 1bfd4ca490 Use node texture for sprint particles 2020-07-10 14:23:03 +02:00
Brandon 4a35ad3fd1 Correct issue where all items are replaced with drinking potions in creative 2020-06-26 16:55:22 -04:00
Brandon fceffa6f1c Smooth out FOV changes, add specificity to potion effects to avoid overlap 2020-06-23 21:36:55 -04:00
Brandon d632cf289c Add smooth FOV transition when sprinting 2020-06-23 18:17:30 -04:00
Wuzzy 2569eae5d8 Don't make sprint particles in liquids 2020-03-15 08:23:40 +01:00
Wuzzy 2b3922c972 Replace deprecated player attribute calls 2019-03-06 05:45:16 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy b076bafaa7 Rename mcl_playerphysics to playerphysics 2018-10-23 18:51:19 +02:00
Wuzzy 2c4eae353c Use mcl_playerphysics to handle player physics
This fixes some issues with speed overrides and gets rid of ugly workarounds.
2018-05-07 20:10:53 +02:00
Wuzzy 16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy f71cff0468 Can't sprint and sneak at the same time 2018-01-08 04:03:28 +01:00
Wuzzy 2243ee5477 Fix deprecated vel and acc arguments of particles 2017-08-18 23:23:07 +02:00
Wuzzy 705dae46a0 Split mcl_playerplus to mcl_playerinfo for the node info 2017-08-04 19:23:06 +02:00
Wuzzy fd73c81d23 Prevent player from walking while sleeping 2017-06-11 14:44:37 +02:00
Wuzzy b8cc752e79 Rename: playerplus→mcl_playerplus, drop compat. 2017-05-23 00:53:55 +02:00
Wuzzy 83d25276a9 Fix broken hunger mod when damage disabled 2017-05-22 08:20:58 +02:00
Wuzzy 8114ecf263 Dump unused code in mcl_sprint mod 2017-05-20 19:18:37 +02:00
Wuzzy d13546246e Cause exhaustion by sprinting 2017-05-20 19:14:07 +02:00
Wuzzy c60cff8f81 Fix crash when sprinting 2017-02-22 13:28:03 +01:00
Wuzzy d36beaf64f Prevent sprinting if hunger level <= 6 2017-02-21 16:44:26 +01:00
Wuzzy 341e8fadb2 Move sprint vars into mcl_sprint table 2017-02-21 15:45:48 +01:00
Wuzzy 94eb0b19e6 Only 30% sprint speed, no higher sprint jump 2017-02-21 15:43:37 +01:00
Wuzzy dd03c2a62a Add simple sprinting mod
Based on [sprint] by GunshipPenguin
2017-02-21 15:39:22 +01:00