Persson-dev
9c42d09ff8
Add support for 1.14.x protocols
2022-04-21 18:57:55 +00:00
DarkoGNU
4f554e91ab
Implement farmland trampling ( #5401 )
...
* Add DarkoGNU to CONTRIBUTORS
* HandleFarmlandTrampling function & its docs
* Fix decimal separators (, -> .)
* Fix style. Adjust thresholds. Make function non-virtual
* Adjust thresholds again. Prepare for fixing #5402
* Trying to fix falling through farmlands
* Another style fix
* Add FarmlandTramplingEnabled to world.ini
* Docs for IsFarmlandTramplingEnabled
* Style
* Farmland trampling - handling the random chance
* Trampling kinda works, very buggy
* Trying to fix clang-tidy
* Fix trampling
* Trying to fix the 'undocumented API symbol'
* Implement bearbin's suggestions
* Calculate volume properly
* Don't use std::pow for squaring
* Improved comments
* Really, should comments' style be checked?
2022-04-21 18:56:21 +00:00
Simon Pribylski
844a339330
Protocol sources fixes ( #5411 )
...
* Move HANDLE_READ to header
* Fix compiler warnings
* Removed unnecessary default statement
2022-04-21 16:05:09 +00:00
Simon Pribylski
21bcb2a757
Improving 1.14 support ( #5388 )
...
* Fixing login
* Add basic 1.14 support
* Adding pktHorseWindowOpen to PacketTypeToStr
* Fixing build with clang
* Fixing inventories
* Add entities metadata
* Add particles
* Fixing style
* Fixing build with clang-tidy
* fixing build
2022-04-20 12:21:30 +02:00
x12xx12x
5261e316c5
handled the infinite loop and style
2022-04-20 07:41:02 +00:00
x12xx12x
fe983a1a45
Valid Height is now checked by vector.
2022-04-20 07:41:02 +00:00
x12xx12x
5ea7675eca
Updated protocol functions to Vector3x
...
also added support in included functions
2022-04-20 07:41:02 +00:00
KingCol13
900f95c42b
Check height is within world for pistons and digging ( #5396 )
...
* Fixes piston and digging crashes.
2022-04-19 00:05:51 +01:00
Debucquoy Anthony tonitch
84632da652
Changing Copyright Years (happy 11)
2022-04-14 22:53:03 +00:00
TheHyper45
b2e5f4d17b
Added '#include <cctype>' in NamespaceSerializer.cpp.
2022-04-11 23:06:40 +00:00
x12xx12x
0c04c5aaed
split functions into basic and entity prettify
2022-04-11 23:06:40 +00:00
TheHyper45
8e00673967
Removed an implicit cast from int to char.
2022-04-11 23:06:40 +00:00
TheHyper45
e04446e218
Added #include <cctype> to NamespaceSerializer.cpp
2022-04-11 23:06:40 +00:00
TheHyper45
4bad8d859e
Yet another style fix
2022-04-11 23:06:40 +00:00
TheHyper45
3b6b456b0f
Some refinements
2022-04-11 23:06:40 +00:00
TheHyper45
5500314fbe
NamespaceSerializer::Prettify function now takes a string and converts it into a prettfied string
2022-04-11 23:06:40 +00:00
TheHyper45
88d0ba94b6
The proper style fix
2022-04-11 23:06:40 +00:00
TheHyper45
0f575a5db3
Style fix.
2022-04-11 23:06:40 +00:00
TheHyper45
3cb1450ff1
Small refinements in BroadcastDeathMessage method.
2022-04-11 23:06:40 +00:00
TheHyper45
ca9d0aa4e2
Add Prettify method to get player-friendly names of mobs
2022-04-11 23:06:40 +00:00
hle0
6fc536bb37
add hle0 to CONTRIBUTORS
2022-04-11 23:06:31 +00:00
hle0
d98e2bdaa3
fix various compiler warnings (and some unwanted case statement fallthroughs)
2022-04-11 23:06:31 +00:00
Tiger Wang
de5b89dbea
Disable u8 prefix C++20 warning since we need it
2022-02-17 18:41:24 +00:00
Tiger Wang
3a9bd50898
BigFlower: handle environmental destruction
2022-02-13 18:30:10 +00:00
Tiger Wang
31ab16d52b
ClientHandle: cancel multi-block placements correcty
...
https://github.com/cuberite/cuberite/pull/5392#issuecomment-1032712796
2022-02-12 14:22:26 +00:00
Rodarg
1fd826aed7
Update CONTRIBUTORS
...
my bad
2022-02-09 08:45:25 +00:00
Rodarg
3597cd698a
Update CONTRIBUTORS
...
Added myself
2022-02-09 08:45:25 +00:00
Tiger Wang
f98ceebea1
style
2022-02-09 08:45:25 +00:00
Rodarg
49322163d5
Correct Indentation IF
2022-02-09 08:45:25 +00:00
Rodarg
350c801b41
Update BlockBigFlower.h
...
Made compliant with review
2022-02-09 08:45:25 +00:00
Rodarg
af2b004d57
Update BlockBigFlower.h
...
Removed if statement checking if the top part of the block was broken and replaced the dropBlockAsPickups to SetBlock(Air)
2022-02-09 08:45:25 +00:00
Tiger Wang
efa133b4ee
ClientHandle: update variable names
2022-02-08 21:47:19 +00:00
Tiger Wang
5e3a6770b9
Spectators: prevent using items and spawn eggs
2022-02-08 21:47:19 +00:00
Tiger Wang
4b60d55d8d
Spectation: keep track of spectators
...
+ Keep a list of spectators so that pointer clean-up can happen when the spectated is killed.
* Fix invalid game state when riding/spectating and then entering or leaving spectator mode.
2022-02-08 21:47:19 +00:00
Rorkh
5fe1fe899b
Custom 25565 port page ( #5369 )
...
+ Add a custom response when an HTTP request comes in to port 25565...
Co-authored-by: Alexander Harkness <me@bearbin.net>
2022-01-27 00:56:45 +00:00
Tiger Wang
fa92f5294f
Update to libdeflate 1.9
2022-01-26 22:04:24 +00:00
Simon Pribylski
f4c0429996
Add player permission level ( #5358 )
2022-01-24 20:24:55 +00:00
Alexander Harkness
5614d267f7
Add aarch64 to easyinstall. Fixes #5386
2022-01-22 01:08:51 +00:00
Tiger Wang
e3d0874f7d
ByteBuffer: fully defined Position handling
...
Cast input ints into unsigned to make them 2s complement guaran☕ d.
2022-01-16 17:41:46 +00:00
Tiger Wang
da0fdbe113
syntax
2022-01-14 19:43:29 +00:00
Tiger Wang
903bcfc61f
eblockface
2022-01-14 19:43:29 +00:00
x12xx12x
58f8918bcb
so much big brain time - it hurts
2022-01-14 19:43:29 +00:00
Marc Lorenz
c741d81017
fixed bad web merge
2022-01-14 19:43:29 +00:00
Marc Lorenz
00dbbabc5c
fixed possible 64+64 error
2022-01-14 19:43:29 +00:00
x12xx12x
5fa68ea807
fixed cast
2022-01-14 19:43:29 +00:00
x12xx12x
d7c2c4acf3
auto > char
2022-01-14 19:43:29 +00:00
x12xx12x
2ec73a3fbd
fixed compile error in jenkins and more warnings
2022-01-14 19:43:29 +00:00
x12xx12x
250b8eb652
Fixed Compiler Warnings
2022-01-14 19:43:29 +00:00
Bond_009
b14874978a
Fix WriteXZYPosition64 and add tests
2022-01-14 17:24:59 +00:00
Kingsley Collie
77a44e8dce
Simplify diff and remove excessive logging.
2022-01-13 00:39:12 +00:00