Commit graph

17 commits

Author SHA1 Message Date
Romain Beaumont
fed2208809 have a options["max-entities"], fix #222 2016-03-14 21:13:52 +01:00
Romain Beaumont
6f36e7c450 limit the number of entities to 100 2016-03-14 21:09:16 +01:00
Romain Beaumont
bccfc5d10c remove /spawn and /spawnObject, fix #175 2016-03-14 15:46:31 +01:00
Romain Beaumont
ac603cff15 adapt to new minecraft-data entities data 2016-02-12 13:16:56 +01:00
Romain Beaumont
5940f91fce add a /summonMany command, useful for testing 2016-01-14 13:12:22 +01:00
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
5f96ff3581 remove a forgotten console.log 2015-12-11 15:51:35 +01:00
Romain Beaumont
47c75671c4 create an entity.attach, some more selector fixes, and add a fun /pile <entities> command (that will go in a plugin later) 2015-12-11 05:20:10 +01:00
Romain Beaumont
9366c1b9a7 make /attach use the selectors, fix UserError, check /tp has one target
see http://stackoverflow.com/a/32749533 for UserError
2015-12-11 04:14:41 +01:00
Romain Beaumont
865327b482 use require-self for better consistency with external plugins
require("flying-squid").someLib instead of require("../someLib")
2015-12-10 01:25:33 +01:00
Romain Beaumont
5d0d9ceb11 fix @e[type=Zombie] selector 2015-12-09 01:03:32 +01:00
DemiPixel
e151d6958e Finish basic implementation of selectors 2015-12-07 15:59:56 -08:00
DemiPixel
f17f54fe92 Adding op 'n stuff 2015-12-05 21:52:46 -08:00
Romain Beaumont
04ab50b7d8 add /attach <carrierId> <attachedId> to attach an entity on an other one
will be used to make a attach function and in vanilla uses later
2015-11-30 02:51:25 +01:00
Romain Beaumont
959100ef7d stop extending prismarine-entity and add license field 2015-11-28 22:38:08 +01:00
Romain Beaumont
e7952f386f send equipment during spawn and fix some code style issues 2015-11-28 21:54:49 +01:00
Romain Beaumont
b5d22e57f9 improve code with webstorm suggestion + split entities.js into spawn.js and other files 2015-11-28 18:23:26 +01:00