summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes/World.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-28Remove unneeded MarkDirty, SendToClients parameters of SetMetaTiger Wang1-11/+1
Partially reverts #3129, whose addition of these parameters was superseded by #3149 that fixed generated leaves' metas. References: https://github.com/cuberite/cuberite/pull/4417#discussion_r334950513 e0bcd754009f16480437b2c1fa5e7fbedab31496
2020-08-27Changed tree-growing functions in cWorld to use Vector3i coords.Mattes D1-36/+8
2020-04-17More Vector3 in cBlockHandler (#4644)Mattes D1-1/+12
* cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
2020-04-09Falling blocks can now be spawned at any position. (#4620)Mattes D1-17/+69
* Falling blocks can now be spawned at any position. * Added a /cake command to Debuggers that throws a cake in a nice slow arc. * Fixed regular falling blocks.
2020-03-27 Lock hopper when powered by redstone (#4347)Bond-0091-0/+29
* Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is>
2020-03-22TNT position fixes (#4519)Mat1-0/+4
* TNT position fixes * Don't add offset to explosion spawn coords * Don't make other entities push TNT * Correct initial TNT speed * Fix typo * Improvements * Revert unwanted change * Style fixes * Update format
2019-10-28Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D1-13/+48
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-7/+58
2019-08-10APIDocs: Added missing return type and corrected one (#4353)Lukas Pioch1-1/+1
2018-08-02Experience orb (#4259)changyong guo1-0/+55
* Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216
2018-07-27cWorld: Manually bind deprecated broadcast functions (#4265)peterbell101-0/+56
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
2017-12-26improve rain simulation (#4017)Alexander Harkness1-8/+24
* 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.
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly1-3/+70
* Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos
2017-09-07Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912)Lane Kolbly1-0/+31
2017-09-07Changed some int parameters to vector parameters (#3937)Bond-0091-38/+88
2017-08-29APIDump: Removed unneeded Globals prefixLukas Pioch1-2/+2
2017-08-25Add cUUID class (#3871)peterbell101-2/+2
2017-08-17Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly1-32/+56
2017-07-12Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843)Lane Kolbly1-0/+60
2017-07-07Added bed entity (#3823)Lukas Pioch1-0/+29
* Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds
2017-06-24cBlockArea supports block entities. (#3795)Mattes D1-6/+5
2017-05-24Exported boatLukas Pioch1-1/+5
- NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions
2017-05-08Added missing checks for Initialize function and updated APIDocLukas Pioch1-6/+6
2017-05-02APIDoc: Removed non-existent functions and added missing return typesLukas Pioch1-37/+33
2017-04-30APIDoc: Replaced incorrect param cMonster with eMonsterTypeLukas Pioch1-1/+1
2017-04-05APIDoc: Added missing IsStatic flags and corrected param types.Lukas Pioch1-1/+1
2017-04-04APIDoc: Documented missing functions and variables. (#3634)Lukas Pioch1-0/+17
2016-10-13APIDump: Fixed cWorld:QueueTask signature, moved to separate file. (#3400)Mattes D1-0/+3363