Java Code Examples for net.minecraft.client.renderer.texture.TextureMap#LOCATION_BLOCKS_TEXTURE

The following examples show how to use net.minecraft.client.renderer.texture.TextureMap#LOCATION_BLOCKS_TEXTURE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RenderFallTofu.java    From TofuCraftReload with MIT License 4 votes vote down vote up
/**
 * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.
 */
protected ResourceLocation getEntityTexture(EntityFallTofu entity) {
    return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 2
Source File: BaseVehicleRender.java    From CommunityMod with GNU Lesser General Public License v2.1 4 votes vote down vote up
@Override
protected ResourceLocation getEntityTexture(BaseVehicleEntity entity) {
	return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 3
Source File: RenderSphere.java    From YouTubeModdingTutorial with MIT License 4 votes vote down vote up
@Override
protected ResourceLocation getEntityTexture(EntitySphere entity) {
    return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 4
Source File: PhysicsWrapperEntityRenderer.java    From Valkyrien-Skies with Apache License 2.0 4 votes vote down vote up
@Override
protected ResourceLocation getEntityTexture(PhysicsWrapperEntity entity) {
    return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 5
Source File: RenderEntityThrownItem.java    From Production-Line with MIT License 4 votes vote down vote up
/**
 * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.
 */
protected ResourceLocation getEntityTexture(T entity) {
    return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 6
Source File: RendererItem.java    From AdvancedRocketry with MIT License 4 votes vote down vote up
@Override
protected ResourceLocation getEntityTexture(EntityItemAbducted entity) {
	return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 7
Source File: RenderEntityEnderPearl.java    From enderutilities with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
protected ResourceLocation getEntityTexture(EntityEnderPearlReusable entity)
{
    return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 8
Source File: RenderFallingBlockEU.java    From enderutilities with GNU Lesser General Public License v3.0 4 votes vote down vote up
@Override
protected ResourceLocation getEntityTexture(EntityFallingBlockEU entity)
{
    return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 9
Source File: RenderPrimedCharge.java    From EnderZoo with Creative Commons Zero v1.0 Universal 4 votes vote down vote up
@Override
protected ResourceLocation getEntityTexture(EntityPrimedCharge p_110775_1_) {
  return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 10
Source File: EntityBlockRenderer.java    From OpenModsLib with MIT License 4 votes vote down vote up
@Override
protected ResourceLocation getEntityTexture(EntityBlock entity) {
	return TextureMap.LOCATION_BLOCKS_TEXTURE;
}
 
Example 11
Source File: GuiComponentSprite.java    From OpenModsLib with MIT License 4 votes vote down vote up
public static Icon adaptSprite(TextureAtlasSprite icon) {
	return new Icon(TextureMap.LOCATION_BLOCKS_TEXTURE, icon.getMinU(), icon.getMaxU(), icon.getMinV(), icon.getMaxV(), icon.getIconWidth(), icon.getIconHeight());
}