This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Button | |
| protected void actionPerformed (GuiButton button) | |
| { | |
| if (button.id == 0) | |
| { | |
| patternIndex++; | |
| if (patternIndex > TContent.patternOutputs.length - 1) | |
| patternIndex = 0; | |
| } | |
| else if (button.id == 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class LavaTankLogic extends TileEntity | |
| implements ILiquidTank | |
| { | |
| public LiquidTank tank; | |
| public int max; | |
| public int pressure; | |
| public LiquidStack liquid; | |
| public LavaTankLogic() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void renderStandardInvBlock(RenderBlocks renderblocks, Block block, int meta) | |
| { | |
| Tessellator tessellator = Tessellator.instance; | |
| GL11.glTranslatef(-0.5F, -0.5F, -0.5F); | |
| tessellator.startDrawingQuads(); | |
| tessellator.setNormal(0.0F, -1F, 0.0F); | |
| renderblocks.renderBottomFace(block, 0.0D, 0.0D, 0.0D, block.getBlockTextureFromSideAndMetadata(0, meta)); | |
| tessellator.draw(); | |
| tessellator.startDrawingQuads(); | |
| tessellator.setNormal(0.0F, 1.0F, 0.0F); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.minecraftforge.common; | |
| import net.minecraft.client.model.ModelBiped; | |
| /** | |
| * This interface has to be implemented by an instance of ItemArmor. | |
| * It allows for the application of a custom model file to the player skin | |
| * when the armor is worn. | |
| */ | |
| public interface IArmorModelProvider | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Base Block */ | |
| public abstract class InventoryBlock extends BlockContainer | |
| { | |
| protected InventoryBlock(int id, Material material) | |
| { | |
| super(id, material); | |
| } | |
| /* Logic backend */ | |
| public TileEntity createNewTileEntity (World var1) { return null; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package tinker.tconstruct.client.entityrender; | |
| import net.minecraft.client.model.ModelBase; | |
| import net.minecraft.client.model.ModelRenderer; | |
| import net.minecraft.entity.Entity; | |
| import tinker.tconstruct.client.tmt.ModelRendererTurbo; | |
| public class SkylaModel extends ModelBase | |
| { | |
| ModelRenderer Head; |
NewerOlder