Files
ForgeMultipart/codechicken/microblock/IMicroMaterialRender.scala
T
Chicken Bones f9eb162770 Changed micro material rendering to take a part based interface instead of an actual part to allow other non-microblock things to use the renderer.
Added IMaskedRedstoneConnect for redstone parts with special connection modes
Added null check to TMultiPart.world().
Fixed hollow microblocks not rendering hollow on placement
Fixed a problem with packet send order on part remove.
2013-08-15 21:31:15 +10:00

19 lines
396 B
Scala

package codechicken.microblock
import codechicken.lib.vec.Cuboid6
import net.minecraft.world.World
trait IMicroMaterialRender {
/**
* May be null for inventory rendering.
*/
def world():World
def x():Int
def y():Int
def z():Int
/**
* Return the bounds of the part for texture mapping side decals like grass
*/
def getRenderBounds():Cuboid6
}