summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BrewingstandEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed C style arrays from the BlockEntity folder (#5005)Tiger Wang2023-03-221-18/+12
| | | | | | | | | | | | * Removed C style arrays from the BlockEntity folder * Update for loops with size_t where there are no item grids involved * Fixed some casts in BrewingstandEntity.cpp --------- Co-authored-by: bibo38 <bibo38@github.com> Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Add player statistics to API (#5193)nshah252021-05-031-1/+1
| | | | | | * Fixed issue #5166 Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Fix sending incorrect date values on world changeTiger Wang2021-04-121-2/+2
| | | | Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge.
* Fix potential destruction crashes (#5095)Tiger Wang2021-01-021-30/+14
| | | | | | | | | | * Fix potential destruction crashes * Fix destructors accessing destroyted objects * Fix cPlayer not destroying windows (Destroyed never called) * Tentatively fixes #4608, fixes #3236, fixes #3262 - Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld() * Add missing call to OnRemoveFromWorld
* Remove SetProperty(...cPlayer)Tiger Wang2020-10-031-1/+1
| | | | Enchantment table, anvil windows are already opened one per-player.
* 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-4/+4
|
* Play sound when brewing is completeMat2020-03-231-0/+1
|
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-6/+6
|
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-9/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* 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.
* Removed double includes (#3885)Lukas Pioch2017-08-021-1/+0
|
* BlockEntities: Support cloning self.Mattes D2017-06-161-31/+57
|
* Fixes problems with windows:Lukas Pioch2017-06-051-1/+1
| | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers
* Minor cBrewingRecipes cleanup (#3731)peterbell102017-05-281-4/+4
|
* Corrected brewingstand and added support for fuelLukas Pioch2017-05-081-16/+47
|
* Moved variables into scope, removed unused variables and fixed variablesLukas Pioch2015-12-171-1/+1
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+2
|
* Fix memory leakworktycho2015-11-081-1/+1
| | | Fixes CID 132249
* Implemented brewingLukas Pioch2015-11-031-0/+309