Romain Beaumont
8c4406804e
use const and let instead of var
...
see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
2015-12-17 11:36:43 +01:00
Romain Beaumont
a999bbdda1
fix an async problem with portal generation, check huge portals work
2015-12-15 00:20:15 +01:00
Romain Beaumont
e792f5d671
fix destroying multiple portal at the same time, add /portal command to create a portal, expose various portal generation function
2015-12-14 22:36:15 +01:00
Romain Beaumont
3d6dd9faec
doesn't detect portal if there is air in it, add test to check that
2015-12-14 02:58:00 +01:00
Romain Beaumont
703b42abea
some fixes in findBorder, add more tests
2015-12-14 00:45:08 +01:00
Romain Beaumont
adcd35b985
make portal test more general to test for several portal kinds
2015-12-13 20:07:45 +01:00
Romain Beaumont
539b9c1314
implement portal detection and use it when flint and steel is used
...
currently places cactus instead of nether block because nether block seems to require the multi block change packet
lot of tests are already there, but some more need to be added, it seems some cases don't work (when the portal have edges it seems)
2015-12-12 06:45:39 +01:00