summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes/World.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-15Properly deprecate more XYZ parameter'd functions (#5147)Tiger Wang1-64/+12
* Fixes #5144
2021-02-06Adds playerlist header and footer broadcasting (1.8-1.13)dImrich1-0/+15
2020-11-06Add correct implementation of crops (#4802)0ddlyoko1-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>
2020-11-06Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017)12xx121-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>
2020-10-30Corrected type for param Pos on spawn enter crystal (#5012)Lukas Pioch1-1/+1
2020-10-29Add beam target, configurable base visibility to Ender Crystals (#5010)12xx121-0/+22
* Fixes #4990 Co-authored-by: 12xx12 <12xx12100@gmail.com>
2020-10-13Added missing return types and fixed param types (#4996)Lukas Pioch1-3/+21
2020-10-09Add default value nullptr for parameter a_Digger and added digger toLukas Pioch1-12/+40
cWorld:DigBlock in lua api
2020-10-01Add SetBlockMeta warning in documentation (#4943)[IPSA] Chris de Claverie1-2/+2
+ Add SetBlockMeta warning in documentation Co-authored-by: pwnOrbitals <c.de-claverie@pm.me>
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