summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes/World.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Properly deprecate more XYZ parameter'd functions (#5147)Tiger Wang2021-03-151-64/+12
| | | * Fixes #5144
* Adds playerlist header and footer broadcasting (1.8-1.13)dImrich2021-02-061-0/+15
|
* Add correct implementation of crops (#4802)0ddlyoko2020-11-061-117/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [FIX] Add correct implementation of seed drops. > Official percentage of drops has been implemented * Fix C++ conventions * Change "Vals" variable to "m_Vals" * [FIX] Add correct implementation of Carrots, Potatoes, Wheat & Beetroots seed * Add Fortune support with crops Add fortune support with Wheat, Carrots, Potatoes & Beetroots seeds * [FIX] Right-clicking on a grown Beetroot in survival consume 2 bone meals Fix #4805 * Add documentation for "cWorld::IsFullGrownPlantAt" method * Fix dispenser that full grown a plant > Change methods cItemDyeHandler::FertilizePlant & cItemDyeHandler::growPlantsAround to static * Display particle even if tree doesn't grow * When right-clicking on a full grown melon / pumpkin seed, no longer produce a melon / pumpkin Before this commit, when you right-click on a melon or a pumpkin seed, a melon / pumpkin block spawned. With this commit, it no longer spawns * [FIX] Do not create melon / pumpkin block when right-clicking with a bone meal This fix will prevent the creation of a melon / pumpkin block when you right-click with a bone meal on a melon / pumpkin plant - It just detect if the plant is full grown. if yes, the method "Grow" is not called - Remove IsFullGrownPlant Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017)12xx122020-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed network fixed explosion fixed ticking added network broadcast to Setter method added nullptr protection using macros in 1.10 Protocol_1_10.cpp revealed functions to LUA API small fixups, typos, less functions used fixed more doc readded info that saving is done only if the beam is displayed made the constructor transfer all needed members fixed wrong commit removed default parameters on SpawnEnderCrystal fixed wrong metadata moved call to destroy in the right place fixed some typos Fixed Ender Crystal * fixed documentation * fixed doc and added proper error message * Parameters, arrows * Parameters Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Corrected type for param Pos on spawn enter crystal (#5012)Lukas Pioch2020-10-301-1/+1
|
* Add beam target, configurable base visibility to Ender Crystals (#5010)12xx122020-10-291-0/+22
| | | | | * Fixes #4990 Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Added missing return types and fixed param types (#4996)Lukas Pioch2020-10-131-3/+21
|
* Add default value nullptr for parameter a_Digger and added digger toLukas Pioch2020-10-091-12/+40
| | | | cWorld:DigBlock in lua api
* Add SetBlockMeta warning in documentation (#4943)[IPSA] Chris de Claverie2020-10-011-2/+2
| | | | | + Add SetBlockMeta warning in documentation Co-authored-by: pwnOrbitals <c.de-claverie@pm.me>
* 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