Implemented facade rendering on the cable bus.

This commit is contained in:
Sebastian Hartte
2016-09-21 00:11:03 +02:00
parent 71396637e3
commit 2de1842445
11 changed files with 619 additions and 64 deletions
+15 -8
View File
@@ -24,10 +24,12 @@
package appeng.api.parts;
import javax.annotation.Nullable;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.AxisAlignedBB;
import appeng.api.util.AEPartLocation;
@@ -58,18 +60,23 @@ public interface IFacadePart
*/
AEPartLocation getSide();
/**
* @return the box for the face of the facade
*/
AxisAlignedBB getPrimaryBox();
Item getItem();
int getItemDamage();
boolean notAEFacade();
void setThinFacades( boolean useThinFacades );
boolean isTransparent();
/**
* The item that this facade masquerades as.
*/
@Nullable
ItemStack getTextureItem();
/**
* @return The block state used for rendering.
*/
IBlockState getBlockState();
}