mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-16 10:51:55 -04:00
circuit board graphics
This commit is contained in:
parent
ea4332fc2f
commit
3d24c36fa9
BIN
assets/opencomputers/textures/items/circuit_board.png
Normal file
BIN
assets/opencomputers/textures/items/circuit_board.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 280 B |
BIN
assets/opencomputers/textures/items/raw_circuit_board.png
Normal file
BIN
assets/opencomputers/textures/items/raw_circuit_board.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 520 B |
@ -1,5 +1,14 @@
|
|||||||
package li.cil.oc.common.item
|
package li.cil.oc.common.item
|
||||||
|
|
||||||
|
import li.cil.oc.Settings
|
||||||
|
import net.minecraft.client.renderer.texture.IconRegister
|
||||||
|
|
||||||
class CircuitBoard(val parent: Delegator) extends Delegate {
|
class CircuitBoard(val parent: Delegator) extends Delegate {
|
||||||
val unlocalizedName = "CircuitBoard"
|
val unlocalizedName = "CircuitBoard"
|
||||||
|
|
||||||
|
override def registerIcons(iconRegister: IconRegister) {
|
||||||
|
super.registerIcons(iconRegister)
|
||||||
|
|
||||||
|
icon = iconRegister.registerIcon(Settings.resourceDomain + ":circuit_board")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
package li.cil.oc.common.item
|
package li.cil.oc.common.item
|
||||||
|
|
||||||
|
import li.cil.oc.Settings
|
||||||
|
import net.minecraft.client.renderer.texture.IconRegister
|
||||||
|
|
||||||
class RawCircuitBoard(val parent: Delegator) extends Delegate {
|
class RawCircuitBoard(val parent: Delegator) extends Delegate {
|
||||||
val unlocalizedName = "RawCircuitBoard"
|
val unlocalizedName = "RawCircuitBoard"
|
||||||
|
|
||||||
|
override def registerIcons(iconRegister: IconRegister) {
|
||||||
|
super.registerIcons(iconRegister)
|
||||||
|
|
||||||
|
icon = iconRegister.registerIcon(Settings.resourceDomain + ":raw_circuit_board")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user