* WIP: Remove blocking GetHeight
* Make CheckBasicStyle.lua happy
* Update comment and style
* Update lua bindings and docs
* Rework chunk loading in GenerateRandomSpawn
Explicitly use chunk stays instead of relying on chunks loaded by
`cSpawnPrepare` to not unload.
* Fix variable shadowing
* Update to C++17
* Add note about empty chunks to IsWeatherWetAtXYZ API docs
* Cleanup, fix some of the remaining merge issues.
---------
Co-authored-by: Alexander Harkness <me@bearbin.net>
* Add walking and running speed to monsters.ini
* Add entry to CONTRIBUTORS
* Add SetRelativeRunSpeed to APIDesc.lua
* Fix typo
* Remove unnecessary cast
Co-Authored-By: peterbell10 <peterbell10@live.co.uk>
* Use relative walk speed as a modifier to base walk and run speeds
* Rename Default to Base in Walk/Run Speeds
* Update docs.
---------
Co-authored-by: peterbell10 <peterbell10@live.co.uk>
Co-authored-by: Alexander Harkness <me@bearbin.net>
* Added code to export definitions for a lua-language-server
* Renamed VSCode -> LLS
* Fixed global variables/functions in APIDump being part of API docs
* Added article explaining how to configure lua-language-server
* 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>
* Handle newlines during read and write in cIniFile
When reading the ini file, replace \n with newline. When writing,
replace the newline with \n.
* Use ReplaceString instead of regex in IniFile
* Update cIniFile description
* Removed duplicate variable
* Revert "Removed duplicate variable"
This reverts commit de11bac047.
* Removed duplicate variable
Now without plugin changes
---------
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* adding build* to gitignore and tags for ctags
* Notation Changes
* Adding & Parser
* Avoid crash when & as first character
* Looking for @ in the rest of the project
* Formating style
* Modifying test to reflect new behaviours
* Adding a check for the first part
* fixup! Adding & Parser
style changes
* Update APIDesk.lua
* Update src/CompositeChat.cpp
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* explaination on the antishlash with ampersand
* adding old deprecated formating
* Update src/CompositeChat.cpp
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Update src/CompositeChat.cpp
* Update src/CompositeChat.cpp
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Implement ranged attack for snow golemas. Fix failed assertion when stopping the server
* Decrease snowball speed
* Adjust accuracy for snow golems
* Use a getter instead of m_World
* Add DarkoGNU to CONTRIBUTORS
* HandleFarmlandTrampling function & its docs
* Fix decimal separators (, -> .)
* Fix style. Adjust thresholds. Make function non-virtual
* Adjust thresholds again. Prepare for fixing #5402
* Trying to fix falling through farmlands
* Another style fix
* Add FarmlandTramplingEnabled to world.ini
* Docs for IsFarmlandTramplingEnabled
* Style
* Farmland trampling - handling the random chance
* Trampling kinda works, very buggy
* Trying to fix clang-tidy
* Fix trampling
* Trying to fix the 'undocumented API symbol'
* Implement bearbin's suggestions
* Calculate volume properly
* Don't use std::pow for squaring
* Improved comments
* Really, should comments' style be checked?
* Implemented cServer::ScheduleTask() and cServer::TickQueuedTasks()
* Fixed formatting and added ScheduleTask to APIDesc
* Added feyokorenhof to contributors
* Added ExperienceAmount variable to all the hook calls.
* Made ExperienceAmount int reference instead of int in HOOK_PLAYER_FISHING. Fixed bug: a_Reward is now a reference
* Add documentation, change ItemFishingRod to pass in experience
Co-authored-by: Alexander Harkness <me@bearbin.net>
* Protocol: update Abilities flags
+ Add Spectator handling
* BioGen: move <iostream> include
* ClientHandle: rename Respawn packet dimension check flag
* Make it clearer what it's doing.
* ClientHandle: move ProcessProtocolIn calls to World
* Player: remove some redundant initialisation
* Player: UpdateCapabilities enables flight for spectators
* Produce growth: improve comments
* ClientHandle: run unload checks using delta time
* Fix forgotten initialisation of time member
* added logging functions to each plugin
* added documentation
* modified the global LOG macro
* updated the way of string composition
* removed cloumn
* removed capital v
* Update player list gamemode on world change
* Fix invisibility for spectators, use entity metadata
* Populate m_World for cPlayers on load
- Remove SendPlayerMaxSpeed, a duplicate of SendEntityProperties
* added generator for obsidian pillars and central fountain which then is used for the exit portal
* checkstyle
* checkstyle the second
* fixed clang
removed magic number
added Clamp
* make the pillars configurable
* fixed clang
added warning if there was a unknown value if the tower should have a cage or not
* forgot to cancel on unkwon value
* fixed clang this time maybe
* added new generator to generator test
* fixed test
* added prefab generation for end fountain
* fixed checkstyle and updated the prefab
* added ender dragon spawning
made the fountain positioning dynamic
removed fountain placement functions
* added enderdragon stuff to testing
* pls compile
* added changes suggested by @peterbell10
* fixed clang
* added debug for further research on the ARM build
* ok - it wasn't my tower placement
* checking in setup
* readded the fountain schematic
* removed finisher
* readded generator
* removed generator trigger - kept ini file access
* using cChunkDef function to calculate abs pos of endercrystal
* yes, I know it's unused...
* commented everything in the ComposableGenerator.cpp
- so only the new class in compiled in but not called at all
* don't compile in the new generator at all
(removed from CMakeLists.txt)
* readded the new generator
* readded the new generator
* removed debug output
* made the towers generate acrocc chunk borders
* fixed bad merge
* fixed clang
* fixed clang
* generate the dragon 20 blocks above terrain
* trying to fixed weird undefined reference
* maybe this fixes the weird behaviour
* takes chunk width as parameter now
* added new comments with info to generated structures
removed ender dragon spawning
removed chunkwidth from parameter
* fixed linker
* maybe fixed linking. tried with gc and clang
* fixed ender crystal
* fixed test
* updated output strings
* fixed build
* fixed up test
* fixed test compile
* fixed test - cant get the tests to show up
* removed the semicolon
* maybe this is the fix?
* at this point i have no idea - in MVSC it works
* removed the ender dragon
Co-authored-by: 12xx12 <12xx12100@gmail.com>