mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Added hooks for subtiles to control redstone behavior and light.
This commit is contained in:
1 parent
7a144f3fcd
commit
55977e5bd9
10 files changed
+233
-1
No files matched your search
@@ -192,4 +192,27 @@ public class SubTileEntity {
|
||||
public void renderHUD(Minecraft mc, ScaledResolution res) {
|
||||
// NO-OP
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the light value for this SubTileEntity, this is a int (-1 to default to the flower)
|
||||
*/
|
||||
public int getLightValue() {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the comparator input value for this SubTileEntity
|
||||
*/
|
||||
public int getComparatorInputOverride(int side) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the redstone power level for this SubTileEntity
|
||||
*/
|
||||
public int getPowerLevel(int side) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user