| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
+ Provisional handling for observers
|
| |
|
|
|
|
|
|
|
|
|
| |
* Lock hopper when powered by redstone
* Add to manual bindings
* Add hopper API documentation
Co-authored-by: Mat <mail@mathias.is>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add check for number of empty lines between functions and fix the corresponding failures
|
| |
|
|
|
| |
This commit fixes an issue where a pressureplate would only open oak fence gates
|
| |
|
|
|
|
| |
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
|
|
|
|
|
| |
* Don't let redstone blocks power adjacent blocks.
This fixes issue #2966
|
|
|
|
| |
* Improvements to performance? Maybe. Can't hurt (he says).
|
|
|
|
| |
When a new block was placed that has a corresponding RedstoneHandler the PowerData for the position was cached, but never deleted and remained unchanged when the block got destroyed. The RedstoneSimulator now erases all cached PowerData for positions where the block doesn't have a RedstoneHandler (i.e. Air).
|
| |
|
| |
|
|
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan!
* Uses classes and inheritance now
* Speed should be improved
|