1
0
Commit Graph

10 Commits

Author SHA1 Message Date
madmaxoft
dadae874f2 Small code-style fixes. 2013-11-10 21:55:32 +01:00
STRWarrior
2ccf9b2b32 Renamed variables in cWolf. 2013-11-10 21:24:36 +01:00
STRWarrior
e62858ec3d Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks.
You are able to dye the collar.
2013-11-10 20:12:30 +01:00
STRWarrior
4f11cd2f8a The owner object isn't stored anymore. Instead we use the name of the player.
This means only players can now have a wolf, but it fixes the bug where when you log out the wolf isn't your wolf anymore.
2013-11-10 18:03:19 +01:00
STRWarrior
38f6fff3fb Wolves can now be owned by an entity.
They only sit when right clicked by their owner.
They beg if the closest player has meat or bones in his hand.
They follow their owner.
They teleport to their owner if they are more then 30 blocks away.
They don't attack players if they are not angry anymore.
They don't move if they are sitting.
2013-11-10 15:16:43 +01:00
Tiger Wang
5db6213f34 Initial Metadata Commit [SEE DESC]
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and
Horses have metadata
+ Base code on taming wolves, shearing sheep, and taming horses
+ Sheep and horses have different colours when spawned
2013-10-08 19:20:49 +01:00
madmaxoft@gmail.com
37276a4430 Rewritten entity-on-fire management ("forever on fire" bugs)
Fixes FS #297 and part of FS #403.
Added sizes to all entities.
Moved all damage-related functions from cPawn to cEntity
API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords()

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01 10:39:56 +00:00
madmaxoft@gmail.com
aebe130299 Reduced most mobs' constructors to oneliners by passing parameters to superclasses
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22 09:39:13 +00:00
madmaxoft@gmail.com
033af999ba Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 12:21:20 +00:00
madmaxoft@gmail.com
16f44ab7de Source files cleanup: Mobs-related files in a separate subfolder, renamed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 20:53:08 +00:00