Jump to content

Texture error


Kasi800

Recommended Posts

The textures of the mod blocks do not load in the game, this is the code:

The json

{ "forge_marker": 1, "defaults": { "model": "cube_all", "textures": { "all": "mymod:blocks/awacate_block" } } }

ModBlocks

package com.example.examplemod;

import com.example.examplemod.awacate.AwacateBlock;

import net.minecraftforge.fml.common.registry.GameRegistry;

import net.minecraftforge.fml.relauncher.Side;

import net.minecraftforge.fml.relauncher.SideOnly;

public class ModBlocks { @GameRegistry.ObjectHolder("mymod:awacate_block")

public static AwacateBlock awacateBlock;

@SideOnly(Side.CLIENT) public static void initModels() { awacateBlock.initModel(); } }

 

What is the error?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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