Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handlers: update item and block handlers (#5371) | Tiger Wang | 2022-01-02 | 1 | -36/+38 |
| | | | | | | | + Resend blocks when server rejects placement because in a block * Fix chest handler not invoked, fixes #5367 * Fix comparator handler not invoked * Update some naming | ||||
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 1 | -371/+945 |
| | | | | | * 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 | ||||
* | Chorus fruit teleport (#5259) | KingCol13 | 2021-07-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Outline function for teleporting. * Created new handler for chorus fruit. * Fixed AttemptTeleport failing. * Better names, working sound effect. * Corrected naming. * Remove stray LOGD. * Offset teleport to middle of block. * Style Fixes Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> * Style Fixes 2 Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> * Move FindTeleportDestination to static cPawn method. * cBoundingBox interface. * Cleanup includes. * Maybe exported to API? * Change a_World to reference, add to APIDesc. Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com> | ||||
* | Move item placement into item handlers (#5184) | Tiger Wang | 2021-05-05 | 1 | -147/+197 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Basic elytra flight (#5124) | Damián Imrich | 2021-04-03 | 1 | -0/+1 |
| | | | | | | * Basic elytra flight Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Adding basic Banner functionality (#4806) | 12xx12 | 2021-03-15 | 1 | -0/+2 |
| | | | | | | + Added item and block for banners Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | End crystal placement (#5112) | Damián Imrich | 2021-01-22 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * End crystal placement * End crystal placement - fixed error and added some comments * Removed unused includes * Update src/Items/ItemEndCrystal.h Co-authored-by: Alexander Harkness <me@bearbin.net> * End Crystal placement, early-return pattern enforcement * End crystal Item finish? * Small changes Fixed a crashbug in ender crystal destruction. According to vanilla 1.16 testing, end crystals don't place if any entity intersects the box, not just other end crystals. Check return value of SpawnEnderCrystal. Add header in SeeMake. Cafe Stile Redux. * The stylechecker relies on CMakeLists * There is another Co-authored-by: Alexander Harkness <me@bearbin.net> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -5/+3 |
| | | | | | | | | | | | | | * BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Added end portal and enchanting table block entities | 12xx12 | 2020-09-20 | 1 | -0/+2 |
| | |||||
* | Merged trivial item handlers into cSimplePlaceableItemHandler (#4766) | Franklin Kong | 2020-06-26 | 1 | -12/+7 |
| | | | | | | - Remove unused files Co-authored-by: aiugai <aiugai@umich.edu> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -39/+46 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Add additional blocks which are not breakable by hand | Alexander Harkness | 2020-04-10 | 1 | -6/+38 |
| | |||||
* | Remove switch statements from cItemFoodHandler (#4610) | Alexander Harkness | 2020-04-04 | 1 | -35/+44 |
| | | | | | | | * Remove switch statements from cItemFoodHandler * Alpha-sort and add comment * Relocate golden apple handler | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -24/+4 |
| | |||||
* | Create Ender Portal with Eyes of Ender (#4126) | Zach DeCook | 2019-05-11 | 1 | -0/+2 |
| | | | | | | | | | The algorithm was designed so All portals must be facing the center, no matter which block had the eye inserted in last. Note: Still need to create a block entity so that portals don't become invisible when you relog. Addresses part of #3445 Fixes #3695 | ||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -5/+0 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Golden Apple Fixes (#4130) | Alexander Harkness | 2018-01-06 | 1 | -11/+2 |
| | | | | | | | | | * Do not remove food item until player has been fed * Golden apples now ignore hunger when eating * Removed EnchantedGoldenApple recipe, as it was removed in 1.9 Reference: https://minecraft.gamepedia.com/1.9#Items_2 * Adjust golden apple effects, as they were changed in 1.9 Reference: https://minecraft.gamepedia.com/1.9#Items_2 | ||||
* | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 2018-01-05 | 1 | -13/+4 |
| | | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | ||||
* | cItemHandler: Update max stack size of old doors. (#4072) | peterbell10 | 2017-11-20 | 1 | -0/+2 |
| | |||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type | ||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 1 | -0/+1 |
| | |||||
* | Removed double includes (#3885) | Lukas Pioch | 2017-08-02 | 1 | -1/+0 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | cWorld::SendBlockTo take player by ref | peterbell10 | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | Consolidated food effects into EatItem, added all fish type FoodInfos. (#3875) | Lane Kolbly | 2017-07-30 | 1 | -27/+4 |
| | | | | | | | | * Consolidated food effects into EatItem, added all fish types. * Changed type of NumFishInfos to satisfy clang. * Removed unused call for a_Item in EatItem | ||||
* | BigFlower fixes (#3826) | peterbell10 | 2017-07-07 | 1 | -9/+3 |
| | | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | ||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -2/+1 |
| | |||||
* | Deadbushes drop sticks | Bond-009 | 2017-03-19 | 1 | -1/+0 |
| | |||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 1 | -23/+0 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -2/+34 |
| | |||||
* | Anticheat fastbreak (#3411) | mohe2015 | 2016-11-06 | 1 | -0/+20 |
| | | | Added block hardness checks when breaking blocks. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -22/+22 |
| | |||||
* | add handling of water bottle | Gargaj | 2015-12-22 | 1 | -0/+2 |
| | |||||
* | Merge mushroom soup into generic food handler | Gargaj | 2015-12-03 | 1 | -2/+1 |
| | | | | ...and fix eating the bowl when eating rabbit stew | ||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -1/+4 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -2/+3 |
| | |||||
* | Refactored block placement workflow. | Mattes D | 2015-06-21 | 1 | -18/+53 |
| | | | | Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler. | ||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | Rabbit and cooked rabbit now stackable | jammet | 2015-05-09 | 1 | -1/+3 |
| | | | | And corrected the alphabetical ordering. | ||||
* | Fixed #1893 | Tri125 | 2015-05-07 | 1 | -0/+1 |
| | | | | Quartz ore now stack properly | ||||
* | ItemHandler type fixes. | Mattes D | 2015-04-20 | 1 | -2/+2 |
| | |||||
* | ItemHandler: Using automatic array bounds. | Mattes D | 2015-04-20 | 1 | -1/+1 |
| | |||||
* | Fixed PolishedGranite et al crafting recipes. | Mattes D | 2015-04-16 | 1 | -2/+2 |
| | | | | Fixes #1774. Ref.: #1859 | ||||
* | Placing a fluid from bucket calls plugin hooks. | Mattes D | 2015-04-14 | 1 | -2/+6 |
| | | | | Ref.: #1857. | ||||
* | Fixed forgotten big flower handler. | Mattes D | 2014-12-25 | 1 | -1/+2 |
| | |||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -43/+156 |
| | | | | Fixes #1618. | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -2/+2 |
| | |||||
* | Leaves are harvest-able. | Howaner | 2014-10-07 | 1 | -2/+0 |
| | |||||
* | Corrected drops from dead bush, tall grass and cobweb. | Howaner | 2014-10-07 | 1 | -0/+4 |
| | |||||
* | Fixed sorting | Masy98 | 2014-10-01 | 1 | -2/+2 |
| | |||||
* | Fixed Red Sandstone and Prismarine drops | Masy98 | 2014-10-01 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into blocks | Masy98 | 2014-09-26 | 1 | -3/+9 |
|\ | | | | | | | | | | | Conflicts: src/Items/ItemHandler.cpp src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | Improved cBlockHandler::DropBlock | Tiger Wang | 2014-09-13 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #1353 from mc-server/Effects | Mattes D | 2014-09-13 | 1 | -1/+6 |
| |\ | | | | | | | Added speed entity effect. | ||||
| | * | Added extra mushroom handler. | Howaner | 2014-09-12 | 1 | -2/+6 |
| | | | |||||
| | * | Merge branch 'master' into Effects | Howaner | 2014-09-12 | 1 | -2/+4 |
| | |\ | |||||
| | * | | Fixed potion removing in creative mode. | Howaner | 2014-08-30 | 1 | -0/+1 |
| | | | | |||||
| * | | | Disabled mobspawner itemdrop. | Howaner | 2014-09-12 | 1 | -0/+1 |
| | |/ | |/| | |||||
* | | | Fixed 1.8 Item stacking and block harvesting | Masy98 | 2014-09-12 | 1 | -25/+43 |
| | | | |||||
* | | | Fixed mutton name in Sheep.cpp | Masy98 | 2014-09-11 | 1 | -2/+10 |
| | | | |||||
* | | | Fixed mutton name in ItemHandler | Masy98 | 2014-09-11 | 1 | -1/+1 |
|/ / | |||||
* | | Fixed style and alpha-sorting. | madmaxoft | 2014-09-03 | 1 | -4/+4 |
| | | |||||
* | | Added mutton, which sheep now drop when killed | archshift | 2014-09-03 | 1 | -0/+2 |
|/ | |||||
* | Fixed unsigned long comparison to size_t | archshift | 2014-08-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1272 from Howaner/Food | Mattes D | 2014-08-01 | 1 | -11/+22 |
|\ | | | | | Fixed hunger bugs, Implemented golden apple, added jump statistic, added... | ||||
| * | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 2014-07-31 | 1 | -11/+22 |
| | | |||||
* | | Fixed water from ice and removed packed ice drop. | Howaner | 2014-07-31 | 1 | -0/+1 |
|/ | |||||
* | Hotfixed compilation problems. | madmaxoft | 2014-07-27 | 1 | -1/+1 |
| | |||||
* | Rename function. | Howaner | 2014-07-26 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' into Inventory2 | Howaner | 2014-07-26 | 1 | -9/+47 |
|\ | | | | | | | | | Conflicts: src/BlockInfo.cpp | ||||
| * | Fixed block drops | Tiger Wang | 2014-07-24 | 1 | -4/+43 |
| | | | | | | | | * Fixes #1242 (the issue addressed within) | ||||
| * | Merge remote-tracking branch 'origin/master' into saplingsandleaves | Tiger Wang | 2014-07-22 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | Conflicts: src/Defines.h | ||||
| * \ | Merge branch 'master' into saplingsandleaves | Tiger Wang | 2014-07-20 | 1 | -12/+12 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h | ||||
| * | | | Fixed issues relating to saplings and leaves | Tiger Wang | 2014-07-17 | 1 | -6/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | ||||
* | | | | Fix item durability. | Howaner | 2014-07-23 | 1 | -2/+30 |
| |_|/ |/| | | | | | Fixes #1181 | ||||
* | | | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | | | |||||
* | | | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -7/+7 |
| | | |||||
* | | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -3/+3 |
| | | |||||
* | | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
|/ | | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | ||||
* | ItemHandler.cpp: removed redundant food and drink checks | archshift | 2014-07-14 | 1 | -33/+0 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -1/+4 |
|\ | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| * | Only fixes the server crash. | Howaner | 2014-07-01 | 1 | -1/+1 |
| | | |||||
| * | Fix server-crash with non-existing items. | Howaner | 2014-07-01 | 1 | -1/+1 |
| | | |||||
| * | Implemented tripwire(s) (hooks) | Tiger Wang | 2014-06-28 | 1 | -0/+2 |
| | | | | | | | | * Fixes #944 | ||||
| * | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| | | |||||
* | | ItemHandler: changed IsDrinkable() to take a short argument | archshift | 2014-06-17 | 1 | -2/+2 |
| | | |||||
* | | Implemented drinkable potions, noeffect entity effect, | archshift | 2014-06-17 | 1 | -1/+5 |
| | | | | | | | | Clears entity effects on death | ||||
* | | Implemented milk, added documentation to Pawn.h | archshift | 2014-06-17 | 1 | -1/+18 |
| | | |||||
* | | Player: Removed food-poisoning-specific code, set duration to 30 seconds | archshift | 2014-06-17 | 1 | -1/+1 |
|/ | | | | http://minecraft.gamepedia.com/Hunger#Behavior | ||||
* | Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs. | Howaner | 2014-05-07 | 1 | -9/+0 |
| | |||||
* | Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count() | Howaner | 2014-05-06 | 1 | -1/+1 |
| | |||||
* | Add anvil window and slot area. | Howaner | 2014-05-05 | 1 | -0/+19 |
| | |||||
* | Add armor to switch() in ItemHandler.cpp | Howaner | 2014-04-24 | 1 | -6/+25 |
| | |||||
* | Fix armor in survival mode. | Howaner | 2014-04-24 | 1 | -0/+7 |
| | |||||
* | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+0 |
| | |||||
* | Fixed Clang warnings in itemhandlers. | madmaxoft | 2014-04-04 | 1 | -3/+3 |
| | |||||
* | Some fixes to lilypads | Tiger Wang | 2014-03-28 | 1 | -0/+2 |
| | | | | | | | | * Fixed placement on lava * Fixed placement on side of blocks * Fixed placement through blocks + Added washing-away of pads + Added ice as a block that fully occupies its voxel | ||||
* | Merge pull request #809 from Howaner/BlockEntitys | Mattes D | 2014-03-16 | 1 | -0/+1 |
|\ | | | | | More entity saving. | ||||
| * | Add fireball interact | Howaner | 2014-03-14 | 1 | -0/+1 |
| | | |||||
* | | Add new leaves to all classes. | Howaner | 2014-03-16 | 1 | -0/+1 |
| | | |||||
* | | Add cake | Howaner | 2014-03-16 | 1 | -0/+3 |
|/ | |||||
* | cBlockInfo now manages the respective cBlockHandler | andrew | 2014-03-02 | 1 | -1/+1 |
| | |||||
* | Fixed multiple gcc warnings about unused params. | madmaxoft | 2014-02-28 | 1 | -1/+25 |
| | |||||
* | Manual merge (Fixed conflicts) | andrew | 2014-02-20 | 1 | -2/+9 |
|\ | |||||
| * | Merge pull request #697 from Howaner/Skull | Mattes D | 2014-02-19 | 1 | -0/+2 |
| |\ | | | | | | | Add Skulls/Heads to MCServer | ||||
| | * | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 1 | -2/+2 |
| | | | |||||
| | * | Add Skulls/Heads | Howaner | 2014-02-17 | 1 | -0/+2 |
| | | | |||||
| * | | Merge branch 'master' into itemframes | Tiger Wang | 2014-02-18 | 1 | -2/+4 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Entity.h src/WorldStorage/NBTChunkSerializer.cpp | ||||
| | * | | Implemented paintings, fixes #689 | Tiger Wang | 2014-02-18 | 1 | -2/+4 |
| | |/ | | | | | | | | | | + Implemented paintings | ||||
| * / | Implemented item frames, a part of #689 | Tiger Wang | 2014-02-18 | 1 | -0/+3 |
| |/ | | | | | | | | | + Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!) | ||||
* | | Map item handler; Fixed several bugs | andrew | 2014-02-17 | 1 | -0/+2 |
| | | |||||
* | | EmptyMap item handler | andrew | 2014-02-14 | 1 | -0/+2 |
|/ | |||||
* | Merge branch 'master' into playerimprovements | Tiger Wang | 2014-02-09 | 1 | -3/+3 |
|\ | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| * | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -3/+3 |
| | | | | | | | | May Fix #640 | ||||
* | | Fixed #626 | Tiger Wang | 2014-02-03 | 1 | -10/+15 |
|/ | | | | * Fixed consumption of carrots and potatoes | ||||
* | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -1/+4 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Refactored GetPlacementBlockTypeMeta | Tycho | 2014-01-26 | 1 | -1/+2 |
| | |||||
* | Implented cItemFishingRodHandler. | STRWarrior | 2013-12-19 | 1 | -0/+2 |
| | |||||
* | Implented Nether Wart. | STRWarrior | 2013-12-18 | 1 | -0/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -0/+2 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+509 |