summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/JukeboxEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add player statistics to API (#5193)nshah252021-05-031-1/+2
| | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Do not call into things we don't own in destructorsTiger Wang2020-09-251-13/+0
| | | | | - Remove improper accesses in cChunk destructor * Fixes #4894
* Unify block entity pickup conversionTiger Wang2020-09-251-1/+10
| | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
* Small cleanup in JukeboxesTiger Wang2020-09-251-12/+16
| | | | * Fixed creative players not tracking stats, and the code trying to "place" a record when they used one
* Add more statistic tracking (#4837)12xx122020-09-051-0/+2
| | | | | | | | + Added possible 1.8 stats + Added stat tracking for 1.8.2 + Added stat tracking for 1.9 + Added the breed cow achievement Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Using Super.Mattes D2020-04-161-2/+2
|
* Jukebox improvements (#4537)Mat2020-03-231-4/+22
| | | | | * Add jukebox block handler Co-authored-by: peterbell10 <peterbell10@live.co.uk>
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-6/+6
|
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-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.
* cWorld: Manually bind deprecated broadcast functions (#4265)peterbell102018-07-271-2/+2
| | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
* Prefer static_cast to reinterpret_cast (#4223)peterbell102018-05-021-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.
* BlockEntities: Support cloning self.Mattes D2017-06-161-2/+14
|
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-2/+2
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+4
|
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-2/+3
| | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
* Fixes #2485Tiger Wang2015-09-021-1/+0
|
* convert old style casts to fix warningsSteven Riehl2014-10-121-5/+1
|
* Removed WSSCompactTiger Wang2014-09-301-28/+0
|
* Removed more unessicary includesTycho2014-09-261-2/+2
|
* Better Jukebox APIHowaner2014-02-211-13/+35
|
* Fixed VC2008 compilation, normalized include paths.madmaxoft2013-11-271-1/+1
|
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+125