NaturesAura/src/main/java/de/ellpeck/naturesaura/entities/render/RenderStub.java

25 lines
831 B
Java
Raw Normal View History

2020-04-27 18:30:44 +02:00
package de.ellpeck.naturesaura.entities.render;
2020-09-22 03:17:02 +02:00
import net.minecraft.client.renderer.culling.ClippingHelper;
2020-04-27 18:30:44 +02:00
import net.minecraft.client.renderer.entity.EntityRenderer;
import net.minecraft.client.renderer.entity.EntityRendererManager;
import net.minecraft.client.renderer.texture.AtlasTexture;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;
public class RenderStub extends EntityRenderer<Entity> {
public RenderStub(EntityRendererManager renderManager) {
super(renderManager);
}
@Override
2020-09-22 03:17:02 +02:00
public boolean shouldRender(Entity livingEntityIn, ClippingHelper camera, double camX, double camY, double camZ) {
2020-04-27 18:30:44 +02:00
return false;
}
@Override
public ResourceLocation getEntityTexture(Entity entity) {
return AtlasTexture.LOCATION_BLOCKS_TEXTURE;
}
}