Jump to content

[1.7.10] Dead rendering angles


Recommended Posts

I am working on my gun still and the bullet, which moves REALLY slow for exploration purposes, is having dead angles where it is not being rendered, if I move about or change my looking angle ever so slightly it will reappear where it would be after having moved and all, what could cause this?


package aerosteam.renderer.mob;

import org.lwjgl.opengl.GL11;

import aerosteam.AeroSteam;
import aerosteam.mobs.MobThief;
import aerosteam.model.mobs.ModelBullet;
import aerosteam.model.mobs.ModelThief;
import aerosteam.projectiles.ProjectileBullet;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.util.ResourceLocation;

public class RenderBullet extends Render {

private static final ResourceLocation texture = new ResourceLocation(AeroSteam.MODID + ":" + "textures/model/Bullet.png");

protected ModelBullet modelEntity;

public RenderBullet(ModelBase model, float f) {
	modelEntity=((ModelBullet) model);

public void doRender(Entity entity, double x, double y, double z, float u, float v){

		GL11.glRotatef(180, 0F, 0F, 1F);
protected ResourceLocation getEntityTexture(Entity p_110775_1_) {
	return texture;


this is the code I have


PS: I am noticing that the server position of the object and client positoin differ by the eyeheight of the player, could that affect it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

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