Jump to content

Can't get my mob's textures working.


Recommended Posts

I can't seem to get the textures to work in game. Can some please help me?

package com.bruhitspax.simplethings.entity.render;

import com.bruhitspax.simplethings.entity.EntityStalker;
import com.bruhitspax.simplethings.util.Reference;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelZombie;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.util.ResourceLocation;

public class RenderStalker extends  RenderLiving<EntityStalker> {
	public static final ResourceLocation TEXTURES = new ResourceLocation(Reference.MOD_ID + ":" + ":textures/entity/stalker.png");
	public RenderStalker(RenderManager manager) 
		super(manager, new ModelZombie(), 1.0F); 

	protected ResourceLocation getEntityTexture(EntityStalker entity) {
		return TEXTURES;
	protected void applyRotations(EntityStalker entityLiving, float p_77043_2_, float rotationYaw, float partialTicks) {
		super.applyRotations(entityLiving, p_77043_2_, rotationYaw, partialTicks);

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.