1
0
Commit Graph

10195 Commits

Author SHA1 Message Date
Mattes D
226272fc63 Debuggers: Added the "/come" command to test mob pathfinding. (#3734) 2017-05-27 19:22:09 +02:00
Heiko Hund
a0341d561a Add rank prefix and suffix to player name in chat (#3730)
Fixes issue #1721
2017-05-27 02:15:56 +01:00
Lukas Pioch
73a3c4e3be Exported boat
- NBT: Added saving / loading of material
- Added the material in the item handler of the boat
- Drop the correct boat if destroyed
- APIDoc: Added desc and functions
2017-05-24 19:02:18 +02:00
Pablo Beltrán
84bdba345d Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725)
Fixes #3714.
2017-05-24 08:09:58 +02:00
peterbell10
8a890cf945 Store cChunk::m_BlockEntities in a map (#3717)
* Store block entities in a map from block index
* Cleanup ForEachBlockEntity
* Cleanup DoWithBlockEntityAt
2017-05-22 22:27:55 +02:00
Lukas Pioch
fc49ace897 Spawn eggs works again 2017-05-22 18:10:12 +02:00
Lukas Pioch
e35ac1bfb9 Clang 5.0 fixes
- Added override keyword
- Removed inherited member variables
2017-05-21 12:19:06 +02:00
Pablo Beltrán
758622336e Fixed invisible chests (#3722)
Fixes #3479, #3403, #3696
2017-05-21 11:48:33 +02:00
Pablo Beltrán
2359611c57 Don't destroy monster when last target type is a player (#3721)
In current Cuberite version if you are pursued by monsters you just have to disconnect and connect again to get rid of them. If no other player is in your chunk monsters will get destroyed.
2017-05-21 10:29:06 +02:00
Lukas Pioch
4b5a11ee95 Update submodule tolua++ 2017-05-20 13:37:43 +02:00
mathiascode
6502f9d049 Added backer 2017-05-20 13:31:14 +02:00
mathiascode
8cf48f7682 Allow enabling/disabling of block change limit 2017-05-19 19:51:03 +02:00
mathiascode
b02886a901 Use FastWriter instead of StyledWriter 2017-05-16 21:17:33 +02:00
peterbell10
f0a16e6d28 VarInt metadata written correctly for boats (#3709)
* Varint metadata written correctly for boats
2017-05-15 18:04:53 +02:00
Mattes D
86d3244549 Doxygen: added icon, autobrief. 2017-05-12 09:10:07 +02:00
Mattes D
2c3c1f1527 Tracer replacement (#3704)
* Replaced cTracer usage with cLineBlockTracer.

* Exported new cLineBlockTracer utility functions to Lua API.
2017-05-11 13:34:36 +01:00
Lukas Pioch
7c4576a025 Exported cFallingBlock and cExpOrb (#3700) 2017-05-09 14:24:41 +02:00
Mattes D
3d5ee3e5c7 Fixed Lua bindings for const objects. 2017-05-09 14:10:53 +02:00
Mattes D
17ba5be852 Updated Core and ProtectionAreas to latest. 2017-05-09 11:48:07 +02:00
Mattes D
ed1b78bcb6 BlockHandlers: vertical alignment. 2017-05-09 11:13:44 +02:00
Mattes D
473a4ae226 BlockCrops: Fixed RipeMeta off-by-one error properly.
Ref.: #3691
2017-05-09 11:11:06 +02:00
NiLSPACE
72cb84e4d0 Merge pull request #3699 from cuberite/apidump_patch
APIDump: Add missing 'My' to generated function hook example.
2017-05-09 08:56:57 +02:00
Lukas Pioch
7127058930 APIDump: Add missing 'My' to generated function hook example. 2017-05-09 05:50:55 +02:00
Lukas Pioch
5580d558a5 Added missing checks for Initialize function and updated APIDoc 2017-05-08 06:31:45 +02:00
Lukas Pioch
41bfb22834 Corrected brewingstand and added support for fuel 2017-05-08 06:30:54 +02:00
dbhicks
dffbf0b510 Adjusted RipeMeta for off by one error (#3691) 2017-05-06 02:41:01 +01:00
josh-parris
05c3e8bed8 Prevent infinite loop when logging fails (#3693)
Prevent infinite loop when logging fails
2017-05-05 13:02:54 +01:00
Mattes D
598da23434 ToLua++: Removed binary tolua.
Ref.: #3686
2017-05-04 23:22:02 +02:00
Mattes D
1ed2fcf9b8 Fixed SysLua builds.
Ref.: https://github.com/cuberite/cuberite/pull/3690#issuecomment-299300034
2017-05-04 23:01:01 +02:00
Mattes D
0de705eb99 Removed binary ToLua++ from build.
A local Lua executable is used instead.
2017-05-04 17:38:05 +02:00
Mattes D
c939720c10 Gen: Added a simple PieceGeneratorBFSTree test. 2017-05-04 09:49:30 +02:00
Mattes D
96fdd72d45 Gen: Moved tests to a separate folder, unified shared sources. 2017-05-04 09:49:30 +02:00
Mattes D
187abe3f5e Gen: Moved PiecePool into a separate file.
Also rewritten the PieceGenerator to use std::unique_ptr.
2017-05-04 09:49:30 +02:00
Lukas Pioch
f709f74aeb APIDoc: Removed non-existent functions and added missing return types 2017-05-02 06:10:36 +02:00
Lukas Pioch
74e6f41958 Don't return const ref params and removed functions from
ManualBindings.cpp
2017-05-01 11:10:21 +02:00
Lukas Pioch
9842896574 APIDoc: Replaced incorrect param cMonster with eMonsterType 2017-04-30 10:08:03 +02:00
Bond-009
2a129b01aa Fix fence gates (#3683)
This commit fixes an issue where a pressureplate would only open oak fence gates
2017-04-29 00:15:47 +01:00
Mattes D
85f11694da Build Lua in C++ mode, use exceptions for error-raising. (#3680)
Fixes #3678 .
2017-04-26 23:02:57 +02:00
Lukas Pioch
7960d142ca APIDoc: Corrected a few links 2017-04-07 21:26:59 +02:00
Lukas Pioch
36dea62662 Replace double grass and large fern with placed block 2017-04-06 11:14:27 +02:00
Lukas Pioch
6c420ce557 API: Removed function GetChar (#3664) 2017-04-05 22:31:42 +01:00
Lukas Pioch
1614aa17d3 APIDoc: Added missing IsStatic flags and corrected param types. 2017-04-05 16:43:57 +02:00
Lukas Pioch
fb20517435 APIDoc: Documented missing functions and variables. (#3634) 2017-04-04 07:53:14 +02:00
Marvin Kopf
dbdcb85346 Added a nullptr check to cEntity::IsA (#3659)
Fixes #3603
2017-04-01 23:15:08 +02:00
Marvin Kopf
974c054bc9 fix endless loop in StringReplace (#3658)
* Fixed a recursive loop where the replacement would again be searched for the needle.
* Skip if the needle is empty. Find(needle) always matches if needle is empty.
2017-04-01 12:57:51 +01:00
Alexander Harkness
62ffa37bf1 Add Fllamber to BACKERS file. 2017-03-29 20:24:01 +01:00
Mattes D
5dc0189a16 FastRandom: Added test of class re-creation. (#3648)
Tests for the precondition of #2935 (re-created cFastRandom generates the same sequence of numbers).
2017-03-28 16:37:25 +02:00
NiLSPACE
96663d35b2 Merge pull request #3641 from cuberite/firework_nbt
NBT: Corrected firework loading
2017-03-22 15:08:42 +01:00
Lukas Pioch
fd6faedd55 NBT: Corrected firework loading 2017-03-22 14:21:48 +01:00
Bond-009
9c9734282d Fireworks can be fired from a dispenser 2017-03-22 11:35:14 +01:00