Commit graph

26 commits

Author SHA1 Message Date
Romain Beaumont
efc4ab786d
fixed respawn and attach (/pile) 2018-05-27 18:24:59 +02:00
Romain Beaumont
d127704022
Several fixes
* fix login sequence : fix spawn position
* fix gamemode != 0 : should not remove items from inventory
* update pworld and pprovider-anvil
2018-05-27 13:50:27 +02:00
Romain Beaumont
ed2f5df538
fix entities in 1.12 : uuid support 2018-05-25 23:09:29 +02:00
Romain Beaumont
2e749ff49f
move to normal position, fix #40 + multi version for position for 1.8 and 1.12
normal position is now possible because I understood it's necessary
to stored the last sent position in order to compensate for the loss
of precision next time a relative position packet is sent

I introduced a features.json which makes it possible to describe
high level differences between version and use that to handle multi version code
2018-05-21 00:04:19 +02:00
Romain Beaumont
48be4f2266
bring (static) multi version support to everything else + fix some formatting 2018-05-13 20:21:23 +02:00
Romain Beaumont
b6eca14b82
var -> const 2018-05-13 16:01:37 +02:00
mhsjlw
44f0024cc6 Add standard linting 2018-05-13 09:26:48 -04:00
mhsjlw
241cc0e014 Fix requireindex and mineflayer.js 2018-02-06 22:24:20 -05:00
Romain Beaumont
308fc5c8a0 limit the number of entities in initEntity 2016-03-18 13:56:05 +01:00
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