Jump to content

[1.7.10] ForgeGrandle - Meta Block Problem with Call Texture


ArcLie

Recommended Posts

Hi, I would need advise on calling texture block Meta ( 1 m id 0-15 sub ID (metadata ) )

 

I have examined several options but all ended in failure , you would advise me where you make mistakes ? According to various playthroughs on the net I have images stored at the correct ingredients but even so, they simply fail to call

 

There are 2 experiments

 

experiment 1

Block.class

package Valiant.BuildBalik;

import java.util.List;
import java.util.Random;

import Valiant.projectCode.AZcode;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class HDBlock1 extends Block
{
@SideOnly(Side.CLIENT)
    private IIcon[] icon;
public static final String[] SubName = new String[]					
		{
			"B001", "B002", "B003", "B004", "B005", "B006", "B007", "B008", "B009", "B010", "B011", "B012", "B013", "B014", "B015", "B016",
		};
protected HDBlock1(String unlocalizedName, Material material) 
{
	super(material);
    this.setBlockName(unlocalizedName);
    this.setCreativeTab(AZ.HDBlocks);
    this.setHardness(2.0F);
    this.setResistance(6.0F);
    this.setStepSound(soundTypeGravel);
}

    
    @Override
    public IIcon getIcon(int side, int meta)
    {       
        if (meta >= icon.length)
            meta = 0;
           
            return icon[meta];
    }   
       
    @Override
    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister reg)
    {
        icon = new IIcon[subName.length];
           
        for (int i = 0; i < icon.length; i++)
        {
            //icon[ i ] = reg.registerIcon(AZcode.MODID + ":" + SubName[i]);
            icon[1] = reg.registerIcon("Valiant:B001");
            icon[2] = reg.registerIcon(AZcode.MODID+":B002"); 
            icon[3] = reg.registerIcon("Valiant:" + SubName[3]); 
        }

    }

    @SideOnly(Side.CLIENT)																//parne 
    public void getSubBlocks(Item item, CreativeTabs CT, List list) { for(int i = 0; i < 16; i++) { list.add(new ItemStack(item, 1, i)); }} 

    public int damageDropped(int metaID) { return metaID; }

    public int quantityDropped(Random r) { return 1; }
    
    
}

MainClass

GameRegistry.registerBlock(HDBlock1 = new HDBlock1("metablock", Material.cloth), IHDBlock1.class, "metablock");

Nameblock

package Valiant.BuildBalik;

import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemBlockWithMetadata;
import net.minecraft.item.ItemStack;

public class IHDBlock1 extends ItemBlockWithMetadata {

public IHDBlock1(Block block) {

        super(block, block);
        setHasSubtypes(true);
    }	
@Override
public String getUnlocalizedName(ItemStack stack) {
    return this.getUnlocalizedName() + "_" + stack.getItemDamage();
}
}

 

 

Experiment 2

 

Main

	 	GM.registerBlock(HDBlock3 = new HDBlock3(), IHDBlock3.class,"CB3_3");

Name

package Valiant.BuildBalik;

import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;

public class IHDBlock3 extends ItemBlock{

public IHDBlock3(Block block) {

        super(block);
        setHasSubtypes(true);
    }	
@Override
    public String getUnlocalizedName(ItemStack itemStack) {

        String name;
        switch(itemStack.getItemDamage()) {

            case 0: name = "B033"; break;
            case 1: name = "B034"; break;
            case 2: name = "B035"; break;
            case 3: name = "B036"; break;
            case 4: name = "B037"; break;
            case 5: name = "B038"; break;
            case 6: name = "B039"; break;
            case 7: name = "B040"; break;
            case 8: name = "B041"; break;
            case 9: name = "B042"; break;
            case 10: name = "B043"; break;
            case 11: name = "B044"; break;
            case 12: name = "B045"; break;
            case 13: name = "B046"; break;
            case 14: name = "B047"; break;
            case 15: name = "B048"; break;
            
            
            default:
                name = "ERROR";
        }
        return getUnlocalizedName() + "." + name;
    }

 public int getMetadata(int meta) {  return meta; }

}

 

Blockclass

package Valiant.BuildBalik;

import java.util.List;
import java.util.Random;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class HDBlock3 extends Block
{
    @SideOnly(Side.CLIENT) protected IIcon[] IcoHDBlock;
    @SideOnly(Side.CLIENT) protected IIcon getSideIcon(int ID) { return this.IcoHDBlock[iD % this.IcoHDBlock.length]; }
    
public static final String[] IcoReg = new String[]//				     plank ->|<- planks			
{
	"B033", "B034", "B035", "B036", "B037", "B038", "B039", "B040", "B041", "B042", "B043", "B044", "B045", "B046", "B047", "B048"
};
    public HDBlock3() {
    	super(Material.rock);
        this.setCreativeTab(AZ.HDBlocks);
        this.setBlockName("Block");
       // GameRegistry.registerBlock(this,  IBValPlank.class, "X");
        this.setResistance(50.0F);
        this.setHardness(1.0f);
}
    
    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister IicoReg)
    {
        this.IcoHDBlock = new IIcon[icoReg.length]; 
        for (int i = 0; i < this.IcoHDBlock.length; ++i) { this.IcoHDBlock[i] = IicoReg.registerIcon(IcoReg[i]); }
    }
    
    @SideOnly(Side.CLIENT)
    public IIcon getIcon(int ID, int meta) { return this.getSideIcon(meta); }
    
    @SideOnly(Side.CLIENT)																//parne 
    public void getSubBlocks(Item item, CreativeTabs CT, List list) { for(int i = 0; i < 16; i++) { list.add(new ItemStack(item, 1, i)); }} 

    public int damageDropped(int metaID) { return metaID; }

    public int quantityDropped(Random r) { return 1; }

   
}

 

THIS IS ERROR REPORT

 

[22:57:17] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:57:17] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:57:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[22:57:18] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[22:57:18] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_80, running on Windows 8.1:x86:6.3, installed at C:\Program Files\Java\jre7
[22:57:18] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[22:57:18] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:57:18] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:57:18] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:57:18] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:57:18] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:57:19] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[22:57:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:57:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:57:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[22:57:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[22:57:25] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:57:37] [main/INFO]: Setting user: Player718
[22:57:51] [Client thread/INFO]: LWJGL Version: 2.9.1
[22:57:56] [Client thread/INFO] [sTDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// But it works on my machine.

Time: 15.2.16 22:57
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.7.0_80, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation
Memory: 24997752 bytes (23 MB) / 61763584 bytes (58 MB) up to 259522560 bytes (247 MB)
JVM Flags: 0 total; 
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: 
GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.2413' Renderer: 'Mobile Intel(R) 4 Series Express Chipset Family'
[22:57:56] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[22:57:56] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
[22:57:56] [Client thread/INFO] [FML]: Replaced 183 ore recipies
[22:57:58] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[22:57:59] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[22:57:59] [Client thread/INFO] [FML]: Searching C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\mods for mods
[22:58:40] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[22:58:49] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Valiant] at CLIENT
[22:58:49] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Valiant] at SERVER
[22:58:50] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Valiant
[22:58:50] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: Valiant/ in C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:50] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: Valiant/ in C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:50] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: Valiant/ in C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:50] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[22:58:50] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[22:58:50] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[22:58:50] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[22:58:51] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[22:58:51] [Client thread/INFO] [FML]: Applying holder lookups
[22:58:51] [Client thread/INFO] [FML]: Holder lookups applied
[22:58:51] [Client thread/INFO] [FML]: Injecting itemstacks
[22:58:51] [Client thread/INFO] [FML]: Itemstack injection complete
[22:58:51] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:58:51] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[22:58:51] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[22:58:51] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:58:52] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[22:58:52] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:58:52] [sound Library Loader/INFO]: Sound engine started
[22:58:52] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[22:58:52] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[22:58:52] [Client thread/INFO] [FML]: Injecting itemstacks
[22:58:52] [Client thread/INFO] [FML]: Itemstack injection complete
[22:58:52] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[22:58:52] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Valiant
[22:58:52] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: Valiant/ in C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:52] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: Valiant/ in C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:52] [Client thread/WARN]: ResourcePack: ignored non-lowercase namespace: Valiant/ in C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:54] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[22:58:56] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[22:58:56] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:58:56] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[22:58:56] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[22:58:56] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:58:56] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:58:56] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[22:58:56] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[22:58:56] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[22:58:57] [Thread-10/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[22:58:57] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:58:57] [sound Library Loader/INFO]: Sound engine started
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN minecraft
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:   domain minecraft is missing 98 textures
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:     domain minecraft has 4 locations:
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       mod FML resources at C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       mod Forge resources at C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       mod Valiant resources at C:\Users\Leslie\Desktop\MCP JADRO\eclipse\Client\bin
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain minecraft are:
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockTopaz.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B045.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockCobalt.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/crimtane.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockSilver.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/SilverBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B039.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/ruby_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/IceBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/HighOrangeBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/cobalt_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/tungsten.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/demonite_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/BedrockBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/gold.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B035.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/emerald_esence.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/palladium_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/MeteorBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/crimtane_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B034.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/orichalcum_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/cobalt_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/amethyst_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/AmethistBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/tungsten_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B036.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/BlackBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/KeramicBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/palladium.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/AdamantiteBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/orichalcum_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/sapphire_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/meteorite_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/tungsten_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B038.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/mythril_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/palladium_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/obsidian_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/ObsidianBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockAdamantite.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockAmethist.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B040.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B046.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/platinum_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B044.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/cobalt.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B041.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/hellstone.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/silver.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/copper.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockMythril.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/mythril_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B043.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B033.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/copper_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockRubyn.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockDemon.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/tin_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/silver_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/MithrilBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/copper_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/obsidian.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/CooperBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/adamantite_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockSaphir.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/platinum_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B037.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B048.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/obsidian_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/crimtane_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/adamantite_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/mythril.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/demonite_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/ruby_esence.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/DemonBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockCopper.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/sapphire.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/orichalcum.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/diamond_esence.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/iron.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/adamantite.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B047.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/CobaltBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/silver_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockHell.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/platinum.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/topaz_ore.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/HellStoneBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B042.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/topaz_esence.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/amethyst_esence.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/tin_ingot.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/tin.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/demonite.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/amethyst.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/sapphire_esence.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/IronBrick.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain minecraft
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN valiant
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:   domain valiant is missing 3 textures
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:     domain valiant is missing a resource manager - it is probably a side-effect of automatic texture processing
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain valiant are:
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B004.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B001.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/B002.png
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain valiant
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[22:59:13] [Client thread/INFO]: Stopping!
[22:59:13] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:59:13] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[22:59:13] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[22:59:13] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 

Can you help me with this problem please?  :-[

Link to comment
Share on other sites

    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister IicoReg)
    {
        this.IcoHDBlock = new IIcon[icoReg.length];
        for (int i = 0; i < this.IcoHDBlock.length; ++i) { this.IcoHDBlock[i] = IicoReg.registerIcon(IcoReg[i]); }
    }

 

You forgot your mod ID in your registerBlockIcons method.

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.

Link to comment
Share on other sites

    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister IicoReg)
    {
        this.IcoHDBlock = new IIcon[icoReg.length];
        for (int i = 0; i < this.IcoHDBlock.length; ++i) { this.IcoHDBlock[i] = IicoReg.registerIcon(IcoReg[i]); }
    }

 

You forgot your mod ID in your registerBlockIcons method.

 

but on this experiment 1 too doesn't work.

 @Override
    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister reg)
    {
        icon = new IIcon[subName.length];
           
        for (int i = 0; i < icon.length; i++)
        {
            //icon[ i ] = reg.registerIcon(AZcode.MODID + ":" + SubName[i]);
            icon[1] = reg.registerIcon("Valiant:B001");
            icon[2] = reg.registerIcon(AZcode.MODID+":B002");
            icon[3] = reg.registerIcon("Valiant:" + SubName[3]);
        }

    }

 

And here is MODID respectively ( AZcode.MODID + ....  And also it doesn't work

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:  DOMAIN valiant

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:  domain valiant is missing 3 textures

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:    domain valiant is missing a resource manager - it is probably a side-effect of automatic texture processing

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:    The missing resources for domain valiant are:

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:      textures/blocks/B004.png

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:      textures/blocks/B001.png

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:      textures/blocks/B002.png

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]:    No other errors exist for domain valiant

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================

[22:58:57] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

 

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.

Guest
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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi guys! I am having some issues with the server crashing over and over and I was hoping to get some guidance.  Thanks in advance! Crash 1: java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.00 seconds (should be max 0.05)     at net.minecraft.server.dedicated.ServerWatchdog.run(ServerWatchdog.java:43) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:classloading}     at java.lang.Thread.run(Thread.java:840) ~[?:?] { Crash 2: java.lang.IllegalStateException: Capability missing for eeb7f026-34b4-42f5-9164-e7736461df83     at me.lucko.luckperms.forge.capabilities.UserCapabilityImpl.lambda$get$0(UserCapabilityImpl.java:66) ~[?:?] {re:classloading,re:classloading,re:classloading}     at net.minecraftforge.common.util.LazyOptional.orElseThrow(LazyOptional.java:261) ~[forge-1.20.1-47.3.10-universal.jar%23222!/:?] {re:mixin,re:classloading}     at me.lucko.luckperms.forge.capabilities.UserCapabilityImpl.get(UserCapabilityImpl.java:66) ~[?:?] {re:classloading,re:classloading,re:classloading}     at me.lucko.luckperms.forge.util.BrigadierInjector$InjectedPermissionRequirement.test(BrigadierInjector.java:143) ~[?:?] {}     at me.lucko.luckperms.forge.util.BrigadierInjector$InjectedPermissionRequirement.test(BrigadierInjector.java:129) ~[?:?] {}     at com.mojang.brigadier.tree.CommandNode.canUse(CommandNode.java:65) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parseNodes(CommandDispatcher.java:359) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parse(CommandDispatcher.java:349) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parse(CommandDispatcher.java:317) ~[brigadier-1.1.8.jar%2376!/:?] {}     at net.minecraft.commands.Commands.m_230957_(Commands.java:237) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:classloading}     at net.mcreator.boh.procedures.TeleportbenProcedure.lambda$execute$2(TeleportbenProcedure.java:65) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at net.mcreator.boh.BohMod.lambda$tick$2(BohMod.java:96) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] {re:mixin}     at net.mcreator.boh.BohMod.tick(BohMod.java:96) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at net.mcreator.boh.__BohMod_tick_ServerTickEvent.invoke(.dynamic) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading,pl:eventbus:B}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.event.ForgeEventFactory.onPostServerTick(ForgeEventFactory.java:950) ~[forge-1.20.1-47.3.10-universal.jar%23222!/:?] {re:classloading}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:835) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at java.lang.Thread.run(Thread.java:840) ~[?:?] {}
    • Hello there! I am trying to make custom dimensions for a modpack I am making in an older minecraft version, 1.16.5. I like that version and it has a few other mods that have not been updated that I would still like to use. Anyway, I am having a terrible time with getting my dimension to work and have tried using code from other peoples projects to at least figure out what I'm supposed to be doing but it has not been as helpful as I would have liked. If anyone could help that would be greatly appreciated! Here is my github with all the code as I am using it: https://github.com/BladeColdsteel/InvigoratedDimensionsMod I have also included the last log, https://pastebin.com/zX9vsDSq, I had when I tried to load up a world, let me know if there is anything else I should send though, thank you!
    • Whether you are a fan of Hypixel Bedwars, SkyWars and PvP gamemodes like that, well you would enjoy this server! We have a very fun and unique style of PvP that a lot of our players really enjoy and we want to bring this server to more players like you! Yes you reading this post haha. Introducing, the Minezone Network, home of SUPER CRAFT BLOCKS. We've been working on this server for over 4 years now. Here is what we have to offer: SUPER CRAFT BLOCKS: This has 3 different gamemodes you can play, Classic, Duels and Frenzy. Each mode offers over 60 kits to choose from, along with a total of over 60 maps, allowing for various different playstyles on each map. There are also random powerups that spawn on the map which can include Health Pots, Bazookas, Nukes, Extra Lives and way way more! There is also double jump in this gamemode as well, which makes PvP a lot more fun & unique. You only need a minimum of 2 players to start any mode! Classic: Choose a kit, 5 lives for each player, fight it out and claim the #1 spot! Look out for lightning as they can spawn powerups to really give you an advantage in the game! Duels: Fight against another random player or one of your friends and see who is the best! Frenzy: Your kit is randomly selected for you, each life you will have a different kit. You can fight with up to 100 players in this mode and lets see who will be the best out of that 100! All the other stuff from Classic/Duels apply to this mode as well like powerups. We have 2 ranks on this server too, VIP and CAPTAIN which has a bunch of different perks for SCB and other things like Cosmetics and more.   SERVER IP: If this server has caught your interest in any way, please consider joining and you will NOT regret it! Bring some of your friends online for an even better experience and join in on the fun at: IP: minezone.club Hope to see you online!   SERVER TRAILER: https://www.youtube.com/watch?v=0phpMgu1mH0
    • The mod give new blocks  
  • Topics

×
×
  • Create New...

Important Information

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