summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes/World.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded MarkDirty, SendToClients parameters of SetMetaTiger Wang2020-08-281-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
* Changed tree-growing functions in cWorld to use Vector3i coords.Mattes D2020-08-271-36/+8
|
* More Vector3 in cBlockHandler (#4644)Mattes D2020-04-171-1/+12
| | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
* Falling blocks can now be spawned at any position. (#4620)Mattes D2020-04-091-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.
* Lock hopper when powered by redstone (#4347)Bond-0092020-03-271-0/+29
| | | | | | | | | * Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat <mail@mathias.is>
* TNT position fixes (#4519)Mat2020-03-221-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
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-13/+48
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-7/+58
|
* APIDocs: Added missing return type and corrected one (#4353)Lukas Pioch2019-08-101-1/+1
|
* Experience orb (#4259)changyong guo2018-08-021-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
* cWorld: Manually bind deprecated broadcast functions (#4265)peterbell102018-07-271-0/+56
| | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
* improve rain simulation (#4017)Alexander Harkness2017-12-261-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.
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-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
* Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912)Lane Kolbly2017-09-071-0/+31
|
* Changed some int parameters to vector parameters (#3937)Bond-0092017-09-071-38/+88
|
* APIDump: Removed unneeded Globals prefixLukas Pioch2017-08-291-2/+2
|
* Add cUUID class (#3871)peterbell102017-08-251-2/+2
|
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-32/+56
|
* Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843)Lane Kolbly2017-07-121-0/+60
|
* Added bed entity (#3823)Lukas Pioch2017-07-071-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
* cBlockArea supports block entities. (#3795)Mattes D2017-06-241-6/+5
|
* Exported boatLukas Pioch2017-05-241-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
* Added missing checks for Initialize function and updated APIDocLukas Pioch2017-05-081-6/+6
|
* APIDoc: Removed non-existent functions and added missing return typesLukas Pioch2017-05-021-37/+33
|
* APIDoc: Replaced incorrect param cMonster with eMonsterTypeLukas Pioch2017-04-301-1/+1
|
* APIDoc: Added missing IsStatic flags and corrected param types.Lukas Pioch2017-04-051-1/+1
|
* APIDoc: Documented missing functions and variables. (#3634)Lukas Pioch2017-04-041-0/+17
|
* APIDump: Fixed cWorld:QueueTask signature, moved to separate file. (#3400)Mattes D2016-10-131-0/+3363