Work on trying to get it to render, still does not work

This commit is contained in:
modmuss50 2015-04-21 18:43:09 +01:00
parent 214dacffe5
commit 5101abc541
5 changed files with 97 additions and 0 deletions

View file

@ -6,6 +6,8 @@ package techreborn.partSystem;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@ -45,6 +47,13 @@ public interface IModPart {
@SideOnly(Side.CLIENT)
public void renderDynamic(Vecs3d translation, double delta);
/**
* Renders this part statically. A tessellator has alredy started drawing. <br>
* Only called when there's a block/lighting/render update in the chunk this part is in.
*/
@SideOnly(Side.CLIENT)
public boolean renderStatic(Vecs3d translation, RenderBlocks renderBlocks, int pass);
/**
* Writes the part's data to an NBT tag, which is saved with the game data.
*/