@FunctionalInterface
public interface IRedstoneControl<T extends net.minecraft.tileentity.TileEntity & IRedstoneControl<T>>
| Modifier and Type | Method and Description |
|---|---|
default int |
getCurrentRedstonePower()
Get the current redstone level for this TE.
|
RedstoneController<T> |
getRedstoneController()
Get the redstone controller object for this TE
|
default int |
getRedstoneMode() |
default net.minecraft.util.text.IFormattableTextComponent |
getRedstoneTabTitle() |
default void |
onRedstoneModeChanged(int newModeIdx) |
RedstoneController<T> getRedstoneController()
default net.minecraft.util.text.IFormattableTextComponent getRedstoneTabTitle()
default int getCurrentRedstonePower()
default int getRedstoneMode()
default void onRedstoneModeChanged(int newModeIdx)