Commit graph

25 commits

Author SHA1 Message Date
yefengeeeeeeeeeee
3fbab46e60 Merge branch 'master'
# Conflicts:
#	src/API/AchievementAPI.php
#	src/API/BanAPI.php
#	src/API/BlockAPI.php
#	src/API/EntityAPI.php
#	src/API/PlayerAPI.php
#	src/Player.php
#	src/PocketMinecraftServer.php
#	src/config.php
#	src/entity/Animal.php
#	src/entity/Breedable.php
#	src/entity/Creature.php
#	src/entity/Entity.php
#	src/entity/animal/Sheep.php
#	src/entity/monster/Creeper.php
#	src/entity/monster/Zombie.php
#	src/entity/object/Arrow.php
#	src/entity/object/FallingSand.php
#	src/entity/object/ItemEntity.php
#	src/entity/object/Minecart.php
#	src/entity/object/Painting.php
#	src/entity/object/PrimedTNT.php
#	src/material/Block.php
#	src/material/Item.php
#	src/material/Material.php
#	src/material/StaticBlock.php
#	src/material/block/DoorBlock.php
#	src/material/block/GenericBlock.php
#	src/material/block/attachable/WallSignBlock.php
#	src/material/block/liquid/LiquidBlockDynamic.php
#	src/material/block/misc/AirBlock.php
#	src/material/block/misc/BedBlock.php
#	src/material/block/misc/TNTBlock.php
#	src/material/block/nonfull/CarpetBlock.php
#	src/material/block/nonfull/FenceBlock.php
#	src/material/block/nonfull/PoweredRailBlock.php
#	src/material/block/nonfull/RailBlock.php
#	src/material/block/nonfull/SnowLayerBlock.php
#	src/material/block/nonfull/WoodSlabBlock.php
#	src/material/block/plant/BrownMushroomBlock.php
#	src/material/block/plant/DandelionBlock.php
#	src/material/block/plant/MelonStemBlock.php
#	src/material/block/plant/PumpkinStemBlock.php
#	src/material/block/plant/RedMushroomBlock.php
#	src/material/block/plant/SugarcaneBlock.php
#	src/material/block/solid/GrassBlock.php
#	src/material/block/solid/IceBlock.php
#	src/material/block/solid/LeavesBlock.php
#	src/material/block/solid/ObsidianBlock.php
#	src/material/block/solid/PumpkinBlock.php
#	src/material/block/solid/WoolBlock.php
#	src/material/item/base/ItemHoe.php
#	src/material/item/base/ItemTool.php
#	src/material/item/generic/DyeItem.php
#	src/material/item/generic/SpawnEggItem.php
#	src/material/item/tool/FlintSteelItem.php
#	src/material/item/tool/ShearsItem.php
#	src/math/AxisAlignedBB.php
#	src/network/MinecraftInterface.php
#	src/network/UDPSocket.php
#	src/network/protocol/packet/AddItemEntityPacket.php
#	src/network/protocol/packet/ContainerSetContentPacket.php
#	src/network/raknet/RakNetDataPacket.php
#	src/network/raknet/RakNetParser.php
#	src/pmf/PMFLevel.php
#	src/utils/Utils.php
#	src/world/Explosion.php
#	src/world/Level.php
#	src/world/MobSpawner.php
2026-04-04 14:52:08 +08:00
GameHerobrine
d28dad2a07 fixed mobs sending damage animation to player when they spawn 2025-06-04 17:54:25 +03:00
GameHerobrine
841e12b9ea rewritten how item durability/count is handled on serverside 2025-05-29 05:30:33 +03:00
Sunch
5e8e9330e2 code style fix 2025-04-27 20:36:24 +08:00
Sunch
69385e16f2 Unnecessary ":?" (2) 2024-08-17 20:08:11 +08:00
GameHerobrine
eab6573b84 better breeding, baby entities will follow their parent 2024-03-12 06:50:01 +03:00
GameHerobrine
eff034e897 added breeding(experimental) 2024-03-09 10:29:36 +03:00
GameHerobrine
2927fe1094 micro entity optimizations, fixed getEyeHeight, rewrote inWall, static hitboxes 2024-02-16 06:36:21 +03:00
GameHerobrine
dee744e709 simple autojump, more vanilla speed 2024-02-01 07:19:59 +03:00
GameHerobrine
6eb13e5bd4 swimming fixed 2024-01-13 05:13:06 +03:00
GameHerobrine
3d1dba6b86 fixed tasklookaround 2024-01-12 05:54:19 +03:00
GameHerobrine
2636aa985d fixed more tasks 2024-01-09 10:18:22 +03:00
GameHerobrine
4689809794 randomwalking for all mobs 2024-01-09 09:26:02 +03:00
GameHerobrine
68b8232f07 water damage tweaks, using php8 pack functions 2024-01-01 08:15:05 +03:00
GameHerobrine
e827427d1a removed commit added again 2023-01-16 00:19:51 +03:00
GameHerobrine
62571f26cd project uses tabs instead of spaces(as in CONTRIBUTING.md) 2022-12-26 07:01:28 +03:00
GameHerobrine
ac1a1b2449 rewrite of interact system, bugfixes, ai tweaks 2022-11-01 00:55:49 +03:00
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
GameHerobrine
1448fd21b9 Entity collisions, bounding boxes for entites and blocks 2022-10-18 21:40:03 +03:00
GameHerobrine
69d4e52d44 get entity names or sizes by eids or instances 2022-09-25 00:49:56 +03:00
GameHerobrine
218dd4ffa4 separated tnt class from all other ones 2022-07-12 00:57:34 +03:00
GameHerobrine
d7bfd96739 early breeding classes, it still doesnt work although it might be implemented later 2022-06-17 19:49:36 +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
ArkQuark
a5012b0195 New Entity system 2022-06-04 23:58:12 +03:00