1
0
cuberite-2a/Server/Plugins/APIDump
0ddlyoko 672bb04570
Add correct implementation of crops (#4802)
* [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-06 16:54:01 +00:00
..
Classes Add correct implementation of crops (#4802) 2020-11-06 16:54:01 +00:00
Hooks Implement Dropspenser Hook (#4903) 2020-09-21 15:31:45 +00:00
Static Renamed output directory to Server 2015-09-05 22:01:21 +02:00
APIDesc.lua Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017) 2020-11-06 15:00:59 +00:00
InfoFile.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
lang-lua.js Renamed output directory to Server 2015-09-05 22:01:21 +02:00
LICENSE-prettify.txt Renamed output directory to Server 2015-09-05 22:01:21 +02:00
main_APIDump.lua Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
main.css Renamed output directory to Server 2015-09-05 22:01:21 +02:00
prettify.css Renamed output directory to Server 2015-09-05 22:01:21 +02:00
prettify.js Renamed output directory to Server 2015-09-05 22:01:21 +02:00
SettingUpDecoda.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
SettingUpZeroBrane.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
UsingChunkStays.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
WebWorldThreads.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
Writing-a-Cuberite-plugin.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00