summaryrefslogtreecommitdiffstats
path: root/src/BlockID.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-02-14Added some blocks and items (#3503)mathiascode1-1/+40
2016-11-06Anticheat fastbreak (#3411)mohe20151-4/+26
Added block hardness checks when breaking blocks.
2016-06-15- Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update.QUSpilPrgm1-0/+2
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
2016-04-22Reduced unnecessary block updatesLogicParrot1-4/+0
2016-02-05Bulk clearing of whitespaceLogicParrot1-42/+42
2015-12-18Revised the explosion-related Lua API and docs.Mattes D1-6/+18
Fixes #2746.
2015-10-15ReTyped block idsJulian Laubstein1-7/+12
2015-07-31Unified the doxy-comment format.Mattes D1-13/+12
2015-07-14Improved mapsTiger Wang1-12/+14
2014-12-20Added RabbitsMasy981-0/+1
2014-12-18Added Entity GuardianMasy981-0/+1
2014-11-27Fixed BlockStringToType return value.Mattes D1-1/+1
-1 was not a valid BLOCKTYPE and would not be recognized by the callers, ever.
2014-10-27Fixed typo.Alexander Harkness1-1/+1
2014-10-27Pocess?Alexander Harkness1-2/+2
2014-10-26Added type to block type enum.Mattes D1-1/+11
2014-10-11Fixed typo and removed useless right side up slab meta.Alexander Harkness1-2/+1
2014-10-05Fixed eMonsterType Lua API mismatch.madmaxoft1-3/+0
2014-10-02Fix spelling of PRISMRAINEAlexander Harkness1-1/+1
Fixes #1497
2014-10-01Fixed Red Sandstone and Prismarine dropsMasy981-7/+7
2014-10-01Fixed ":"Masy981-11/+11
2014-10-01Added missing 1.8 blocks, E_METAs and soundsMasy981-6/+47
2014-09-30Fixed 1.8 dirt typesHowaner1-0/+1
2014-09-29Tabs -> spacesw00tc0d31-4/+4
2014-09-29BlockStone: drop the right cobblestone on onBreak().netchip1-0/+6
Signed-off-by: netchip <w00tc0d3@outlook.com>
2014-09-12Fixed 1.8 Item stacking and block harvestingMasy981-1/+1
2014-09-11Added barrier blockMasy981-0/+1
2014-09-11Added 1.8 food to the food listMasy981-1/+1
2014-09-10Added new blocks to the BlockInfoMasy981-12/+12
2014-09-10Added 1.8 Blocks and ItemsMasy981-0/+37
2014-09-03Fixed style and alpha-sorting.madmaxoft1-2/+2
2014-09-03Added mutton, which sheep now drop when killedarchshift1-0/+2
2014-07-30Renamed NEWLEAVES and NEWLOG to LEAVES and LOG.archshift1-34/+34
2014-07-21SuggestionsTiger Wang1-1/+1
2014-07-17Normalized comments.madmaxoft1-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.
2014-07-17Fixed spaces around single-line comments.madmaxoft1-1/+1
There should be at least two spaces in front and one space after //-style comments.
2014-07-17Fixed basic whitespace problems.madmaxoft1-2/+2
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-07-17Reformatted cItemPotionHandler.madmaxoft1-1/+2
2014-07-02Spacing fixes and a few more BLOCK_META constants.narroo1-131/+152
2014-06-17Added wither damage type, wither entity effect.archshift1-0/+2
2014-06-10Portal improvements and suggestionsTiger Wang1-1/+6
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D1-0/+1
Fixes #1039, fixes #851
2014-06-08Fixed E_META_...Typos in BlockID.hnarroo1-10/+0
2014-05-20Fixed some E_META_*** Namesnarroo1-71/+67
2014-04-28Fixed Formmatingnarroo1-69/+69
2014-04-28Added some E_META_* values to BlockID.hnarroo1-20/+120
2014-04-17Implemented weighted pressure platesTiger Wang1-0/+4
2014-03-27Change SpreadSource prefix to ssHowaner1-5/+5
2014-03-27Add SpreadSourceHowaner1-0/+13
2014-03-20Fixed code style after recent merge.madmaxoft1-1/+5
2014-03-20ENUMified shrapnel levelTiger Wang1-4/+8
2014-03-02Removed g_BlockXXX arraysandrew1-14/+0
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-32/+0
2014-02-22Changed formatting, encapsuled armor drop, introduced better static Enchantment IDsTheJumper1-32/+0
2014-02-22Added static Enchantment Constants, Replaced cryptic Looting IDTheJumper1-0/+32
2014-02-21Better Jukebox APIHowaner1-0/+4
2014-02-19Add BlockNewLeaves.h and rename Darkoac to DarkoakHowaner1-6/+6
2014-02-19Add new Trees (without Generator)Howaner1-0/+2
2014-02-18Implemented paintings, fixes #689Tiger Wang1-1/+1
+ Implemented paintings
2014-02-03Named the different quartz block.STRWarrior1-0/+5
2014-02-02TNT improvementsTiger Wang1-0/+1
+ Added entity damage + Added entity propulsion * Fixed #67 and fixed #230
2014-01-11Renamed g_TorchPlaceable...Tiger Wang1-1/+1
...to g_FullyOccupiesVoxel, as recommended by @bearbin
2014-01-09Move biome definition to separate filesBill Derouin1-3/+0
2013-12-23Replaced esCreeper with esMonster.madmaxoft1-2/+5
Any monster will be able to explode, and also this fixes #425.
2013-11-29Implemented trapdoors, fixes #43 and #105Tiger Wang1-3/+2
Also updated redstone simulator to support it
2013-11-29Alpha-sorted BlockMetas, added red sand.madmaxoft1-125/+128
2013-11-28Added new biomes to old composition generator.madmaxoft1-0/+4
Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-13Bug correctionnesco1-1/+1
Syntax error
2013-11-13compatibility updatenesco1-3/+7
2013-11-13compatibility updatenesco1-1/+3
2013-11-12Update BlockID.hnesco1-2/+2
2013-11-12Replace tabs by spacesnesco1-35/+35
2013-11-12Update BlockID.hnesco1-0/+12
2013-11-12Update in progress to minecraft 1.7nesco1-4/+82
2013-10-11Added GetIniItemSet() function.madmaxoft1-1/+5
It reads a block / item description from the specified INI file value and returns as cItem; stores and uses the default if value doesn't exist.
2013-09-18Added moar mobs!Tiger Wang1-32/+57
+ Added dragons + Added golems + Added giants + Added horses + Added some missing items + Added missing spawn egg metas
2013-09-15Torches work properlyTiger Wang1-2/+2
Also fixed a naming inconsistency concerning quartz stairs.
2013-09-03Fixed inconsistent meta namingTiger Wang1-10/+10
2013-09-01Added dtRangedAttack, fixed faulty StringTODamageType()madmaxoft1-0/+4
2013-08-30Thrown ender pearls now teleport and hurt.madmaxoft1-0/+1
2013-08-30Shooting a bow kinda works.madmaxoft1-1/+3
The arrow is released, but sometimes hits wrong blocks or disappears completely.
2013-08-29Implemented xoft's suggestions [SEE DESC]Tiger Wang1-0/+12
Rail metas are now in BlockID and exported to LUA Minecart now does a SetMass, instead of m_Mass Minecarts use SubType instead of TypeType
2013-08-24Fixed inconsistent metas and added snow metasTiger Wang1-29/+41
2013-08-18Enhancements to Tabcompletion and Compile FixTiger Wang1-1/+1
Tab complete now finds the last word and matches accordingly, with a 20% increase in speed! Fixed missing comma breaking compilation
2013-08-18Bugfix Update [SEE DESC}Tiger Wang1-3/+41
Added stained clay, coal block, and hardened clay Block IDs Added stained clay and carpet block Metas Fixed bug with sticky retract bailing out but not unsetting arm Fixed autocomplete not working when not at the first character, fixes #64 Added furnace recipes for hardened clay and coal and coal blocks
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-1/+1
Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue
2013-08-16Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft1-37/+7
Also slightly improved the spawning algorithm.
2013-08-14Fixed wrong names for some metas.madmaxoft1-8/+8
They were E_BLOCK_ instead of E_META_.
2013-08-12Added quartz stairs.STRWarrior1-0/+1
2013-08-09Added OnExploding() and OnExploded() hooks.madmaxoft1-0/+18
As requested in FS 413, with extra parameters: World, BlockX, BlockY, BlockZ, Size, CanCauseFire, Source, SourceData OnExploding() can return 3 values: StopHook, CanCauseFire, ExplosionSize
2013-08-05Added the Carpet block.madmaxoft1-0/+2
2013-07-12Added a StringToMobType() function to the Lua API (patch contributed by STR_Warrior)madmaxoft@gmail.com1-0/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1674 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01Added DamageType translation to APImadmaxoft@gmail.com1-0/+48
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1639 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22Added the End height and composition generators.madmaxoft@gmail.com1-5/+24
Also made the dimension in world.ini specifiable by a string. Exported StringToDimension() and StringToBiome() to Lua API. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1621 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-20Updated the stacking (Patch contributed by Stephen304)madmaxoft@gmail.com1-2/+4
http://forum.mc-server.org/showthread.php?tid=503&pid=8609#pid8609 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1614 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-12Implemented the Hopper block handlermadmaxoft@gmail.com1-8/+15
Hoppers can be placed properly, but won't work yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1583 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04ToLuaDoxy: initial importmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1544 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Alpha-sorted the block meta listmadmaxoft@gmail.com1-75/+96
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1512 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19Inventory changes made by plugins are now propagated to the clientmadmaxoft@gmail.com1-23/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06Mineshafts: Added random loot to generated chests and fixed chest directionmadmaxoft@gmail.com1-0/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-01MineShafts: added random torches, fixed beams on chunk boundariesmadmaxoft@gmail.com1-0/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1344 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31MineShafts: Added tracks to corridorsmadmaxoft@gmail.com1-3/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1342 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-03Added missing item types, fixed placing stone walls.madmaxoft@gmail.com1-1/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1243 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-02Added the anvil blockmadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1239 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-148/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-15Fixed previous commitmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1216 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-15Block and recipe update by STR_Warrior.madmaxoft1-1/+17
Adds missing fuels Adds missing furnace recipes (FS #304) Fixes some recipes (FS #305) Adds current 1.5 weekly snapshot blocks and items. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1215 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-22Obsoleted E_BLOCK_COCA_PLANT in favor of E_BLOCK_COCOA_POD.madmaxoft@gmail.com1-1/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1162 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-5/+23
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27Added flower potsluksor111@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1107 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-24Added 1.4.6 items (patch contributed by STR_Warrior)madmaxoft@gmail.com1-2/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1101 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-24Fixed drops for: Stone, Mycelium, Redstone Torch.luksor111@gmail.com1-2/+2
Fixed item usage for Jukeboxes and Spawn eggs in survival. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1064 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15- Added the "wait" music discluksor111@gmail.com1-1/+2
- Vines can now be placed on leaves git-svn-id: http://mc-server.googlecode.com/svn/trunk@1045 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua APImadmaxoft@gmail.com1-40/+76
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1014 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-23New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker)luksor111@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1005 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-30Added some missing block enumsfaketruth1-1/+12
Spruce, birch and jungle wood stairs now orient correctly git-svn-id: http://mc-server.googlecode.com/svn/trunk@916 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20Refactored windows.madmaxoft@gmail.com1-0/+3
As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08Added the ItemToString() and ItemTypeToString() functions.madmaxoft@gmail.com1-1/+7
Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=4506#pid4506 git-svn-id: http://mc-server.googlecode.com/svn/trunk@847 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-14Added a few more stackable itemsmadmaxoft@gmail.com1-2/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@733 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-10Use named constants instead of magic values - block digging direction and torch placementmadmaxoft@gmail.com1-0/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@724 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-5/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.madmaxoft@gmail.com1-1/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@704 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+1
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15Removed the deprecated confusing E_BLOCK_WOODmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@667 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-16Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden doormadmaxoft@gmail.com1-2/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@625 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-641/+641
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-06BlockIDs, ItemIDs and Metas updated, courtesy of Taugeshtumadmaxoft@gmail.com1-5/+168
git-svn-id: http://mc-server.googlecode.com/svn/trunk@560 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.madmaxoft@gmail.com1-2/+13
git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-29Added code for the chunks to manipulate their neighbors while ticking. Also added some basic farming support - melon and pumpkin growing code. Untested and untestable so far, will test and fix later.madmaxoft@gmail.com1-1/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27Added some useful biome synonyms; added block property IsSnowable; alphabetically sorted block property settingmadmaxoft@gmail.com1-0/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@513 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27Added wool and netherrack block IDsmadmaxoft@gmail.com1-2/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@509 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27Added the CheckerBoardBiomes parameter for setting biomes that CheckerBoard generates (#179). Added string-to-biome conversion (#183). Added OreNests to default Structures configuration.madmaxoft@gmail.com1-1/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@506 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-28/+55
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12Fixed MapChunk packets to include (fake) biome data, makes clients happymadmaxoft@gmail.com1-0/+35
git-svn-id: http://mc-server.googlecode.com/svn/trunk@403 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update.admin@omencraft.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@74 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07Added Sebi's changes to pistons and item drops.admin@omencraft.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@72 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05Added all the items up to Beta 1.9.5. Added pistons and piston class.admin@omencraft.com1-13/+256
git-svn-id: http://mc-server.googlecode.com/svn/trunk@63 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-03Added some redstone items.admin@omencraft.com1-1/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@49 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-03MCServer c++ source filesfaketruth1-0/+151
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6