mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-12 16:37:38 +00:00
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.
19 lines
396 B
Scala
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
|
|
} |