Lukas Pioch
c5f590d460
Removed UTF-8 BOM ( #4033 )
2017-09-19 10:34:08 +02:00
peterbell10
307e7aaff5
Fix switch warnings ( #4013 )
...
* Fix switch warnings
* Fix a variety of -Wswitch and -Wswitch-enum warnings
* Remove unneeded -Wno-error flags
* Reorganise some eMonsterType switches
* Alpha sort eMonsterType cases in WriteMobMetadata
and in cNBTChunkSerializer::AddMonsterEntity
* List all mob types in protocol 1.12 and NBTChunkSerializer
* cStructGenTrees::GetNumTrees: remove switch default
* cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type
2017-09-14 09:48:57 +01:00
peterbell10
e225b7f826
Replace ItemCallbacks with lambdas ( #3993 )
2017-09-11 23:20:49 +02:00
Bond-009
104f9e127b
Changed some int parameters to vector parameters ( #3937 )
2017-09-07 10:25:34 +02:00
LogicParrot
49c443896d
Revert "Replace ItemCallbacks with lambdas ( #3948 )"
...
This reverts commit 496c337cdf
.
2017-09-02 08:50:23 +01:00
peterbell10
496c337cdf
Replace ItemCallbacks with lambdas ( #3948 )
2017-09-01 13:04:50 +02:00
mathiascode
02775e52c4
Minor changes ( #3909 )
2017-08-24 11:19:40 +02:00
peterbell10
0854ed01a4
Fix use after move in cItemBowHandler::OnItemShoot
2017-08-24 11:17:51 +02:00
Pablo Beltrán
b18f6637b6
Fully implemented leashes ( #3798 )
2017-08-21 10:46:41 +02:00
Tiger Wang
72d7027861
Merge pull request #3489 from cuberite/EntityOwnership
...
* Changed entity ownership model to use smart pointers
2017-08-18 11:17:56 +01:00
Lukas Pioch
743a50014a
Replaced includes with forward declarations
2017-08-13 12:31:10 +01:00
Tiger Wang
4ef47aed62
Changed entity ownership model to use smart pointers
2017-08-07 19:24:16 +01:00
Lukas Pioch
07f25253a2
Removed unneeded includes ( #3902 )
2017-08-06 20:57:44 +01:00
peterbell10
759618b035
Remove double includes part 2 ( #3890 )
2017-08-03 15:34:19 +02:00
Lukas Pioch
4691bc5a29
Removed double includes ( #3885 )
2017-08-02 19:57:20 +01:00
peterbell10
0d0323608d
cBlockHandler: take player by ref
2017-08-01 08:21:20 +02:00
peterbell10
8eb5672920
cWorld::SendBlockTo take player by ref
2017-08-01 08:21:20 +02:00
Lane Kolbly
10d42a2452
Consolidated food effects into EatItem, added all fish type FoodInfos. ( #3875 )
...
* Consolidated food effects into EatItem, added all fish types.
* Changed type of NumFishInfos to satisfy clang.
* Removed unused call for a_Item in EatItem
2017-07-30 18:53:21 +01:00
peterbell10
bbf5bec817
BigFlower fixes ( #3826 )
...
* BigFlowers fixes
* Correct upper part meta
* Documented parameters to DoesIgnoreBuildCollision
2017-07-07 16:37:53 +02:00
Bond-009
7fd3899796
Added 1.12 blocks ( #3760 )
2017-06-30 10:46:58 +02:00
Bond-009
0e1649a0f1
Fix shears (and vines)
...
* Shears now lose durability when breaking any block
* Leaves don't drop 2 leaves anymore when broken by shears
* Removed the chance to drop saplings or apples when leaves are broken by shears
* Vines can't be attached to ender chests, pistons and redstone repeaters
2017-06-21 08:09:03 +02:00
peterbell10
360d8eade0
FastRandom rewrite ( #3754 )
2017-06-13 21:35:30 +02:00
peterbell10
36be4a89f8
Fixed double chests ( #3741 )
...
Normal and trapped chests next to each other don't open a double chest window.
Slot changes in the secondary chest are broadcast.
Placing a chest in +x of another updates the original chest's metadata.
2017-06-03 21:17:53 +02: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
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
5580d558a5
Added missing checks for Initialize function and updated APIDoc
2017-05-08 06:31:45 +02:00
Bond-009
e8de42fcbb
Return bowl when eating beetroot soup
2017-03-20 21:21:02 +01:00
Bond-009
ef85c2e686
Deadbushes drop sticks
2017-03-19 21:57:41 +01:00
Lukas Pioch
043a82344f
Boat spawned, remove it from player's hand
2017-03-17 19:33:18 +01:00
Bond-009
2a630e8421
Fixed which blocks can be harvested with what type of pickaxe ( #3586 )
2017-02-26 12:13:53 +01:00
Alex
9cb1ad546f
Changed fish launching mechanism ( #3520 )
...
Fish and other fishing loot now correctly fly towards played when reeled in.
2017-02-20 10:03:19 +01:00
mathiascode
dae2adde65
Updated sounds and effect IDs ( #3422 )
2017-02-15 06:05:24 +01:00
mathiascode
4311f4a658
Added some blocks and items ( #3503 )
2017-02-14 11:13:55 +01:00
Jacob
0f687c7182
Fixed placing of double tall flowers and an inconsistency with vanilla ( #3541 )
2017-01-19 17:21:05 +01:00
QuImUfu
fb2eaaa847
Added code to handle signs replacing blocks
2016-12-01 15:20:03 +01:00
Mattes D
0bffa29358
Removed ClientHandle.h dependencies from common headers.
2016-11-18 20:00:04 +01:00
Mattes D
da2ea3c2ff
Added missing "override" specifier.
2016-11-13 16:22:03 +01:00
mohe2015
32b38fb264
Anticheat fastbreak ( #3411 )
...
Added block hardness checks when breaking blocks.
2016-11-06 19:30:19 +01:00
Mattes D
d2e8643607
Fixed type-casting-related warnings.
2016-08-24 22:26:53 +02:00
Mattes D
7549f468b3
Fixed implicit rounding warnings.
2016-08-19 14:09:10 +02:00
Alexander Harkness
baefed8061
Fix issue #3312
...
Nether brick fences now drop their item.
2016-08-12 13:55:41 +01:00
Mattes D
8eaa8613da
CMake: Remove needless minimum version specifications.
2016-07-18 22:11:42 +02:00
beeduck
db65e11d57
Fixes for boat entities ( #3265 )
...
protocol for vehicles now properly handled, protocol for boat paddles now properly handled, boats can no longer spawn underwater, boats now properly float, boat metadata now properly broadcasted.
2016-07-18 22:10:00 +02:00
LogicParrot
ca6ef58b1e
Bulk clearing of whitespace
2016-02-05 23:50:18 +02:00
Mathias
89f3dec7ac
Updated old forum links
2016-01-31 02:25:03 +02:00
Mattes D
80e1eb37dd
Renamed leftover strings to Cuberite / Server, as needed.
...
Also upgraded the user setting file for MSVC to 2013.
2016-01-01 21:05:09 +01:00
Gargaj
8968a7174e
add handling of water bottle
2015-12-22 20:25:59 +01:00
Gargaj
41761624c2
Tilling dirt should send block update
...
There are BUD switches that are built on this (https://www.youtube.com/watch?v=Bk_ChvmtCNY ) but more prominently, torches placed on dirt blocks should pop off when the dirt block is tilled.
2015-12-06 12:59:38 +01:00
Gargaj
72b2ab6406
Merge mushroom soup into generic food handler
...
...and fix eating the bowl when eating rabbit stew
2015-12-03 14:55:32 +01:00
Gargaj
b5de4a9a6f
remove slab from inventory when using it on another slab ( fixes #2610 )
2015-11-09 21:12:32 +01:00