| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* Use cChunkDef::IsValidHeight for CanBeAt functions, and related helpers.
* Add mixins for SolidSurfaceUnderneat and DirtLikeUnderneath
* Minor fixes after change review.
|
|
|
|
|
| |
* When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it.
* Fixes #4795
- Remove unused a_Digger parameter to ConvertToPickups.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix cmake not adding Werror on clang, and _lots_ of warnings
* WIP: Build fixes
* Cannot make intermediate blockhandler instance
* Tiger's changes
* Fix BitIndex check
* Handle invalid NextState values in cMultiVersionProtocol
Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
|
|
|
|
|
| |
- Removed normal BlockHandler knowledge of block entities during conversion
+ Added cBlockEntity::ConvertToPickups that handles it
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* BlockHandler initialisation is a constant expression
If we can't make it all namespaces, this is the next best I guess.
+ Tag handlers constexpr, const as needed
+ Inherit constructors
* Privatise handler functions
* More constexpr
Co-authored-by: Alexander Harkness <me@bearbin.net>
|
| |
|
| |
|
|
|
|
| |
Also add observer block handler.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Furnace drops contents
* Brewing stand drops contents
* Fix lit furnace drop
* Fix brewing stand drop
* Style
* Style
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Fixes #879
* Fixes #714
|
| |
|
| |
|
|
|
|
| |
May Fix #640
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed the signitures of the following to use interfaces:
GetPlacementBlockTypeMeta
OnPlaced
OnPlacedByPlayer
OnDestroyed
OnNeighbourChanged
NeighbourChanged
OnUse
CanBeAt
Check
|
| |
|
| |
|
|
|
|
| |
Note that they just mirror chests now, so no per player inventory.
|
|
|