Mat
60bcc06f43
Implement wither skeletons ( #4563 )
2020-04-04 13:44:17 +02:00
peterbell10
aac592f985
Manage block entity lifetime with unique_ptr ( #4080 )
2020-04-03 23:23:38 +02:00
Alexander Harkness
ba048e2101
New hotfix to prevent calling OnBroken ( #4600 )
...
* Fix stack overflow in breaking ice.
Stupid fix, but it does work and is used in other places too...
* Replace hotfix for pistons with better one
* Fix comments in BlockBed handler
2020-04-03 20:24:49 +00:00
Mat
4c6f95f49a
Quick fix to make spawn eggs work ( #4611 )
2020-04-03 21:56:48 +03:00
Mat
4ed182c13a
Tweak pickup sound pitch ( #4598 )
2020-04-03 15:49:12 +00:00
Mattes D
a765e71325
Removed the obsolete cTracer class. ( #4594 )
2020-04-03 12:50:08 +00:00
Mattes D
01b8ed5295
Pulled the BlockID and BlockInfo headers from Globals.h. ( #4591 )
...
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change)
The BlockInfo.h file was removed from Globals.h (main change)
The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics)
The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor)
Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header.
That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified.
eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
2020-04-03 08:57:01 +02:00
Mat
318d31dc39
Use a reasonable listen backlog value ( #4597 )
2020-04-02 16:05:07 +02:00
Alexander Harkness
cdc452916e
Replace buckets to the selected hotbar slot, rather than the first available. ( #4580 )
...
* Replace buckets to the selected hotbar slot, rather than the first available.
Replicates vanilla behaviour, as well as being more logical.
* Refactor cInventory::AddItem. Behaviour is now documented
* Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods
* Return empty potion to the same slot after drinking
* Replace buckets correctly in other situations, not simply water and lava
Uses the new ReplaceOneEquippedItem method
* Correct collecting water from source block with bottle
* Add cPlayer::ReplaceOneEquippedItemTossRest method
* Handle stacked filled buckets (in theory)
Use new cPlayer::ReplaceOneEquippedItemTossRest method
2020-04-02 12:42:15 +00:00
mathiascode
d5c58c6b17
Tweak attack ranges
2020-04-02 09:30:50 +02:00
peterbell10
59e38d1a46
Fix explosion knockback issues and tweak knockback strength ( #4590 )
2020-04-02 09:29:42 +02:00
Alexander Harkness
41d4ea6948
Fix off-by-one error and clean error messages in manual bindings for BlockArea ( #4549 )
...
* Correct off-by-one error in manual bindings for FillRelCuboid
Fixes #4454
* Fix inconsistent error messages in manual bindings for BlockArea
* Generate error if invalid coords passed to FillRelCuboid
2020-04-01 12:43:26 +00:00
Alexander Harkness
9210501af5
Prevent player from being destroyed by plugins ( #4584 )
...
* Prevent player from being destroyed by plugins
Add manual binding, bails out with error message if attempted
entity to destroy is player.
* Improve warnings and documentation, remove automatic binding
* Remove old and unnecessary deprecated function
2020-03-31 11:39:23 +00:00
Mat
5eb1ba3bcc
Lua API for spectating entities ( #4518 )
2020-03-30 21:35:37 +02:00
Mat
c04ba834d1
Send experience on respawn ( #4586 )
2020-03-30 21:29:59 +02:00
peterbell10
6116f899de
Fix client disconnect assert ( #4579 )
2020-03-29 22:58:19 +02:00
Mat
31ace87d28
Add protocol mob ID remapping ( #4538 )
2020-03-29 17:54:37 +02:00
Alexander Harkness
aa9a16b0c6
Fix build on Clang
2020-03-28 18:27:38 +00:00
Mat
fce548139b
Inventory changes ( #4561 )
...
Co-Authored-By: peterbell10 <peterbell10@live.co.uk>
2020-03-28 13:52:40 +00:00
Xenoxis
1e1f79b795
Updated Bookshelves drop behaviour ( #4567 )
...
* Updated BookShelves Drop Behaviour
As described here : https://minecraft.gamepedia.com/Bookshelf#Loot
* Update src/Blocks/BlockBookShelf.h
* Update CONTRIBUTORS
2020-03-28 12:20:14 +00:00
Mat
ec7247fa63
Toss all items from enchantment table ( #4569 )
2020-03-28 14:01:21 +02:00
peterbell10
1bc24055d5
cClientHandle: Only allow m_State to increase ( #4533 )
...
* cClientHandle: Only allow m_State to increase
* WasAddedToWorld was incorrect if kicked
* Rewrite cClient::Destroy with a guard clause
2020-03-28 10:44:44 +00:00
Xenoxis
ae4d387f1d
Fix Snow Spawn on Cobblestone Slab ( #4564 )
2020-03-27 23:37:32 +00:00
Mat
92cf553bf8
Reduce ghast spawn rate again
2020-03-27 21:00:26 +02:00
Mat
c9b3d2d95a
Reduce ghast spawn rate
2020-03-27 20:29:43 +02:00
Mat
7d8da81b92
Updated plugin list format ( #4557 )
2020-03-27 13:47:04 +01:00
Bond-009
ea386eaab1
Lock hopper when powered by redstone ( #4347 )
...
* Lock hopper when powered by redstone
* Add to manual bindings
* Add hopper API documentation
Co-authored-by: Mat <mail@mathias.is>
2020-03-27 12:03:28 +00:00
Alexander Harkness
3a2f364c95
Merge #4552
...
commit 28654b1f42a98c0f9910e333a9c8074fe30aff24
Author: Alexander Harkness <me@bearbin.net>
Date: Fri Mar 27 11:58:34 2020 +0000
Remove whitespace
commit f1492e174b51e168bf4fb150c2d7b7096c393057
Author: Odin <SirRobo@users.noreply.github.com>
Date: Fri Mar 27 04:30:32 2020 +1100
Add issue comment
commit b64166d68a327e8a9bf80720ff6e9c6af93921b5
Author: Odin <SirRobo@users.noreply.github.com>
Date: Fri Mar 27 03:42:35 2020 +1100
Don't run OnBroken with pistons
Stops piston duplication bug and doesn't break water and lava simulation
2020-03-27 12:01:50 +00:00
Mat
f5beeccd25
Fix typo in floater code ( #4556 )
2020-03-27 02:40:40 +02:00
Mat
996ce888e1
Fix typo in block break particle coordinate ( #4555 )
...
* Use Vector3d for block break particle
* Fix typo
2020-03-27 02:40:16 +02:00
Mat
2b32bb0b19
Decrease attack cooldown for monsters ( #4542 )
...
* Decrease attack cooldown for monsters
* Nerf some mobs
* Decimal points
2020-03-26 20:11:43 +02:00
Mat
84f86a467e
Improvements to blaze and ghast ( #4547 )
2020-03-26 18:54:40 +01:00
Mat
195bebb480
Disable bonemealable settings for now ( #4551 )
2020-03-26 17:06:15 +00:00
Mat
b7e88e2c9f
Fix nether mob spawning ( #4546 )
...
* Fix nether mob spawning
* Remove zombie from nether mobs
2020-03-25 10:49:36 +00:00
Mat
782619e3f8
Send respawn packet by default ( #4540 )
2020-03-24 14:54:12 +00:00
Mat
fdca7dc7f1
Furnace and brewing stand drops ( #4534 )
...
* Furnace drops contents
* Brewing stand drops contents
* Fix lit furnace drop
* Fix brewing stand drop
* Style
* Style
2020-03-24 14:16:09 +02:00
Max Luchterhand
08a9991b5a
When Client sends message longer than 256 bytes, kick him instead of handling message ( #4514 )
...
* Wrong overload of function push() got called when pushing a cEntity*.
Using a const cEntity * fixes this.
* Fixed accidental wrong indentation
* Compiler didn't like old style cast
* Kicking player when writing chat message longer than 2048
* Accounted for Astrings size() method returning bits, not bytes
* Fixed typo
* Changed MAX_STRING_SIZE to 1024, removed unnecessary division by 8
* Handling message length check in cClientHandle:HandleChat
* Guard clause instead of if else
* Remove stale changes
* Fixed formatting
Co-authored-by: mluchterhand <mluchterhand@max.de>
Co-authored-by: Peter Bell <peterbell10@live.co.uk>
Co-authored-by: Mattes D <github@xoft.cz>
2020-03-24 10:39:54 +02:00
Mat
0d0d019bbe
Fix certain item drops ( #4536 )
...
* Fix certain item drops
* Revert unwanted changes
* Revert unwanted changes
* Revert change
* Style fixes
2020-03-23 22:07:08 +02:00
mathiascode
bff7319622
Enable functional packets in 1.13
2020-03-23 18:02:32 +02:00
Mat
4fde622e2d
Play sound when brewing is complete
2020-03-23 16:12:54 +02:00
Mat
f5d24746d6
Jukebox improvements ( #4537 )
...
* Add jukebox block handler
Co-authored-by: peterbell10 <peterbell10@live.co.uk>
2020-03-23 13:45:09 +00:00
Alexander Harkness
0a68994f48
Manual merge of #4498 .
...
Credit to @MeMuXin
Closes #4498
2020-03-23 12:18:12 +00:00
Mat
7d05e4402f
Don't attempt to give bucket with item count of 0
2020-03-23 11:39:32 +02:00
Mat
4b57513dd6
Cocoa pods have three growing stages
2020-03-23 10:19:52 +02:00
Mat
7700116330
Pickup spawn improvements ( #4525 )
...
Pickups are now thrown around when spawned, like in vanilla. Pickups also bail out of the collision detection checks while being created, to prevent them from blasting too far off in e.g. cobblestone generators.
2020-03-23 00:05:47 +00:00
Mat
41e09484b7
Don't push blocks outside world height limits ( #4516 )
...
* Don't push blocks outside world height limits
* Style fix
* Apply suggestion
Co-Authored-By: peterbell10 <peterbell10@live.co.uk>
* Apply suggestion
Co-Authored-By: peterbell10 <peterbell10@live.co.uk>
* Improvements
* Add block type check back
* Revert line break changes
* Update BlockPiston.cpp
Co-authored-by: peterbell10 <peterbell10@live.co.uk>
2020-03-22 22:51:11 +02:00
Mat
9ddf433ae7
Add ambient mob sounds ( #4521 )
2020-03-22 15:50:34 +00:00
Mat
076749bd36
Increase speed of splash potion and expbottle ( #4513 )
2020-03-22 17:44:24 +02:00
Mat
0b0d6b23d2
Fix effect crashes ( #4530 )
...
* Fix effect crashes
* Change according to suggestion
2020-03-22 17:34:24 +02:00
Mat
c968f1f7da
TNT position fixes ( #4519 )
...
* TNT position fixes
* Don't add offset to explosion spawn coords
* Don't make other entities push TNT
* Correct initial TNT speed
* Fix typo
* Improvements
* Revert unwanted change
* Style fixes
* Update format
2020-03-22 17:33:36 +02:00
Mat
00ae9604e1
Fix invalid explosion damage ( #4529 )
2020-03-22 13:02:21 +00:00
Mat
581c1e5034
Fix typo in fish meta
2020-03-22 14:43:12 +02:00
Mat
c0c9bf2b86
Don't enchant an already enchanted book
2020-03-22 13:32:24 +02:00
Mat
c750c4e55f
Fix armor protection ( #4506 )
...
* Fix armor protection
* Check min damage
* Check min damage
* Commit missing changes
* Convert to int
* Use float
* Float some more
2020-03-22 12:39:32 +02:00
Mat
49dd645aa6
Don't remove items twice ( #4524 )
...
* Don't remove items twice
2020-03-22 12:17:04 +02:00
Mat
038194d2a6
Allow enderman to attack during day ( #4522 )
2020-03-22 12:13:44 +02:00
Mat
3d5a295423
Ender chest is not affected by piston ( #4526 )
2020-03-22 00:18:49 +00:00
Mat
c4fc6a5343
Bonemeal cannot be used on cactus and sugar cane
2020-03-21 19:46:57 +02:00
Max Luchterhand
4f60eaabca
Wrong overload of function push() got called when pushing a cEntity*. ( #4512 )
...
* Now having two funcs, Push(cEntity* ..) and Push(const cEntity* ...).
For now, the const function just casts away the const qualifier and
passes to the other.
Co-authored-by: mluchterhand <mluchterhand@max.de>
2020-03-21 16:00:26 +00:00
Mat
0de2a32365
Don't call player movement hook if nothing changed ( #4517 )
...
Co-authored-by: peterbell10 <peterbell10@live.co.uk>
2020-03-21 12:57:19 +00:00
Mat
61a6a18b79
Improve explosion visuals ( #4511 )
2020-03-20 23:42:16 +00:00
stone3311
0a1cfda02c
Clamp teleportation position ( #4203 )
2020-03-20 09:31:06 +01:00
Mat
646d3d6a2e
Remove leading slash from command block commands ( #4502 )
2020-03-19 20:06:25 +01:00
Mat
0e07e231a2
Improvements to knockback ( #4504 )
...
* Improvements to knockback
* SetSpeed for explosions
* Improve code consistency
2020-03-19 17:13:41 +00:00
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
E14
83013d19ca
GCC: Added pragma to ignore fallthrough warnings within Unicode Inc. code ( #4392 )
2019-09-13 15:56:56 +02:00
Mattes D
3bc0f07fea
Fixed warnings in ChunkDataSerializer.
2019-09-10 09:45:28 +02:00
Mattes D
2c804dd34a
Protocol: Use logical outgoing packet types.
2019-09-10 09:45:28 +02:00
Mattes D
ad24702b4e
ChunkGenerator: Changed to use cChunkCoords.
2019-09-08 20:21:49 +02:00
Mattes D
5f4df3e87d
ShapeGen, HeiGen: Changed to use cChunkCoords.
2019-09-08 20:21:49 +02:00
Mattes D
e4ac84a6ab
BiomeGen: Changed to use cChunkCoords params.
2019-09-08 20:21:49 +02:00
Mattes D
343bc2729e
Generator: Added repeatability test.
2019-09-07 13:38:07 +02:00
Mattes D
f50c6735f8
CompoGenNether: Fixed different data produced in Linux Release builds.
2019-09-07 13:38:07 +02:00
Mattes D
d8d1e6e1d2
Added a BasicGeneratorTest.
2019-09-06 16:12:33 +02:00
Mattes D
878393a03d
Moved the generator defaults to ComposableGenerator.
2019-09-06 16:12:33 +02:00
Mattes D
a2ffa432b3
Separated chunk generator from world / plugin interfaces.
...
The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests.
2019-09-06 16:12:33 +02:00
Mattes D
f021e2fe22
Updated LibEvent to release 2.1.11-stable. ( #4383 )
...
This finally restores my ability to compile on Windows and Linux from the same source folder (on a network drive).
LibEvent broke this long ago by writing a config file into the source folder, rather than build folder. Now it's finally fixed.
2019-09-04 22:34:54 +01:00
Mattes D
2504538a3a
Added a basic PalettedBlockArea implementation ( #4377 )
2019-08-28 08:29:02 +02:00
Mattes D
74579fbadf
Improved testing framework. ( #4376 )
2019-08-26 21:38:34 +02:00
Mattes D
02fbf16865
Added BlockState implementation for 1.13 support.
2019-08-24 12:03:38 +02:00
Julius Oeftiger
9a1ed26893
Fix mobs targeting dead players ( #4344 )
...
Fixes #4340
2019-08-16 11:10:47 +01:00
Bond-009
e0ca4d8399
Fix building with clang 8.0 ( #4346 )
2019-08-11 10:39:43 +01:00
Bond-009
4de232bdae
Wake up redstone simulator on slot changes for blockentities ( #4348 )
...
Fix #1898
Fix #2194
Fix #3063
2019-08-11 00:11:57 +01:00
Lukas Pioch
528db6eea7
Added null check for position ( #4366 )
2019-08-11 00:32:22 +02:00
Mattes D
26d0605121
Improved CMake generator ( #4365 )
2019-08-10 13:15:51 +02:00
Mattes D
d0b095ad51
Added more clamping operations to cCuboid.
2019-08-10 12:25:06 +02:00
Mattes D
e7016b1525
Removed coord-based API from cCuboid. ( #4362 )
2019-08-09 03:13:15 +02:00
peterbell10
a2547bf1fe
cBoundingBox: Fix tolua warning ( #4361 )
...
tolua was warning about no support for `operator =`.
Ref: #4360
2019-08-08 19:49:00 +01:00
Aplaus228
466d986e5e
Change TakeDamageInfo::FinalDamage from int to float ( #4359 )
...
Closes #4357
2019-08-08 11:51:38 +01:00
Mattes D
f0cd34357e
Fixed compilation on VS2019
2019-08-06 10:13:18 +02:00
Mattes D
8212f163b5
Register vanilla blocks in BlockTypeRegistry.
2019-08-05 21:42:54 +02:00
Mattes D
f48ac9f0c3
BlockTypeRegistry: Added hint manipulation
2019-08-05 21:42:54 +02:00
Mattes D
3722a239bf
BlockTypeRegistry: Initial skeleton
2019-08-05 21:42:54 +02:00
Mark Asp
c00b365617
Check for nil in cWorld:SpawnSplitExperienceOrbs binding ( #4354 )
...
Adds explicit nil check for 'position' parameter to prevent crashes if invalid.
Fixes #4352
2019-07-28 14:09:51 +01:00
peterbell10
9dc1343bda
Ignore whitespace only lines in brewing and furnace recipes ( #4332 )
2019-06-11 13:39:44 +01:00
DaPorkchop_
52e6543ba5
Respect return value of cLuaWindow's OnClicked handler ( #4322 )
2019-06-11 12:07:35 +02:00
Wilhem Barbier
85006d10f5
Fix directory traversal bug ( #4341 )
...
Refuse to serve an URL containing `../`.
2019-06-11 10:33:56 +02:00
Zach DeCook
31a8d017d9
* Sponge: Add water absorbtion ( #4333 )
...
Closes #1411
2019-06-11 00:28:02 +01:00
Zach DeCook
24a8456f79
Create Ender Portal with Eyes of Ender ( #4126 )
...
The algorithm was designed so All portals must be facing the center, no matter which block had the eye inserted in last.
Note: Still need to create a block entity so that portals don't become invisible when you relog.
Addresses part of #3445
Fixes #3695
2019-05-11 20:43:26 +01:00
Zach DeCook
b9e7505d7f
Buckets: Be able to place fluids through other fluids. ( #4331 )
2019-05-07 20:15:58 +01:00
DaPorkchop_
8b4d37771f
Fix player skin sending through BungeeCord ( #4328 )
...
This fixes sending of player skins through BungeeCord by actually parsing the JSON instead of setting the player properties as a string.
2019-04-22 18:54:22 +01:00