| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* First Draft of adding endermite
* Update src/Mobs/Endermite.h
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Adding Protocols + SpawnEgg
TODO: don't forget to put the endermite in core plugin for the summon
command
* Adding endermite to monster.ini
* Adding 5% change of spawning endermite when throwing enderpearl
* Spawn endermite at last position instead of Hit Position + .cache to .gitignore
* fixup! Spawn endermite at last position instead of Hit Position + .cache to .gitignore
* destroy endermite if 2 min, not if name is set
* Syntax
* Adding Enderman targeting endermite + fixing syntax
* Fixing compile error + return error [but crash on enderman spawn]
* Fix crash but enderman doesn't target
* Enderman targeting endermite finished
* checking style because i'm a noob at git...
* fixup! checking style because i'm a noob at git...
* Added endermite egg meta to docs
* Final touches
Removed unnecesary imports
fixed callback to run only in sight distance and actually check sigtlines
* Fixed error after not pulling branch
---------
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
|
| |
|
|
|
|
| |
* Hopefully fixes #5094
|
|
|
|
|
| |
* Fix look angle checks
* Do LOS trace from eye-height
|
|
|
|
|
|
| |
* Replace DoWithNearestPlayer with bounding box search (avoid iterating through all players in world).
* Do line-of-sight checks from eye-to-eye.
+ Added LOS and LOS lost timer to target lost checks, in addition to distance.
|
|
|
|
|
|
|
|
|
|
|
| |
* made snow golems not crashing the server anymore
* changed damage type to environment
* updated damage in API dopcumentation and changed enderman damage type
* removed incidental d in the code
Co-authored-by: 12xx12 <12xx12100@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
Add check for number of empty lines between functions and fix the corresponding failures
|
|
|
|
|
|
|
| |
* Create clang-tidy.sh
* Add clang-tidy to circle.yml
* Fixed some naming violations
Fixes #4164
|
|
|
|
|
|
|
|
|
|
| |
* Replace cEntity:m_IsSubmerged with m_IsHeadInWater
* Replace cEntity:m_IsSwimming with m_IsInWater
* Add API documentation for new symbols
* Apply SetSwimState to all entities, not just mobs and players
* Pickups now use IsOnFire to check if they are on fire before destruction
Fixes #3987
|
|
|
|
|
|
|
|
|
|
|
| |
* Uses vanilla logic to decide which blocks rain falls through.
* Rain falls infinitely above the world, and stops at y=0.
* Entities will now be extinguished if they are under rain-blocking
blocks, and fire will now be extinguished by rain similarly.
* Create IsWeatherWetAtXYZ to identify wetness at a particular location.
* Use new code for enderman rain detection.
* Fixes issue #916
* Disable warnings for global constructors in the fire simulator.
|
| |
|
|
|
|
| |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
|
| |
|
| |
|
|
|
|
|
|
| |
* Replaced cTracer usage with cLineBlockTracer.
* Exported new cLineBlockTracer utility functions to Lua API.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
code style
neutral mobs shouldn't chase the player unless aggro'd
neutral mobs shouldn't chase the player unless aggro'd
Merge branch 'chilloutyo' of github.com:Gargaj/cuberite into chilloutyo
Conflicts:
src/Mobs/PassiveAggressiveMonster.h
code style
Merge branch 'chilloutyo' of github.com:Gargaj/cuberite into chilloutyo
|
| |
|
|
|
|
| |
Ad fix a load of warnings
|
|
|
|
| |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
10 degrees is a completely arbitary constant I pulled from nowhere. Feel free to adjust this value.
|
| |
|
| |
|
| |
|
| |
|
|
|