summaryrefslogtreecommitdiffstats
path: root/src/Enchantments.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate
* Minor changes (#3909)mathiascode2017-08-241-1/+1
|
* Added anvil enchantment handling. (#3857)Lane Kolbly2017-07-281-1/+19
| | | + Added anvil enchantment handling.
* Updated links and docs (#3488)mathiascode2016-12-191-1/+1
|
* Updated API documentation.Mattes D2016-07-181-1/+1
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-17/+17
|
* Make -Werror disabling file onlytycho2015-05-191-4/+4
| | | | Ad fix a load of warnings
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-2/+2
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Added Depth Strider enchantmentJonathan Fabian2014-12-221-0/+1
|
* Fixed a possible division by zero.Mattes D2014-12-211-2/+4
|
* Returned cFastRandom and cEnchantment:GetRandomEnchantmentFromVector to beforeSTRWarrior2014-10-151-1/+4
| | | | Added cEnchantment:GenerateEnchantmentFromVector that allows to get the same enchantments over and over.
* Enchanted books generate in MineShafts chestsSTRWarrior2014-10-151-1/+1
|
* Gave names to unnamed enumsarchshift2014-08-111-1/+1
|
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-1/+1
|
* Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner2014-05-061-1/+1
|
* Change int to size_t return.Howaner2014-05-051-1/+1
|
* Add anvil window and slot area.Howaner2014-05-051-0/+3
|
* Updated docs for StringToEnchantmentID.madmaxoft2014-04-231-1/+1
| | | | Ref.: mc-server/Core#67
* Added enchantment combining into cEnchantments.madmaxoft2014-04-211-16/+21
|
* Fixed Codedaniel09162014-04-191-4/+7
|
* Fixed Codedaniel09162014-04-191-4/+4
|
* Fixed Errorsdaniel09162014-04-181-0/+1
|
* Removed old includedaniel09162014-04-181-1/+0
|
* Fixed some Errors (not all)daniel09162014-04-171-5/+8
|
* Modified many thingsdaniel09162014-04-171-2/+28
|
* Added complete Enchanting Systemdaniel09162014-04-121-2/+2
| | | | http://minecraft.gamepedia.com/Enchantment_mechanics
* Merge remote-tracking branch 'upstream/master' into Enchantingdaniel09162014-04-071-1/+0
|\
| * Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-1/+0
| |
* | Some updates for enchanting (2)daniel09162014-01-311-1/+4
|/
* Switched EnchantmentSerilizer to namespaceTycho2014-01-191-3/+8
|
* Spilt Writing of Enchantments to seperate classTycho2014-01-191-5/+2
| | | | | | | Created a new class cEnchantmentSerializer to serilize Enchantments to NBT. This breaks a dependecy chain between cChunkGenerator and cWorld. cEnchantmentSerializer is seperate from NBTWriter as it needs to access private members of cEnchantments so having it seperate reduces the spread of the frein modifier
* Moved source to srcAlexander Harkness2013-11-241-0/+115