Jump to content

Recommended Posts

Posted

Im new minecraft modder,and i have problem with textures.I made block and added texture for block in assets/Experiment/textures/blocks/bestblockever .I ve tried to change type(png or jpg),to change names and other stuff.Idk what is problem.And reloaded eclipse

Why it doesnt see texture?

Main:




import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;

@Mod(modid = Main.MODID, name = Main.MODNAME, version = Main.VERSION)
public class Main {
           
	public static final CreativeTabs tabExperiment = new CreativeTabs("Experiment") {
		public Item getTabIconItem() {
			return Item.getItemFromBlock(Blocks.diamond_ore);
		}
	};
	
	
	
	public static final String MODID = "Experiment";
	public static final String MODNAME = "ExperimentName";
 	public static final String VERSION = "1.1.0";
 	
 	public static Block experimentBlock;


 	@EventHandler
 	public void preInit(FMLPreInitializationEvent event) {
 	 	experimentBlock = new ExperimentBlocks(Material.rock, "experimentBlock", "experimentBlock");
 	 	GameRegistry.registerBlock(experimentBlock, "experimentBlock");
 	}
 	
	
	
	
	
	
};

ExperimentBlock

package ua.laker.Experiment;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;

public class ExperimentBlocks extends Block {

	protected ExperimentBlocks(Material p_i45394_1_, String name, String texture) {
		super(p_i45394_1_);		
		// TODO Auto-generated constructor stub
		this.setBlockName(name);
		this.setBlockTextureName(Main.MODID+":"+texture);
		this.setHardness(2.0F);
		this.setHarvestLevel("pickaxe", 2);
		this.setCreativeTab(Main.tabExperiment);
		this.setResistance(10F);
		this.setLightLevel(40F);
		
		
	}

}
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN experiment
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]:   domain experiment is missing 1 texture
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]:     domain experiment is missing a resource manager - it is probably a side-effect of automatic texture processing
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain experiment are:
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/experimentBlock.png
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain experiment
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[21:13:42] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

thats crash log

Posted
  On 11/9/2019 at 8:10 PM, lakerbtw said:

textures/blocks/experimentBlock.png

Expand  

 

  On 11/9/2019 at 8:10 PM, lakerbtw said:

textures/blocks/bestblockever

Expand  

Threes aren't the same.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I would also suggest updating to a modern version.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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.