Commit graph

33 commits

Author SHA1 Message Date
ArkQuark
f5222be9d2 Big update about mobs
Removes some array() and some another minor changes.
Cow now drop 0-3 meat.
Pigs can be saddled, and if pig saddled it will drop them.
Creeper can be blown up with flint and steel ("power" => 3).
You can ride on pig (some buggy).
Now Saddle maxStackSize = 1.
Using shears and flint&steel on sheep and creeper they will break.
Saddled will save with closing the server.
2022-10-30 18:13:37 +03:00
ArkQuark
83b7bc4b39 Update EntityAPI.php 2022-10-20 23:35:02 +03:00
GameHerobrine
8d454e5ec9 entity ai classes, pigs should look around 2022-10-20 19:30:04 +03:00
GameHerobrine
187704d96e pathfinder was changed to https://github.com/ppetermann/pathfinder (+small edits to make it work with nc) 2022-10-20 15:48:32 +03:00
GameHerobrine
7b66cd0250 pathfinder was changed, 102 bug fixed 2022-10-19 18:40:19 +03:00
GameHerobrine
2ea5fcd034 small tweaks 2022-10-18 22:59:59 +03:00
GameHerobrine
08f9193191 onTick update is toggleable in extra.props. 2022-10-18 22:33:23 +03:00
GameHerobrine
1448fd21b9 Entity collisions, bounding boxes for entites and blocks 2022-10-18 21:40:03 +03:00
GameHerobrine
024e9ed504 small tweaks to knockback and to motion update system. might cause some bugs with arrows(were buggy before anyway), falling blocks, tnt and other non-static objects 2022-10-17 17:53:17 +03:00
GameHerobrine
0275420a12 87 fix 2022-10-09 20:23:37 +03:00
GameHerobrine
ad9ac6dc48 standing on chest should not kick you now 2022-09-26 00:40:14 +03:00
GameHerobrine
69d4e52d44 get entity names or sizes by eids or instances 2022-09-25 00:49:56 +03:00
GameHerobrine
53928f4e88 players are now pushable, renamed 2 previously unknown variables(thanks to atipls' mcpealpha c# core) 2022-09-25 00:08:55 +03:00
GameHerobrine
c03653a050 players are now invisible in spectator, methods for making player invisible added 2022-09-24 23:25:34 +03:00
GameHerobrine
c76530c034 test entity knockback(disabled for players) 2022-09-07 20:35:05 +03:00
GameHerobrine
64151dcad0 sneaking fix 2022-09-07 18:09:09 +03:00
GameHerobrine
4bd682b08e curl get requests support custom headers now, event to get content of thread output, shutdown function which saves world if server stopped with error 2022-08-12 20:02:00 +03:00
GameHerobrine
78da6226f0 mobs will spawn after restart 2022-08-05 17:45:25 +03:00
GameHerobrine
a75e286337 Minecart is in separated class 2022-08-02 17:20:54 +03:00
kotyara
b60f0877e1 support php8019 and some cleanup (by @D-aHTuCT) 2022-07-26 16:06:34 +05:00
GameHerobrine
af79b29f26 paintings are separated from Entity.php, removed Moved too Quickly warning, small fixes with commands 2022-07-12 03:22:06 +03:00
GameHerobrine
218dd4ffa4 separated tnt class from all other ones 2022-07-12 00:57:34 +03:00
GameHerobrine
b73205744e armor is not resisting damage from anything except players, drop fix, and baby fix 2022-07-11 16:23:54 +03:00
GameHerobrine
1a585d0ea8 49. going down causes fall damage -- fixed 2022-06-30 20:01:57 +03:00
GameHerobrine
577e00378e added separated class for arrows 2022-06-26 06:03:19 +03:00
GameHerobrine
fa41b2ed65 small changes 2022-06-24 01:13:17 +03:00
GameHerobrine
551ae19d7f data tag for saddled pigs was added(id 16, type:byte) 2022-06-24 00:08:06 +03:00
GameHerobrine
dbc199f34b monsters are separated now 2022-06-16 20:53:40 +03:00
ArkQuark
5a240c7e0f Update Entity.php
Now seeds will drop if u fall on farmland(buggy with $z)
2022-06-16 17:11:25 +03:00
GameHerobrine
eb1f1e3d02 isBaby changed to IsBaby, methods for animals were added 2022-06-07 21:39:23 +03:00
GameHerobrine
327e74e7aa classes for all animals, moved construcors 2022-06-07 12:59:33 +03:00
GameHerobrine
6a321aabe0 simple entity registering, tested on pig, some classes were created, althrough they are still not implemented 2022-06-07 00:06:56 +03:00
ArkQuark
a5012b0195 New Entity system 2022-06-04 23:58:12 +03:00
Renamed from src/world/Entity.php (Browse further)