Jump to content

nike4613

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by nike4613

  1. Hello! I'm trying to do just what the title says, but I cant quite figure out how to do this. FYI, I am not remaking NEI, but using it for something entirely different.
  2. I am attempting to change the texture based on whether the graphics mode is. I am reading it with @SideOnly(Side.CLIENT) public void setGraphicsLevel(boolean fof) { this.isFancy = fof; TPDWSP.logger.log(Level.INFO, "Changed graphics level"); } (the logger works) and it is not being triggered. How do I get it to trigger? and how do I change the texture when it does?
  3. Hi! I am trying to make a leaf block whose color changes with the biome (like vanilla) and cannot quite figure out how. The block class: (LeVBlock has the texture and opaque rendering in it.) LeVBlock:
  4. Could I see a peice of code for server-side? For locating the entity?
  5. Code: When I use the item and all text is green, the entity moves, and then "unmoves", moves back to its original location. How do I fix it? And is it a server sync issue?
  6. I'm trying to rotate a tile entity model and it is causing inconsistant results. Any suggestions? Any help is appreciated! Renderer: Model:
  7. Do you know what to change the function to?
  8. I need a tile entity to update every tick or so. I found a page that talks about the updateTick function, but it isnt working for me. I have a System.out.println function that isnt happening. Any help is appreciated! Code: private long tickCounter; public void updateTick(World world, int x, int y, int z, Random par5Random) { if(tickCounter%mod_Eclipses.JarTickSpeed == 0){ long wt = world.getWorldTime(); System.out.println(wt); if(wt > 0 && wt < 12000){ setFluid(liquid1); }else if(wt > 12000 && wt < 24000){ setFluid(liquid2); } } tickCounter++; }
  9. Do you know what to change the names to?
  10. I have a tile entity that updates on right-click with certain items. Whenever I relog, the contents of the jar I'm making is deleted. Any help is appreciated! Code:
  11. Thanks, but no luck. It seems to have something to do with how and where I placed them from. I'm goning to try total transparency next. EDIT: Worked.
  12. No go. Didnt work. Ive updated the original post texture.
  13. I am making a jar, and I have a good 3d model for it, but some of the faces aren't rendering throuch other faces. Srceenshots: Code: Any help is very appreciated!
×
×
  • Create New...

Important Information

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