Fix entity rendering bug

This commit is contained in:
catfoolyou 2025-03-06 14:16:33 -05:00
parent 5c125b1bf4
commit eff54443ee
5 changed files with 32204 additions and 30961 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -5,7 +5,7 @@ import java.util.List;
public class ConfigConstants { public class ConfigConstants {
public static final String version = "25w10b"; public static final String version = "25w10c";
public static final String mainMenuString = "Eaglercraft " + version; public static final String mainMenuString = "Eaglercraft " + version;
public static final String forkMe = "https://git.zelz.net/catfoolyou/Project164"; public static final String forkMe = "https://git.zelz.net/catfoolyou/Project164";

View File

@ -269,7 +269,12 @@ public abstract class RendererLivingEntity extends Render
*/ */
protected void renderModel(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4, float par5, float par6, float par7) protected void renderModel(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4, float par5, float par6, float par7)
{ {
if(par1EntityLivingBase instanceof EntityPlayer){
this.bindTexture(par1EntityLivingBase); this.bindTexture(par1EntityLivingBase);
}
else {
this.bindEntityTexture(par1EntityLivingBase);
}
if (!par1EntityLivingBase.isInvisible()) if (!par1EntityLivingBase.isInvisible())
{ {