From ea386eaab12206e585e01720808dc37585569535 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Fri, 27 Mar 2020 13:03:28 +0100 Subject: Lock hopper when powered by redstone (#4347) * Lock hopper when powered by redstone * Add to manual bindings * Add hopper API documentation Co-authored-by: Mat --- .../IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp') diff --git a/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp index 2c56646fe..ddd682288 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp +++ b/src/Simulator/IncrementalRedstoneSimulator/IncrementalRedstoneSimulator.cpp @@ -25,6 +25,7 @@ #include "DropSpenserHandler.h" #include "RedstoneComparatorHandler.h" #include "TrappedChestHandler.h" +#include "HopperHandler.h" @@ -98,6 +99,7 @@ std::unique_ptr cIncrementalRedstoneSimulator::CreateComponent case E_BLOCK_BLOCK_OF_REDSTONE: return cpp14::make_unique(); case E_BLOCK_COMMAND_BLOCK: return cpp14::make_unique(); + case E_BLOCK_HOPPER: return cpp14::make_unique(); case E_BLOCK_NOTE_BLOCK: return cpp14::make_unique(); case E_BLOCK_REDSTONE_WIRE: return cpp14::make_unique(); case E_BLOCK_TNT: return cpp14::make_unique(); -- cgit v1.2.3