Mat
599d42e6d3
Prevent arrows from sinking into the ground ( #4509 )
2020-03-19 09:58:20 +00:00
Mat
47fa636e34
Change outdated air drag value for arrows
2020-03-19 04:47:54 +02:00
Mat
5869a53e21
Change outdated air drag value for TNT
2020-03-19 04:35:21 +02:00
Max Luchterhand
384ba18812
Fixed unloading of chunks that contain player entities ( #4508 )
...
Co-authored-by: peterbell10 <peterbell10@live.co.uk>
Co-authored-by: mluchterhand <mluchterhand@max.de>
2020-03-18 17:17:59 +00:00
Max Luchterhand
57da82524b
Blocks only drop pickups when using correct tool ( #4505 )
...
Co-authored-by: mluchterhand <mluchterhand@max.de>
2020-03-18 16:59:28 +00:00
Mat
0718c44e77
Silk touch pickaxe drops grass block ( #4485 )
2020-03-17 02:23:50 +02:00
Mat
5a2163d7e6
Don't send entity velocity for boats ( #4488 )
...
* Don't send entity velocity for boats
2020-03-07 13:56:02 +02:00
Mat
83a41c93e9
Attached entities can't enter portals ( #4484 )
...
* Attached entities can't enter portals
* Whitespace fixes
2020-03-05 21:33:43 +02:00
Mat
d572ad7faf
Don't spawn boats in ground
2020-03-05 16:05:30 +02:00
Mat
cff9f7571b
Use LastSentPos for mob spawn packet in 1.11+ ( #4490 )
2020-03-05 12:58:46 +02:00
Mat
7d4934534e
Stabilise MoveToWorld ( #4004 )
...
* Stabilise MoveToWorld
* Fix comments and deprecate ScheduleMoveToWorld
* Enhanced thread safety for m_WorldChangeInfo
* Return unique_ptr from cAtomicUniquePtr::exchange
* cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld.
Allows broadcasting entities added to the world from the world's tick thread.
This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize.
As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible.
This isn't used anywhere in Cuberite so it's now deprecated.
* Update entity position after removing it from the world.
Fixes broadcasts being sent to the wrong chunk.
* Fix style
* cEntity: Update LastSentPosition when sending spawn packet
* Add Wno-deprecated-declarations to the lua bindings
* Kill uses of ScheduleMoveToWorld
2020-03-05 12:52:34 +02:00
peterbell10
d7a726a423
Update LastSentPosition when entity has no speed ( #4487 )
...
* Update LastSentPosition when entity has no speed
* Restructure BroadcastMovementUpdate and always process relmove
2020-03-04 16:47:51 +02:00
Mat
aba329544f
Prevent container item duplication ( #4476 )
2020-03-04 15:12:15 +01:00
Mat
1ab87be80c
Play correct sound when entities are hit by arrows ( #4481 )
2020-03-04 02:05:04 +02:00
Mat
dca896dfcc
Boats can be spawned on land
2020-03-01 13:27:19 +00:00
Mattes D
a0d2e934eb
BlockTypePalette: Improved loading speed in MSVC Debug builds.
2020-02-24 09:37:40 +01:00
mathiascode
3d699c0dc4
Remove 1.13 from supported protocol list
2020-02-24 09:33:59 +01:00
Mat
6d938c0e3f
Blocks are usable in adventure mode ( #4464 )
2020-01-15 23:54:48 +02:00
Mattes D
4aef80b47e
Added temporary block type mapping for 1.13+ protocols.
2020-01-07 06:53:17 +01:00
Mattes D
e234fbdafe
StringUtils: Added note to StringsConcat about StringJoin.
2020-01-07 06:53:17 +01:00
Mattes D
583fd0a387
ProtocolRecognizer: Updated to unique_ptr.
2020-01-07 06:53:17 +01:00
Mattes D
b63bb2f694
Root: Load the UpgradeBlockTypePalette on startup.
2020-01-07 06:53:17 +01:00
Mattes D
208313dba1
main: Terminate if an exception is thrown.
2020-01-07 06:53:17 +01:00
Mat
dd665f092f
Clean up server folder for Android ( #4448 )
2020-01-02 17:59:07 +02:00
Alexander Harkness
bf10b56638
Fix android builds ( #4432 )
...
* Terminate android build script early if any step fails
* Remove deprecated android types
* Use android NDK cmake support rather than cmake android NDK support as that support is better supported
* Android uses GNU strerror_r?
* Fix compilation
* Rebase
* Fix final issues
* Drop submodule changes
* Revert change
* Parentheses
* Lower api levels
* Don't use GNU strerror_r for Android
Co-authored-by: Mat <mail@mathias.is>
2020-01-02 03:54:40 +02:00
Mat
fd3866154e
Include missing server files ( #4446 )
2019-12-30 19:05:19 +02:00
Mat
586a618640
Remove lang folder ( #4445 )
2019-12-30 16:02:11 +02:00
Mat
5074527d2c
Disable block placement in adventure mode ( #4424 )
2019-12-30 01:54:37 +02:00
Mattes D
2894ce3812
CMake: Fix builds in folders with spaces
2019-12-29 11:49:00 +01:00
Mattes D
5df6d4f535
CMake: Don't create symlinks if link == orig.
2019-12-28 23:26:54 +01:00
Mattes D
2d6f6a574d
BlockTypePalette: Load from TSV or original reports' JSON.
2019-12-28 22:43:35 +01:00
Mattes D
7453a9fbe1
Moved ProtocolBlockTypePalette functionality into BlockTypePalette.
2019-12-28 22:43:35 +01:00
Mattes D
2de6b7537d
BlockTypePalette: Refactored for usage in both directions.
...
Improves index() lookup speeds and allows BlockTypePalette to be used in place of ProtocolBlockTypePalette.
2019-12-28 22:43:35 +01:00
Mattes D
cc72b204b2
Output the binaries into a per-configuration Server subfolder. ( #4440 )
...
Make links to the original Server subfolder's items from the per-configuration Server subfolder.
2019-12-28 12:53:37 +01:00
Mat
f5af0e2e04
WebAdmin improvements ( #4433 )
...
* WebAdmin improvements
* Remove stray div tag
* Revert path change
* Remove buildserver link
* Further simplification
* Reduce horizontal padding
* Add svg icons
* Remove unneeded css
* Make login and logout icons colored
* Use same capitalization for Log in and Log out
* Remove leftover code from old Webadmin design
* Remove more leftover code from earlier Webadmin versions
* and don't add earlier leftovers back...
* PR test
* Fix max width overflow
* Add missing css changes
2019-12-28 02:15:12 +02:00
NiLSPACE
dc787e1d96
Improved large jungle and acacia tree generation ( #4413 )
2019-12-22 23:38:11 +01:00
Peter Bell
fb2ef33c89
Correct block transparencies
2019-12-05 15:26:47 +01:00
Mattes D
61904af626
Moved growing from cWorld / cChunk to cBlockHandler descendants.
2019-10-28 10:45:43 +01:00
Mattes D
221cc4ec5c
Refactored block-to-pickup conversion. ( #4417 )
2019-10-16 10:06:34 +02:00
NiLSPACE
241d97bbf9
Fixed crash in hopper while pulling items from blockentity above itself ( #4412 )
2019-10-04 15:50:47 +02:00
Lukas Pioch
7b603f3c95
Added another check if the item is place able ( #4404 )
2019-10-03 12:34:15 +02:00
Mattes D
365cbc6e1c
Refactored more of Entities and BlockEntities to use Vector3. ( #4403 )
2019-09-29 14:59:24 +02:00
Lukas Pioch
ba664340f3
Cactus can now grow and will be dropped if there is no place to grow.
2019-09-29 13:42:29 +02:00
Mattes D
180a43d097
Fixed MSVC warnings ( #4400 )
2019-09-27 16:51:44 +01:00
Bond-009
eda2fc42d9
Fix clang8.0 build ( #4399 )
...
The protocol 13.0 PR broke clang 8.0 builds.
2019-09-24 20:38:54 +01:00
Mattes D
66e73a2d68
NBTChunkSerializer: Cleaned up interface.
...
Removed dependency on cChunkDataCallback.
Moved all the serializing code into a worker class.
Changed the serialization into a single-call action.
2019-09-24 17:38:59 +02:00
E14
d1c95742dd
Add ProtocolBlockTypePalette ( #4391 )
2019-09-22 22:57:54 +02:00
Lukas Pioch
70d0b46b60
Added missing closing } in message output
2019-09-20 14:33:53 +01:00
Mattes D
c7132a3091
Protocol 1.9: Alpha-sort, add useful debugging code.
2019-09-16 15:37:54 +02:00
Tiger Wang
77731f80fb
Initial support for 1.13 clients
...
+ Can look at *shape* of world
+ Can look at *shape* of inventory
2019-09-16 15:37:54 +02:00