Jump to content

tattyseal

Forge Modder
  • Posts

    194
  • Joined

  • Last visited

Everything posted by tattyseal

  1. Try loading a world up without setting the gamerule, then restarting a few times. Tell us if it still happens. I noticed this with some of my mods.
  2. The only thing I can think of is your build.gradle is being weird, but I don't see anything wrong with it. If you see anything that you don't have or see anything that looks too different from there, that might be the problem. Beyond that I have no clue. As diesieben07 said. Strange.
  3. Like diesieben07 said, show code. Mainly the container, gui, gui handler and tile. This. ^
  4. After working on a 3D game, I should have thought of a render list I will try that. Thanks
  5. Yeah, like I said, I need a new way to do it
  6. CompactStorage http://hydra-media.cursecdn.com/wow.gamepedia.com/9/93/Curse_round_logo_96x96.png?version=fa54ece471eb197b59c11cb1832b646b[/img] View the recipes here http://hydra-media.cursecdn.com/ftb.gamepedia.com/b/bc/Wiki.png?version=524ae5f0e741aca1213f54e560488a9b[/img] Modpacks Permission does not need to be obtained before using CompactStorage in packs distributed through the FTB Launcher. You cannot put any packs containing my mod past any sites that require the user to wait a time period and look at advertisments (adf.ly, adfoc.us) Please obtain permission before using my mod in a modpack You must remove my mod if I ask, even after permission is obtained.
  7. Hello, I am making a mod with a block with 16*16 cubes in a block so 256 cubes in the model, and when I try to render it, it causes the fps to drop the more that are placed, this is caused by the for loop I think. I don't know if there is an alternative to this. Thanks. Also, the cubes have to be individual, because I am going to have a gui, so the user can remove cubes and path redstone down them etc. So I need each cube to be removable Model Code: package com.tattyseal.circuits.client.model; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.model.ModelRenderer; /** * Created by Toby on 04/11/2014. */ public class ModelCircuitBoard extends ModelBase { public ModelRenderer[] etchings; public ModelRenderer base; public ModelCircuitBoard() { etchings = new ModelRenderer[16 * 16 + 1]; int id = 0; for(int x = 0; x < 16; x++) { for(int z = 0; z < 16; z++) { etchings[id] = new ModelRenderer(this, 0, 0); //* Creates a textured box. Args: originX, originY, originZ, width, height, depth, scaleFactor. etchings[id].addBox(x, 0, z, 1, 1, 1, 0.0f); id++; } } } } Renderer Code: package com.tattyseal.circuits.client.renderer; import com.tattyseal.circuits.client.model.ModelCircuitBoard; import net.minecraft.client.model.ModelRenderer; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.tileentity.TileEntity; import org.lwjgl.opengl.GL11; /** * Created by Toby on 04/11/2014. */ public class RenderCircuitBoard extends TileEntitySpecialRenderer { public ModelCircuitBoard model; public RenderCircuitBoard() { this.model = new ModelCircuitBoard(); } @Override public void renderTileEntityAt(TileEntity tile, double x, double y, double z, float scale) { GL11.glDisable(GL11.GL_LIGHTING); GL11.glPushMatrix(); GL11.glTranslated(x, y, z); for(ModelRenderer renderer : model.etchings) { if(renderer != null) renderer.render(0.0625f); } GL11.glPopMatrix(); GL11.glEnable(GL11.GL_LIGHTING); } }
  8. I think he is talking about the 'Mods' button on the main menu, I think.
  9. Click the 'Edit Profile' button
  10. Don't compare ItemStacks compare the ItemStacks item, itemstack.getItem();
  11. Hello, I am rendering entities in my GUI Class, but when they render they look like this Gui Code:
  12. This should be in Support / Bug Reports. Chat Bubbles is Client Side Only. learn2log
  13. Post your code in gists, we have no clue what you are talking about. learn2grammar
  14. And I also said don't copy the code, write it yourself and learn from my code, and you copied it, thats not how you learn.
  15. I told you to remove the onBlockActivated method
  16. https://github.com/tattyseal/Modjam4/blob/master/src/main/java/org/eep/api/BaseDoublePlant.java should help, ignore the methods like onBlockActivated, they are for my mod, and try not to copy code, try to learn from it.
  17. We need your code, and the location of your texture.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.