| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Allow villagers to pickup items
* Add farmer villager harvesting
* Use of auto keyword
* Using for loop to check adjacent crops
* Show particules when farmer harvest
* Fix area comment
* Move constants to header file
* Removing unnecessary semicolon
* Initialization of CropBlockType variable
* Apply 12xx12 suggestion
* Fixing area constant size
* Refactor bounding box calculation, use vectors.
* Add Api documentation
* Update lua docs
* Rework farmer ai
* Fixing lua docs notes
* Add missing capitalisation
* Add villagers inventory save
* Fixing loading entities from disk inconsistencies
* Add farmer harvest animation
* Fix beetroots grow state
Co-authored-by: Alexander Harkness <me@bearbin.net>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Cactus detection code follows pattern set in #3996
* Pickups are now destroyed on cactus contact
* Add cactus detection and destruction to Exp Orbs
Remove checks for IsExpOrb() in cEntity::Tick()
Exp Orbs do not call super::Tick() and so this condition was
pointless.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Check for intersection between placed blocks and entities.
+ Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks.
* Factored block-entity placement checking into another function in cPlayer.
- Removed vector min/max functions
* Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity.
+ Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement.
|
| |
|
| |
|
|
|
|
| |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
This was mostly done automatically and then visually inspected for obvious errors.
All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
|
|
|
|
|
| |
* Entities properly handle chunks
* Changed EntityStatus enums to be less shouty
|
| |
|
|
|
|
|
| |
It didn't do anything without Initialize() exported, anyway, pickups are
spawned with cWorld.
|
|
|