Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delegate simulator wakeup to cChunk | Tiger Wang | 2020-08-02 | 1 | -12/+8 |
| | |||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -8/+9 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | More Vector3 in cBlockHandler (#4644) | Mattes D | 2020-04-17 | 1 | -1/+7 |
| | | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | ||||
* | Implement glowing redstone ore | Peter Bell | 2020-04-17 | 1 | -187/+188 |
| | |||||
* | fixing rotation - rel. #4625 | GefaketHD | 2020-04-11 | 1 | -1/+1 |
| | |||||
* | Replace all single-digit hex constants with two-digit version | Alexander Harkness | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Remove silly empty cBlockGlazedTerracotta class | Alexander Harkness | 2020-04-10 | 1 | -1/+6 |
| | |||||
* | Add mixins for blocks that rotate based on player yaw at placement | Alexander Harkness | 2020-04-10 | 1 | -0/+2 |
| | | | | Also add observer block handler. | ||||
* | Add Terracotta handlers | Alexander Harkness | 2020-04-10 | 1 | -0/+17 |
| | |||||
* | Correct Black Glazed Terracotta block handler | Alexander Harkness | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Updated Bookshelves drop behaviour (#4567) | Xenoxis | 2020-03-28 | 1 | -0/+2 |
| | | | | | | | | | * Updated BookShelves Drop Behaviour As described here : https://minecraft.gamepedia.com/Bookshelf#Loot * Update src/Blocks/BlockBookShelf.h * Update CONTRIBUTORS | ||||
* | Fix Snow Spawn on Cobblestone Slab (#4564) | Xenoxis | 2020-03-28 | 1 | -1/+1 |
| | |||||
* | Jukebox improvements (#4537) | Mat | 2020-03-23 | 1 | -1/+2 |
| | | | | | * Add jukebox block handler Co-authored-by: peterbell10 <peterbell10@live.co.uk> | ||||
* | Silk touch pickaxe drops grass block (#4485) | Mat | 2020-03-17 | 1 | -1/+2 |
| | |||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -20/+20 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -156/+56 |
| | |||||
* | Register vanilla blocks in BlockTypeRegistry. | Mattes D | 2019-08-05 | 1 | -1/+711 |
| | |||||
* | * Sponge: Add water absorbtion (#4333) | Zach DeCook | 2019-06-11 | 1 | -0/+2 |
| | | | | Closes #1411 | ||||
* | 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 | ||||
* | Fixes bed item 26 and 355 being spawned, only 355 spawns now (#4290) | Rick van Schijndel | 2018-08-23 | 1 | -0/+1 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -1/+1 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Concrete mixing (#4096) | Zach DeCook | 2018-01-03 | 1 | -0/+2 |
| | | | | | | | | | Adds a block handler for concrete powder and implements hardening to concrete. Concrete powder turns into concrete when: * It is next to water when it receives a block update * It falls onto a water block (even with Physics SandInstantFall=1) | ||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -3/+3 |
| | |||||
* | Leaves now drop with the correct meta when broken by a pickaxe with silk touch (#4034) | Bond-009 | 2017-09-19 | 1 | -0/+6 |
| | |||||
* | Drop enderchest when broken by a silk touck pick (#3986) | Bond-009 | 2017-08-31 | 1 | -0/+6 |
| | |||||
* | Bed piston fix (#3956) | Lane Kolbly | 2017-08-25 | 1 | -2/+2 |
| | | | | | | | | | | | | * Threaded world interface into ConvertBlockToPickups * Changed how cBlockPiston::PushBlocks sets the old block to air, so that the block exists for the DropBlock call. * Removed unused a_Digger argument. * Removed incorrect comment * This time actually removed a_Digger references. | ||||
* | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 2017-08-17 | 1 | -1/+1 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -4/+4 |
| | |||||
* | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 2017-07-28 | 1 | -1/+22 |
| | | | | | | | | | | | | | * Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | ||||
* | Made cBlockHandler OnPlacedByPlayer call OnPlaced, made BlockRailHandler use NeighborChanged instead of OnNeighborChanged. | Lane Kolbly | 2017-07-18 | 1 | -0/+1 |
| | |||||
* | BigFlower fixes (#3826) | peterbell10 | 2017-07-07 | 1 | -1/+1 |
| | | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | ||||
* | Added bed entity (#3823) | Lukas Pioch | 2017-07-07 | 1 | -1/+10 |
| | | | | | | | | | | * Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds | ||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -3/+3 |
| | |||||
* | BlockHandlers: vertical alignment. | Mattes D | 2017-05-09 | 1 | -159/+159 |
| | |||||
* | BlockCrops: Fixed RipeMeta off-by-one error properly. | Mattes D | 2017-05-09 | 1 | -4/+4 |
| | | | | Ref.: #3691 | ||||
* | Deadbushes drop sticks | Bond-009 | 2017-03-19 | 1 | -0/+1 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -4/+14 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -5/+5 |
| | |||||
* | More blocks that can't be mined with silktouch | Mathias | 2016-01-03 | 1 | -1/+28 |
| | |||||
* | blockheight mechanism | Gargaj | 2015-12-13 | 1 | -0/+10 |
| | |||||
* | Implemented the slime block dropping behaviour. | bibo38 | 2015-11-07 | 1 | -0/+2 |
| | | | | Fixes #2530 | ||||
* | * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it. | Samuel Barney | 2015-08-19 | 1 | -0/+2 |
| | | | | * Blocks now have an effect upon plant growth, just like in vanilla. | ||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -5/+15 |
| | |||||
* | Added neighbor specification in the OnNeighborChanged() block callback. | Mattes D | 2015-07-01 | 1 | -15/+15 |
| | | | | | Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213. | ||||
* | Rebased version of Code | Samuel Barney | 2015-06-22 | 1 | -9/+0 |
| | |||||
* | Externalized cPrefabPiecePool self-test. | Mattes D | 2015-06-19 | 1 | -0/+1 |
| | |||||
* | Clay blocks are handled with the OreHandler | jammet | 2015-04-29 | 1 | -0/+1 |
| | |||||
* | Fixed PolishedGranite et al crafting recipes. | Mattes D | 2015-04-16 | 1 | -1/+1 |
| | | | | Fixes #1774. Ref.: #1859 | ||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -1/+1 |
| | | | | Fixes #1618. | ||||
* | Added cocoa pod. | Howaner | 2014-12-01 | 1 | -0/+2 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -4/+4 |
| | |||||
* | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -1/+1 |
| | |||||
* | Removed unused cBlockHayBaleHandler. | Howaner | 2014-10-07 | 1 | -2/+1 |
| | |||||
* | Added default value to switch and spruce gate to fence gate handler | Masy98 | 2014-09-27 | 1 | -0/+1 |
| | |||||
* | Merge pull request #1415 from Masy98/blocks | Mattes D | 2014-09-26 | 1 | -0/+15 |
|\ | | | | | Added 1.8 Blocks and Items | ||||
| * | Merge branch 'master' into blocks | Masy98 | 2014-09-26 | 1 | -39/+29 |
| |\ | | | | | | | | | | | | | | | | Conflicts: src/Items/ItemHandler.cpp src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | | Added Sea Lantern drops | Masy98 | 2014-09-12 | 1 | -0/+2 |
| | | | |||||
| * | | Fixed incorrect handlers | Masy98 | 2014-09-11 | 1 | -3/+3 |
| | | | |||||
| * | | Added new blocks to the BlockInfo | Masy98 | 2014-09-10 | 1 | -0/+1 |
| | | | |||||
| * | | Added new blocks to the BlockHandler | Masy98 | 2014-09-10 | 1 | -0/+12 |
| | | | |||||
* | | | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Fixed minor style issues. | madmaxoft | 2014-09-17 | 1 | -1/+1 |
| | | |||||
* | | Improved cBlockHandler::DropBlock | Tiger Wang | 2014-09-13 | 1 | -40/+28 |
| | | |||||
* | | Spawn exp if you break a mob spawner. | Howaner | 2014-09-12 | 1 | -0/+2 |
|/ | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -9/+0 |
| | |||||
* | Merge remote-tracking branch 'Hircine/Enchantments' | madmaxoft | 2014-09-01 | 1 | -2/+37 |
|\ | |||||
| * | Added a_Digger check | Jaume Aloy | 2014-08-30 | 1 | -28/+31 |
| | | |||||
| * | More Enchantments | Jaume Aloy | 2014-08-22 | 1 | -1/+0 |
| | | | | | | | | - Added Thorns and Respiration enchantments | ||||
| * | Protection Enchantments, some fixes | Jaume Aloy | 2014-08-21 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | - Protection echantments (fire, blast, feather falling, protection and projectile). It isn't finished, add secondary effects and optimize the code. - Removed some brackets. - Silk touch fixed. | ||||
| * | Changed if in BlockHandler | Jaume Aloy | 2014-08-19 | 1 | -5/+2 |
| | | |||||
| * | Fixes | Jaume Aloy | 2014-08-19 | 1 | -35/+35 |
| | | | | | | | | | | | | | | | | - Changed m_TicksLeftBurning > 0 for IsOnFire() - Tried to do the changes in BlockHandler.cpp - Removed m_Creator in ArrowEntity - Added m_Enchantments in ProjectileEntity CreatorData - Added blank lines between functions | ||||
| * | Changed if for switch | Jaume Aloy | 2014-08-19 | 1 | -11/+22 |
| | | |||||
| * | Added more enchantments and some fixes | Jaume Aloy | 2014-08-19 | 1 | -4/+28 |
| | | | | | | | | | | | | | | - Removed Debug messages - Added Punch enchantment effect - Added Silk Touch enchantment - Added Unbreaking enchantment effect | ||||
* | | Code formatting fixes. | Howaner | 2014-08-19 | 1 | -4/+2 |
|/ | |||||
* | Added beacon. | Howaner | 2014-07-30 | 1 | -0/+1 |
| | |||||
* | Fixed block drops | Tiger Wang | 2014-07-24 | 1 | -8/+11 |
| | | | | * 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 | ||||
| * | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'master' into saplingsandleaves | Tiger Wang | 2014-07-20 | 1 | -5/+6 |
|\| | | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h | ||||
| * | Added a extra wall sign handler. | Howaner | 2014-07-18 | 1 | -3/+4 |
| | | | | | | Fixes #1119 | ||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | |||||
* | | Fixed issues relating to saplings and leaves | Tiger Wang | 2014-07-17 | 1 | -35/+11 |
|/ | | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | ||||
* | Fixed some meta resetting bugs | Tiger Wang | 2014-07-14 | 1 | -1/+1 |
| | | | | | * Fixes #1174 * Fixes #1171 | ||||
* | Suggestions and bug fix | Tiger Wang | 2014-07-12 | 1 | -7/+5 |
| | | | | | | * Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft | ||||
* | Suggestions | Tiger Wang | 2014-07-11 | 1 | -1/+2 |
| | |||||
* | Suggestions | Tiger Wang | 2014-07-11 | 1 | -5/+6 |
| | |||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -0/+1 |
| | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | Implemented tripwire(s) (hooks) | Tiger Wang | 2014-06-28 | 1 | -0/+4 |
| | | | | * Fixes #944 | ||||
* | Added a (disabled) block meta mirror / rotate test code. | madmaxoft | 2014-06-23 | 1 | -2/+87 |
| | | | | This will perform basic sanity checks on block metadata mirroring and rotating. cMetaRotator must disable its asserts in order for this to work. | ||||
* | Merge branch 'master' into GlobalFixes | Howaner | 2014-06-17 | 1 | -0/+8 |
|\ | |||||
| * | Merge pull request #1099 from Howaner/Blocks | Mattes D | 2014-06-17 | 1 | -0/+3 |
| |\ | | | | | | | Glass-made blocks don't drop pickups. | ||||
| | * | Glass shouldn't drop. | Howaner | 2014-06-16 | 1 | -0/+3 |
| | | | |||||
| * | | Add pressure plate handler | Howaner | 2014-06-17 | 1 | -0/+5 |
| |/ | |||||
* / | Fix hay place sound. | Howaner | 2014-05-28 | 1 | -1/+2 |
|/ | |||||
* | Rename CanChangeDirtToGrass to CanDirtGrowGrass | Howaner | 2014-05-07 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into Slabs | Howaner | 2014-05-07 | 1 | -0/+2 |
|\ | |||||
| * | Merge remote-tracking branch 'upstream/master' into Enchanting | daniel0916 | 2014-04-07 | 1 | -76/+65 |
| |\ | |||||
| * | | first changes for enchanting (not finished) | daniel0916 | 2014-01-20 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | - added enchanting table block handler and added it to the blockhandler - added enchanting window - drop item in the slot 0 when the player close the window - added enchanting packet (1.7 only) - some more... | ||||
* | | | Merge branch 'master' into Slabs | Howaner | 2014-04-06 | 1 | -0/+2 |
|\ \ \ | | |/ | |/| | |||||
| * | | Merge pull request #840 from Howaner/NewBlocks | Mattes D | 2014-04-04 | 1 | -0/+2 |
| |\ \ | | | | | | | | | Add tall flower handler. | ||||
| | * | | Add tall flower handler. | Howaner | 2014-03-28 | 1 | -0/+2 |
| | | | | |||||
* | | | | Add CanChangeDirtToGrass function to Block Handlers. | Howaner | 2014-04-06 | 1 | -0/+9 |
|/ / / | |||||
* / / | Implemented lilypad placement | Tiger Wang | 2014-03-23 | 1 | -0/+2 |
|/ / | |||||
* | | Merge pull request #809 from Howaner/BlockEntitys | Mattes D | 2014-03-16 | 1 | -0/+2 |
|\ \ | | | | | | | More entity saving. | ||||
| * | | Add anvil direction. | Howaner | 2014-03-16 | 1 | -0/+2 |
| | | | |||||
* | | | Add cake | Howaner | 2014-03-16 | 1 | -0/+2 |
|/ / | |||||
* | | cBlockInfo-related changes from #723 | andrew | 2014-03-08 | 1 | -0/+1 |
| | | |||||
* | | Add data backsending, when the Client interacts a Block and the Interact is cancelled. | Howaner | 2014-03-05 | 1 | -0/+10 |
| | | |||||
* | | cBlockInfo now manages the respective cBlockHandler | andrew | 2014-03-02 | 1 | -43/+2 |
| | | |||||
* | | Merge pull request #700 from Howaner/GlobalFixes | Mattes D | 2014-02-20 | 1 | -0/+4 |
|\ \ | | | | | | | Add new Trees (without Generator) | ||||
| * | | Add new Trees (without Generator) | Howaner | 2014-02-19 | 1 | -0/+4 |
| | | | |||||
* | | | Rename SkullEntity to MobHeadEntity | Howaner | 2014-02-19 | 1 | -2/+2 |
| | | | |||||
* | | | Add Heads completely | Howaner | 2014-02-18 | 1 | -0/+2 |
|/ / | |||||
* | | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -3/+3 |
| | | | | | | | | May Fix #640 | ||||
* | | Renamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks. | STRWarrior | 2014-02-03 | 1 | -1/+1 |
| | | |||||
* | | This renames the cBlockWoodHandler to cBlockSidewaysHandler, and implements a new cBlockQuartzHandler to handle the quartz pillars. | STRWarrior | 2014-02-03 | 1 | -3/+6 |
| | | |||||
* | | Fixed dark oak and acacia placement. | madmaxoft | 2014-02-02 | 1 | -0/+1 |
| | | | | | | | | Fixes #621. | ||||
* | | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -7/+7 |
| | | |||||
* | | Changed Signiture of OnDigging | Tycho | 2014-02-01 | 1 | -1/+1 |
| | | |||||
* | | Changed Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -1/+2 |
| | | |||||
* | | Changed pointers to references | Tycho | 2014-02-01 | 1 | -10/+10 |
| | | |||||
* | | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | | Refactored GetPlacementBlockTypeMeta | Tycho | 2014-01-26 | 1 | -1/+1 |
| | | |||||
* | | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -18/+18 |
| | | |||||
* | | First attempt at Implementing Interfaces | Tycho | 2014-01-25 | 1 | -1/+1 |
|/ | |||||
* | Improved command blocks | Tiger Wang | 2014-01-19 | 1 | -0/+2 |
| | | | | | | | * Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity | ||||
* | Implented Nether Wart. | STRWarrior | 2013-12-18 | 1 | -0/+2 |
| | |||||
* | Provides a possible fix for repeater timings | Tiger Wang | 2013-12-10 | 1 | -1/+1 |
| | | | | Not completely reliable, but at least some types of clock work. | ||||
* | Improved pickups spawning speed again | Tiger Wang | 2013-12-10 | 1 | -3/+2 |
| | |||||
* | Readded redstone lamp handler | Tiger Wang | 2013-12-08 | 1 | -0/+2 |
| | |||||
* | Moved bindings-related to a Bindings subfolder. | madmaxoft | 2013-12-08 | 1 | -1/+1 |
| | | | | Ref.: #407 | ||||
* | Fixed stationary water starting fires and flowing lava not. | madmaxoft | 2013-12-08 | 1 | -2/+2 |
| | |||||
* | Lava can spawn fire. | madmaxoft | 2013-12-04 | 1 | -6/+6 |
| | | | | Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65. | ||||
* | Merge pull request #387 from mc-server/trapdoors | Mattes D | 2013-11-30 | 1 | -0/+2 |
|\ | | | | | Trapdoors, redstone fixes, and snow | ||||
| * | Implemented trapdoors, fixes #43 and #105 | Tiger Wang | 2013-11-29 | 1 | -0/+2 |
| | | | | | | | | Also updated redstone simulator to support it | ||||
* | | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 2013-11-30 | 1 | -1/+1 |
|/ | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+465 |