public interface BlockChangeAware extends Module
| Modifier and Type | Method and Description |
|---|---|
void |
onNeighborBlockChange(net.minecraft.util.math.BlockPos neighborPos,
boolean isModuleNeighbor)
Called when a block adjacent to the hosting
Casing changes. |
getCasing, getFace, onActivate, onData, onData, onDisabled, onDisposed, onEnabled, onInstalled, onUninstalled, onWriteComplete, readFromNBT, render, step, writeToNBTvoid onNeighborBlockChange(net.minecraft.util.math.BlockPos neighborPos,
boolean isModuleNeighbor)
Casing changes.neighborPos - the position of the block that changed.isModuleNeighbor - whether the block that changed is the one in front of the module, for convenience.