public interface IProgrammable
For now the only thing you can do with this is make program storages; in future, there may be more applications. Puzzle pieces will be written onto the implementer's itemstack NBT, under the NBT tag "pneumaticcraft:progWidgets".
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NBT_WIDGETS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProgram(net.minecraft.item.ItemStack stack)
When returned true, this stack may be programmed.
|
boolean |
showProgramTooltip()
Check if the item should have a tooltip added detailing the puzzle piece used to program it.
|
boolean |
usesPieces(net.minecraft.item.ItemStack stack)
Check if Programming Puzzles are needed to program this item.
|
static final java.lang.String NBT_WIDGETS
boolean canProgram(net.minecraft.item.ItemStack stack)
stack - the item stack to checkboolean usesPieces(net.minecraft.item.ItemStack stack)
stack - the item stack to checkboolean showProgramTooltip()