Tiger Wang
d46f7ce2c8
Redstone fixes ( #3285 )
...
* Comparators and pistons no longer update instantly
* Fixes #3168 .
* Consolidated comparator code
* As a result, fixed an issue where GetPowerLevel didn't consider block
entities behind it (only GetFrontPowerLevel did)
2016-07-31 21:54:35 +01:00
Mattes D
a3112cdc45
Revert "Redstone fixes"
2016-07-29 07:56:50 +02:00
Tiger Wang
62090e7bed
Consolidated comparator code
...
* As a result, fixed an issue where GetPowerLevel didn't consider block
entities behind it (only GetFrontPowerLevel did)
2016-07-28 23:20:53 +01:00
Tiger Wang
04cc8aa0f5
Comparators and pistons no longer update instantly
...
* Fixes #3168 .
2016-07-28 23:20:52 +01:00
Mattes D
8eaa8613da
CMake: Remove needless minimum version specifications.
2016-07-18 22:11:42 +02:00
gaurav sehgal
97b9422a3e
removed cast from BlockTrapdoor.h ( #3256 )
2016-07-07 09:55:07 +02:00
Altenius
c54f9cede2
Fixed piston destroying other pistons
...
Fixes #3251
2016-07-06 08:04:58 -04:00
LogicParrot
7f5757eccf
Reduced unnecessary block updates
2016-04-23 00:30:00 +03:00
LogicParrot
c921f47d85
Prevented snow from killing grass
2016-04-16 21:54:35 +03:00
LogicParrot
373d9f92a4
Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage
2016-04-16 19:04:45 +03:00
Drahoslav Bednář
d85c3590fc
Fix Pickups of BlockFlower
...
BlockMeta is handled correctly, when converting to pickups, so flowers
now drops right flower type.
2016-02-06 22:04:00 +01:00
LogicParrot
ca6ef58b1e
Bulk clearing of whitespace
2016-02-05 23:50:18 +02:00
Kevin Riggle
e4a8c681b0
implement height logic for Acacia blocks
2016-02-04 01:20:31 -05:00
Mathias
d17c8fa349
Fixed typo
2016-01-03 16:29:04 +02:00
Mathias
8e2b2e7a18
More blocks that can't be mined with silktouch
2016-01-03 16:27:02 +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
Tiger Wang
b8752bb26e
Merge pull request #2542 from Haxi52/pinkstone
...
Reorganised the redstone simulator
2015-12-19 21:20:56 +00:00
Alexander Harkness
8b851d5048
Added HTTPS links wherever they are supported.
2015-12-19 14:30:32 +00:00
Tiger Wang
5b62c4c314
Reorganised the redstone simulator
...
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan!
* Uses classes and inheritance now
* Speed should be improved
2015-12-18 13:17:38 +00:00
Lukas Pioch
d620dcdd08
Moved variables into scope, removed unused variables and fixed variables
2015-12-17 10:48:36 +01:00
worktycho
1e5ba8a1bb
Merge pull request #2638 from Gargaj/master
...
Implement block heights + adapt ground checks
2015-12-14 20:31:33 +00:00
Julian Laubstein
378b2b8ca6
Strip meta from hopper on converting to pickup
2015-12-13 15:46:43 +01:00
Gargaj
66e6589883
blockheight mechanism
2015-12-13 15:16:15 +01:00
Safwat Halaby
1540867cb5
Set overgrown wart age to 3
2015-12-13 15:55:09 +02:00
Gargaj
f9008a4860
allow use failures to propagate from the entity/block to the player
2015-12-13 13:27:38 +01:00
Gargaj
115865f845
Nether wart only ages to 3
...
See http://minecraft.gamepedia.com/Nether_Wart
2015-12-12 00:46:01 +01:00
Dave Tucker
83870f9fc0
Add enum for Sound and Particle Effects
...
Fixes #2603
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-11-24 13:21:40 +00:00
Julian Laubstein
b87e0b6b15
Adjusted height validation using cChunkDef::IsValidHeight()
2015-11-23 03:17:32 +01:00
bibo38
ea55e75672
Refactored code to use vectors in the cPistonHandler class
2015-11-07 17:34:54 +01:00
bibo38
429f615390
Added some code improvements
2015-11-07 17:23:02 +01:00
bibo38
0447af8bcb
Renamed GetDirectionVec into VectorFromMetaData to improve code readability.
2015-11-07 17:23:02 +01:00
bibo38
f8c28cc373
Commented the GetDirectionVec method
2015-11-07 17:23:02 +01:00
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
Lukas Pioch
9749c3aac9
Implemented brewing
2015-11-03 18:00:55 +01:00
Tiger Wang
a8bfe3a4c1
Prepared ScheduleTask for threading refactor
...
* Llama-ified and condensed Schedule/QueueTask
- Removed hackery done with piston animations
2015-09-25 18:56:49 +01:00
Mattes D
741dc78547
Lilypads drop when not on source water.
...
Lilypad blocks now break and drop as items when the block below them changes to non-water or non-source water.
Fixes #2404 .
2015-09-25 14:42:32 +02:00
Mattes D
9871c0b073
Added CircleCI for stylechecking.
...
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks
2015-09-17 11:20:10 +02:00
David Erbelding
d0fd51ea9d
Fixed flint drop rates from 1/30 to 1/10 to match the wiki.
2015-09-13 23:18:21 -04:00
Samuel Barney
cc83c4641d
* Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it.
...
* Blocks now have an effect upon plant growth, just like in vanilla.
2015-08-19 10:48:21 -06:00
Julian Laubstein
dd5201c29e
Some warning fixes
2015-08-18 08:49:00 +02:00
Nicholas W
fbbf27feea
Fixed Iron Door
2015-08-01 08:47:55 -05:00