Jump to content

Spaceboy Ross

Members
  • Posts

    143
  • Joined

  • Last visited

Everything posted by Spaceboy Ross

  1. My mod has never had this issue before, it just all of a sudden appeared. I've attached the log ive received.
  2. So one of the people on my mod's dev team told me that the server crashes by java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityPlayerSP and I have no idea what is causing that crash and how to fix it. It doesn't crash on my computer.
  3. The modeler uses Cubix Studio but he says that he cannot figure out how to export the model to java.
  4. Blockbench has an "export to java" plugin and that's how I got the model exported.
  5. e23 is the head, I already found that out and changing the position does nothing.
  6. It's only the head that doesn't render correctly, the head rendered correctly in blockbench and other programs.
  7. I've fixed it so the function returns ItemStack.EMPTY since I recently found that out before you told me and the model is rendering from the MobileSuit.MSRenderer class. Also, I didn't make the model, the model designer member made it.
  8. Oh, that is com.spaceboyross.gundam.ms.MobileSuit.MSRender
  9. The entity.render package is for non-Mobile Suit type entities. com.spaceboyross.gundam.models.ms.gundams.RX782GundamMobileSuitModel is the RX-78-2 Gundam Mobile Suit model class. So the com.spaceboyross.gundam.models.ms package is for the models for Mobile Suits.
  10. This is what the model is supposed to look like. But this is what it looks like in game. The class of the model is com.spaceboyross.gundam.models.ms.gundams.RX782GundamMobileSuitModel. I have the mod stored on github: https://github.com/SpaceboyRoss01/MSGundamMod
  11. Yeah, I'm using version control. https://github.com/SpaceboyRoss01/MSGundamMod
  12. Now I can't even interact with the entity. So I can't fix the movement until I fix interaction handling, all of a sudden the interaction function stopped working.
  13. Common proxies are normal, they run in both client and server side. All of my mods use them to register items, blocks, event handlers, etc.
  14. @Kaelym I know why it's null, because the @GameRegistry.ObjectHolder value is probably different from what was set in the item's setRegistryName and setUnlocalizedName and/or you didn't register your item in your common proxy.
  15. Cancel the render player event, that's the start. You're going to have to access the shader code and write a shader in GLSL to render the player as transparent. Then you're going to have to apply the shader and render the player yourself don't forget to unbind the shader program when you're done.
  16. I have a problem similar to that only on chrome so I use Firefox but when I use Firefox, it says that I've got an adblocker when I've got no adblocker installed (I already checked).
  17. So I'm working on moving my Mobile Suit type entities over to a non-player based model design and I made the entity class for the Mobile Suits no longer extend EntityMob it now extends Entity and I had to rewrite the renderer but I'm not getting anything to render. The code I've attached is my rendering code. public static class MSRender extends Render<MSMob> { private MobileSuit ms; private ModelBase model; public MSRender(RenderManager rendermanagerIn,MobileSuit ms) { super(rendermanagerIn); this.model = ms.createModel() == null ? new ModelPlayer(1.0f,false) : ms.createModel(); this.model.isChild = false; this.ms = ms; } protected float handleRotationFloat(MSMob entity,float partialTicks) { return (float)entity.ticksExisted + partialTicks; } protected float interpolateRotation(float prevYawOffset,float yawOffset,float partialTicks) { float f; for(f = yawOffset-prevYawOffset;f < -180.0F;f += 360.0F); while(f >= 180.0F) f -= 360.0F; return prevYawOffset+partialTicks*f; } @Override public void doRender(MSMob entity,double x,double y,double z,float entityYaw,float partialTicks) { GlStateManager.pushMatrix(); this.scale(entity,partialTicks); GlStateManager.translate(x,y,z); GlStateManager.rotate(-entityYaw,0,1,0); this.getRenderManager().renderEngine.bindTexture(this.getEntityTexture(entity)); this.model.render(entity,0,0,entity.ticksExisted+partialTicks,entity.rotationYaw,entity.rotationPitch,entity.scale/0.0625F); super.doRender(entity,x,y,z,entityYaw,partialTicks); GlStateManager.popMatrix(); } protected void scale(MSMob mob,float par2) { this.shadowSize = mob.scale/2.0f; } @Override protected ResourceLocation getEntityTexture(MSMob entity) { return new ResourceLocation(this.ms.getBaseResourceLocation()+".png"); } public static class Factory implements IRenderFactory<MSMob> { private MobileSuit ms; public Factory(MobileSuit ms) { this.ms = ms; } @Override public Render<? super MSMob> createRenderFor(RenderManager manager) { return new MSRender(manager,this.ms); } } }
  18. I discovered that if I run setVelocity or move nothing happens. Does anyone know how to make the entity move because it's refusing to move?
  19. Its the same file. Eclipse wants me to rename the file when I rename it to get gradle to work and gradle wants me to rename the file when I rename it to get eclipse to work.
×
×
  • Create New...

Important Information

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