summaryrefslogtreecommitdiffstats
path: root/src/Enchantments.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-07-28Added anvil enchantment handling. (#3857)Lane Kolbly1-25/+183
+ Added anvil enchantment handling.
2017-06-13FastRandom rewrite (#3754)peterbell101-3/+1
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-08-20Use container-based infrastructure for TravisTiger Wang1-2/+2
2015-05-19Make -Werror disabling file onlytycho1-5/+5
Ad fix a load of warnings
2014-12-22Added Depth Strider enchantmentJonathan Fabian1-0/+15
2014-12-21Fixed a possible division by zero.Mattes D1-3/+11
2014-11-18Moved all Noise-related files into a separate folder.Mattes D1-1/+1
2014-10-15Using C++11 loopsSTRWarrior1-5/+5
2014-10-15IntNoise1DInt result gets devided by 7 firstSTRWarrior1-1/+1
suggestion by xoft
2014-10-15Returned cFastRandom and cEnchantment:GetRandomEnchantmentFromVector to beforeSTRWarrior1-4/+28
Added cEnchantment:GenerateEnchantmentFromVector that allows to get the same enchantments over and over.
2014-10-15Enchanted books generate in MineShafts chestsSTRWarrior1-1/+5
2014-05-06Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner1-1/+1
2014-05-05Change int to size_t return.Howaner1-2/+2
2014-05-05Add anvil window and slot area.Howaner1-0/+9
2014-04-21Added enchantment combining into cEnchantments.madmaxoft1-0/+12
2014-04-19Fixed Codedaniel09161-141/+141
2014-04-19Fixed Codedaniel09161-327/+315
2014-04-18Fixed Errorsdaniel09161-1/+19
2014-04-17Modified many thingsdaniel09161-0/+769
2014-04-10Fixed enchantment parsing.madmaxoft1-12/+17
Fixes #880. Enchantment parsing now reports in detail which value failed to parse
2014-01-19Spilt Writing of Enchantments to seperate classTycho1-79/+0
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
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-13Update Enchantments.cppnesco1-2/+2
2013-11-12Corrected the comma errornesco1-2/+2
2013-11-12Update Enchantments.cppnesco1-2/+2
2013-11-12Added the new enchantments of Minecraft 1.7nesco1-1/+2
-Luck of the sea -Lure
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-298/+298
2013-06-04Fixed cItem::IsStackableWith()madmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1547 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04Added cItem copy-constructor to Lua API, made cItem::IsEqual() and IsStackable() enchantment-awaremadmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1546 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02Added the possibility to specify enchantments by name in the constructor and AddFromString() functionmadmaxoft@gmail.com1-1/+50
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1542 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02Enchantments are now stored in Anvil world and in player inventorymadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1541 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02Enchantments: API and sending to clientmadmaxoft@gmail.com1-0/+231
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6