summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/JukeboxEntity.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-16Using Super.Mattes D1-2/+2
2020-03-23Jukebox improvements (#4537)Mat1-4/+22
* Add jukebox block handler Co-authored-by: peterbell10 <peterbell10@live.co.uk>
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-6/+6
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-1/+1
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2018-07-27cWorld: Manually bind deprecated broadcast functions (#4265)peterbell101-2/+2
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
2018-05-02Prefer static_cast to reinterpret_cast (#4223)peterbell101-1/+1
* Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2017-06-16BlockEntities: Support cloning self.Mattes D1-2/+14
2017-02-15Updated sounds and effect IDs (#3422)mathiascode1-2/+2
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj1-1/+4
2015-11-24Add enum for Sound and Particle EffectsDave Tucker1-2/+3
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-09-02Fixes #2485Tiger Wang1-1/+0
2014-10-12convert old style casts to fix warningsSteven Riehl1-5/+1
2014-09-30Removed WSSCompactTiger Wang1-28/+0
2014-09-26Removed more unessicary includesTycho1-2/+2
2014-02-21Better Jukebox APIHowaner1-13/+35
2013-11-27Fixed VC2008 compilation, normalized include paths.madmaxoft1-1/+1
2013-11-27Fixed the remaining derpsAlexander Harkness1-1/+1
2013-11-25Further attempts to fix compileTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-14Exported cJukeboxEntity to Lua API.madmaxoft1-23/+15
Ref. #228
2013-11-14Added cSignEntity into API, added cChunkDesc:GetBlockEntity().madmaxoft1-3/+13
This fixes both #228 and #347.
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-3/+3
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-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
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-123/+123
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-2/+1
This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com1-2/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-24Fixed drops for: Stone, Mycelium, Redstone Torch.luksor111@gmail.com1-1/+1
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-3/+3
- 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-21Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com1-0/+123
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6