bibo38
64012bf46f
Fixed the style problems and added some comments
2015-11-07 17:23:02 +01:00
bibo38
5fa077f869
Removed unused CanPull method
2015-11-07 17:23:02 +01:00
bibo38
558991a725
Extracted block moving code into a seperate method
2015-11-07 17:23:02 +01:00
bibo38
f35060e8b5
Replaced the usage of pistonMeta with a direction vector to allow better meta value abstraction
2015-11-07 17:23:02 +01:00
bibo38
ceec6c936d
Fixed pulling/pushing of breakable blocks, which are not required to be moved
2015-11-07 17:23:02 +01:00
bibo38
ede4eec4c5
Implemented the basic slime block pulling
2015-11-07 17:23:02 +01:00
bibo38
59a9ac5e6f
Implemented the SlimeBlock into the CanPush method to allow slimeblocks to work correctly when pushed
2015-11-07 17:23:02 +01:00
bibo38
8f066a16ec
Piston extension now works with the new recursive CanPushBlock method.
2015-11-07 17:23:02 +01:00
bibo38
e2d88106a9
Added the CanPushBlock method for the piston push check.
...
This allows the recursive check for blocks to push, which is needed to implement the slime blocks into the piston system.
2015-11-07 17:23:02 +01:00
bibo38
d92a92d78a
Implemented the slime block dropping behaviour.
...
Fixes #2530
2015-11-07 17:23:02 +01:00
worktycho
7dae50fc14
Merge pull request #2618 from Gargaj/deadmeansdead
...
Fix mobs firing when already dead
2015-11-07 13:26:31 +00:00
Gargaj
31dac0cb2e
don't attack if dead
2015-11-07 13:48:00 +01:00
Gargaj
ad1e24e50b
code style
2015-11-07 13:32:52 +01:00
Gargaj
2f28c2f4ff
implement pushing/shoving based on @NiLSPACE's suggestion
2015-11-07 13:29:18 +01:00
Gargaj
5bcd4b271e
chickens don't take fall damage
2015-11-06 10:22:40 +01:00
Julian Laubstein
056822845d
Merge pull request #2593 from cuberite/enderegg
...
Destroy an ender crystal when hit by an egg.
2015-11-05 18:10:19 +01:00
Alexander Harkness
1d4c6d3fbe
Destroy an ender crystal, damage a dragon when hit by an egg.
2015-11-05 16:42:42 +00:00
Mattes D
1abf065953
MSVC: Reviewed warnings, disabled a useless one, re-enabled an old one.
2015-11-05 11:09:37 +01:00
Gargaj
a9579c4f06
Fix being set on fire while directly being under lava
...
Right now you will be on fire if there is a block of lava right above you, even if it doesn't pour down.
2015-11-04 18:00:29 +01:00
Lukas Pioch
9749c3aac9
Implemented brewing
2015-11-03 18:00:55 +01:00
Cengiz Can
bb48d8a7e8
Use an unreserved qualifier for thread local storage
...
Fixes #1906
2015-11-03 12:09:40 +03:00
bibo38
19b65ce357
Fixed failed assertation
...
This was caused by a monster with a negative Y-axis.
Fixes #2336
2015-11-03 08:39:18 +01:00
worktycho
47604cd914
Merge pull request #2591 from cuberite/chunkprepare-deadlock
...
Fix deadlock, resolves #2521
2015-11-03 00:23:45 +00:00
Tiger Wang
9de3a3f938
Examined a fix for #2588
2015-11-02 22:07:48 +00:00
Alexander Harkness
7e4c56ce0d
Fix deadlock, resolves #2521
2015-11-02 18:21:35 +00:00
bibo38
435bae104d
Implemented the Water Breathing Potion functionality.
...
Fixes #2556
2015-11-01 11:50:03 +01:00
bibo38
73b8be0fef
Implemented the FireResistence potion effects.
...
This not only provides fire resistence, but also prevents blaze fireballs.
See #2556
2015-10-31 23:06:10 +01:00
Lukas Pioch
5ae19fb332
Debug mode: Fixed assertion, if player below y < 0
2015-10-31 14:26:24 +01:00
bibo38
ec5c38761f
Changed for-loop iterator in File.cpp to a reference type to reduce object copying and fix the clang build.
...
Fixes #2580
2015-10-30 20:16:45 +01:00
Lukas Pioch
3e48b1f1eb
Added cave spider to MobSpawner
2015-10-29 13:35:35 +01:00
Mattes D
a7c75d61ce
Revert "Pressure plate fix"
2015-10-29 11:43:01 +01:00
Schwertspize
525b967c93
fixed pressure plate bugs
2015-10-28 22:21:46 +01:00
Alexander Harkness
d14c8fa446
Fix wrong teleport permission. (solves #2369 )
2015-10-28 08:24:48 +00:00
Lukas Pioch
079bb7c016
Update Loops required for JsonCPP
2015-10-26 00:16:35 +00:00
Mattes D
da92286da9
Fixed a crash when sending messages too early after connection.
2015-10-21 20:59:48 +02:00
Julian Laubstein
979ab11044
ReTyped block ids
2015-10-15 10:53:32 +02:00
worktycho
183284a2a4
Removed unused typedef
2015-10-12 15:02:25 +01:00
Mattes D
5bd683a86d
Fixed a possible crash in HTTPS server.
2015-10-08 19:08:11 +02:00
Mattes D
66e8190ca8
StyleCheck: Check spaces around ==, <=, >=
2015-10-08 17:43:26 +02:00
Mattes D
6c7f51a008
Fixed bindings for cTCPLink:StartTLSClient().
...
The bindings used to enforce client cert, now it's optional.
2015-10-08 16:14:50 +02:00
Tiger Wang
4a8e7bddcc
Merge pull request #2528 from OdnetninI/master
...
Fixed flight in Spectator Mode
2015-10-05 22:05:37 +01:00
OdnetninI
545aa2a989
Spectator Mode doesn't fly[FIX]
2015-10-05 21:59:15 +02:00
Mattes D
60800655c8
Generator: Fixed missing hitbox assignment.
...
This had caused village houses to generate too close to each other.
2015-10-05 21:15:08 +02:00
tycho
d8c860ae58
Improved the data structure for storing loaded chunks
...
Should significantly increase the performance of deciding which chunks to stream
2015-10-05 16:20:07 +01:00
Mattes D
9da404ea2d
Fixed a race condition between chunk loader and generator.
...
When using ChunkWorx to generate multiple chunks, the server would sometimes fail an assert because it would generate a chunk even when it was successfully loaded. This was caused by chunks queued in cWorld's m_SetChunkDataQueue and thus being marked as "InQueue" although they were already loaded.
Solved by adding a new parameter to chunk coord callbacks specifying whether the operation succeeded or failed, and using that instead of the chunk presence flag to decide whether to generate or not.
2015-10-04 14:06:37 +02:00
tycho
e1d5e5e165
Improved types of utf 16 strings
2015-10-02 17:26:53 +02:00
tycho
899955f9e3
Remove a pair of unused broken functions
2015-10-02 17:26:53 +02:00
worktycho
dacab890cc
The bottom layer cannot hold a valid spawn point
...
Fixes #2510
2015-10-01 14:49:26 +01:00
Mattes D
1c8e60f91a
Added LuaState tracker and memory stats logging.
2015-09-28 21:30:31 +02:00
Mattes D
5614056640
Made Lua API check strings strictly.
...
Previously nil was accepted as a string in cLuaState::CheckParamString(), now it's reported as an error.
2015-09-28 14:53:50 +02:00