summaryrefslogtreecommitdiffstats
path: root/source/BlockEntities (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed cBlockEntity:CreateByBlockType() from the Lua API.madmaxoft2013-11-151-2/+2
| | | | Plugins cannot be allowed to create block entities, that would result in memory leaks.
* Removed BlockEntities' constructors from the API.madmaxoft2013-11-1512-92/+2
| | | | Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating).
* Added cNoteEntity to Lua API.madmaxoft2013-11-142-30/+27
| | | | Ref. #228.
* Exported cJukeboxEntity to Lua API.madmaxoft2013-11-142-33/+33
| | | | Ref. #228
* Added cSignEntity into API, added cChunkDesc:GetBlockEntity().madmaxoft2013-11-148-49/+145
| | | | This fixes both #228 and #347.
* Bundled fixes [SEE DESC]Tiger Wang2013-11-102-4/+4
| | | | | | * Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery
* Bundled fixes [SEE DESC]Tiger Wang2013-11-101-1/+1
| | | | | | | | | | * Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata
* Fixed dropspensing speed and positionTiger Wang2013-11-021-1/+22
|
* Fixed bindings for cHopperEntity:GetOutputBlockPos().madmaxoft2013-10-231-5/+2
|
* Fixed cDropSpenserEntity bindings generating an extra var.madmaxoft2013-10-231-4/+4
| | | | Caused by inadvertently exporting multiple-inheritance from a class that is not Lua-exported.
* Exported cHopperEntity to API.madmaxoft2013-10-231-1/+1
| | | | This allows hoppers to be created by plugins during chunk generation.
* Moved entities into the Entities subfolder.madmaxoft2013-08-198-9/+8
|
* Added cWindow property manipulation API.madmaxoft2013-08-181-1/+1
| | | | Now enchantment table and furnace properties can be set by a plugin
* Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft2013-08-161-1/+1
| | | | Also slightly improved the spawning algorithm.
* Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft2013-08-112-56/+110
| | | | Requested in FS 412, slightly modified the params.
* Removed the unused BlockY parameter from cChunkDef::BlockToChunk()madmaxoft2013-08-032-2/+2
|
* Changed everyting to Unix line endings.Alexander Harkness2013-07-2913-1779/+1779
|
* Dispensers spawn fire if it has Flint and steel.nielsbreu@gmail.com2013-06-221-0/+16
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1619 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Dispensers dispense primed TNTmadmaxoft@gmail.com2013-06-211-0/+13
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1617 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Furnace window progressbars are initialized when the window is openedmadmaxoft@gmail.com2013-06-202-0/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1613 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Furnaces light up visually when they're cookingmadmaxoft@gmail.com2013-06-203-21/+54
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Implemented hopper outputmadmaxoft@gmail.com2013-06-202-5/+233
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1611 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed a crash when placing new furnacesmadmaxoft@gmail.com2013-06-201-0/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1610 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Rewritten furnacesmadmaxoft@gmail.com2013-06-164-231/+439
| | | | | | | | | | | | Furnaces now smelt the correct number of items. Furnaces store their contents in a cItemGrid. Furnace window is updated with correct items and progressbars. Furnace recipes now use ticks instead of milliseconds. Furnaces save and load their state completely, not missing a smelt operation. Hoppers take items out of furnaces. Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed Linux compilationmadmaxoft@gmail.com2013-06-151-1/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1589 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.madmaxoft@gmail.com2013-06-132-0/+372
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6
* cItemGrid: Added IsSlotEmpty() functionsmadmaxoft@gmail.com2013-06-132-8/+13
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1585 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ChestEntity: fixed bindingsmadmaxoft@gmail.com2013-06-121-4/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1584 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Implemented the Hopper block handlermadmaxoft@gmail.com2013-06-121-10/+10
| | | | | | 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
* Fixed a crash when generating a chestmadmaxoft@gmail.com2013-06-041-2/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1549 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Window contents are sent whenever the window is opened by a player.madmaxoft@gmail.com2013-05-303-3/+0
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1533 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Moved BlockEntities to a separate foldermadmaxoft@gmail.com2013-05-2818-0/+2078
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6