summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemDye.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Valid Height is now checked by vector.x12xx12x2022-04-201-1/+1
|
* ItemHandler initialisation is a constant expression (#5344)x12xx12x2021-12-021-6/+3
| | | | | * Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final
* Miscellaneous fixes (#5320)Tiger Wang2021-11-111-7/+4
| | | | | | | | | | | | | | | | | | | | | | | * Protocol: update Abilities flags + Add Spectator handling * BioGen: move <iostream> include * ClientHandle: rename Respawn packet dimension check flag * Make it clearer what it's doing. * ClientHandle: move ProcessProtocolIn calls to World * Player: remove some redundant initialisation * Player: UpdateCapabilities enables flight for spectators * Produce growth: improve comments * ClientHandle: run unload checks using delta time * Fix forgotten initialisation of time member
* Move item placement into item handlers (#5184)Tiger Wang2021-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com>
* Add correct implementation of crops (#4802)0ddlyoko2020-11-061-23/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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>
* Added new flowers on bonemeal use (#5011)12xx122020-11-021-34/+168
| | | | | | | + Added new biome-dependent flower placement * Update planter algorithm Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-14/+17
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Using Super.Mattes D2020-04-161-2/+2
|
* Bonemeal cannot be used on cactus and sugar caneMat2020-03-211-2/+0
|
* Disable block placement in adventure mode (#4424)Mat2019-12-301-0/+6
|
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-6/+188
|
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-1/+0
|
* Fixed right-click with bonemeal.Mattes D2015-06-231-1/+1
| | | | The client would send invalid right-click events with Y set to 0x7ff, which would crash the server. Only process bonemeal for valid clicks (valid blockface).
* Placing a fluid from bucket calls plugin hooks.Mattes D2015-04-141-1/+6
| | | | Ref.: #1857.
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-17/+8
| | | | Fixes #1618.
* FixesHowaner2014-12-131-0/+5
|
* Added cocoa pod.Howaner2014-12-011-2/+39
|
* Improved Type safety of eBlockFaceTycho2014-02-041-1/+1
| | | | May Fix #640
* Bonemeal has particles, fixes #393Tiger Wang2013-12-081-3/+2
|
* Moved source to srcAlexander Harkness2013-11-241-0/+44