| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [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>
|
|
|
| |
Removed unneeded cast
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change)
The BlockInfo.h file was removed from Globals.h (main change)
The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics)
The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor)
Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header.
That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified.
eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
|
|
|
| |
* Don't remove items twice
|
| |
|
| |
|
|
|
|
| |
Add check for number of empty lines between functions and fix the corresponding failures
|
| |
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
|
|
|
|
|
|
|
|
| |
- Added code to make bonemeal, potions, minecarts, XP bottles and boats work inside dispensers
- Dispensers are now able to place TNT if the block is transparent but not air
- Added return value that indicates the success of pumpkin, melon, sugarcane and cactus growing functions
- Changed return value of "GrowRipePlant" so that it actually indicates if the block was able to grow
- Fixed "GrowSugarcane" and "GrowCactus" in "GrowRipePlant" so that it only grows them a single block
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
src/Entities/Minecart.cpp
|
| | |
|
| |\
| | |
| | | |
Added test mocking to IncrementalRedstoneSimulator
|
| | | |
|
| |/ |
|
|/ |
|
| |
|
| |
|
|
|
| |
they weren't launched.
|
| |
|
| |
|
|
|
| |
Resused the initial one.
|
|
|
| |
function. This was however passed as "working" by GCC.
|
|
|
| |
ENUM
|
|
|
|
|
|
|
| |
- Stopped using cChunk in the GetShootVector class. Parameter is now the
Metadata of the block
- Stopped using cChunk in the SpawnProjectileFromDispenser method now
using coordinates and finding the chunk by itself.
- Removed the matrix calculations from GetShootVector.
|
|
|
|
| |
- Manipulation of the ShootVector is not to be done by the function that
wants to spawn a projectile.
|
|
|
|
| |
Note: I still think the new name is unclear. Any other suggestions are
welcome.
|
|
|
| |
- Added braces around the cases.
|
|
|
| |
issue was appearantly solved with an earlier commit.
|
|
|
|
| |
some commits didn't come through)
- Cleaned up the code according to suggestions.
|
|
|
| |
- Fixed some terrible commit issues on my side.
|
|
|
| |
- Fixed the method "SpawnProjectileFromDispenser" to use CamelCasing.
|
|
|
|
| |
- Improved the method of spawning projectiles in the world
- Added another method for spawning the projectiles
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|