Jump to content

Recommended Posts

Posted (edited)

Hi I'm having a issue with my block that is using forge:multi-layer. The issue is that when I'm in game the block renders 100% correct in the inventory but if i place the block down it just shows the Black and Purple block

I have checked the the console and there is no errors. 

 

Blocks

Spoiler

package tamanor.collectorsmod.init;

import java.util.ArrayList;
import java.util.List;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.registry.GameRegistry;
import tamanor.collectorsmod.objects.blocks.BlockBase;
import tamanor.collectorsmod.util.Strings;

public class TF_Blocks 
{
	public static final List<Block> Blocks = new ArrayList<Block>();
	
	public static final Block FIG_BOX = new BlockBase("fig_box", Material.WOOD);


}

 

 

Block Base

Spoiler
Quote

package tamanor.collectorsmod.objects.blocks;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.util.BlockRenderLayer;
import tamanor.collectorsmod.init.TF_Blocks;
import tamanor.collectorsmod.objects.items.TF_Items;
import tamanor.collectorsmod.util.IHasModel;
import tamanor.tinyfigs.Main;

public class BlockBase extends Block implements IHasModel
{
    public BlockBase(String name, Material material)
    {
        super(material);
        setUnlocalizedName(name);
        setRegistryName(name);
        setCreativeTab(CreativeTabs.BUILDING_BLOCKS);
        TF_Blocks.Blocks.add(this);
        TF_Items.Items.add(new ItemBlock(this).setRegistryName(this.getRegistryName()));
    }

    @Override
    public void registerModels() 
    {
        Main.proxy.registerItemRenderer(Item.getItemFromBlock(this), 0, "inventory");
    }
    
    @Override
    public boolean isOpaqueCube(IBlockState state) {
        
        return this.isFullCube(state);
    }
    @Override
    public boolean isFullCube(IBlockState state) {
        
        return (!this.blockMaterial.isSolid() ||
                !this.blockMaterial.blocksLight() ||
                !this.blockMaterial.isOpaque()) ? false : true;
    }
     
    @Override
    public boolean canRenderInLayer(IBlockState state,
            BlockRenderLayer layer) {
        
        return (layer == BlockRenderLayer.CUTOUT ||
                layer == BlockRenderLayer.TRANSLUCENT);
    }
    
}
 

 

 

fig_box.json - blockstates folder

Spoiler
Quote

{
    "forge_marker": 1,
    "defaults": {
        "model": "forge:multi-layer",
        "custom": {
            "base": "tf:fig_box#base",
            "Mipped Cutout": "tf:fig_box#base",
            "Translucent": "tf:fig_box#trans"
        },
        "transform": "forge:default-block"
    },
    "variants": {
        "normal": [{}],
        "inventory": [{}],
        "base": [{
            "model": "tf:tamanor/fig_box"
        }],
        "trans": [{
            "model": "tf:tamanor/fig_tama"
        }]
    }
}

 

 

fig_tama.json - models folder

Spoiler
Quote

{
    "__comment": "Designed by Tamanor with Cubik Studio - https://cubik.studio",
    "textures": {
        "Tiny_Fig": "tf:blocks/fig_tama",
        "particle": "tf:blocks/fig_tama"
    },
    "elements": [      
        {
            "__comment": "Leg_Right",
            "from": [ 8.012199, 0.1136, 7.7089 ],
            "to": [ 8.5722, 1.7936, 8.2689 ],
            "faces": {
                "down": { "uv": [ 6, 12, 7, 13 ], "texture": "#Tiny_Fig", "cullface": "down" },
                "up": { "uv": [ 5, 12, 6, 13 ], "texture": "#Tiny_Fig", "cullface": "up" },
                "north": { "uv": [ 5, 13, 6, 16 ], "texture": "#Tiny_Fig", "cullface": "north" },
                "south": { "uv": [ 7, 13, 8, 16 ], "texture": "#Tiny_Fig", "cullface": "south" },
                "west": { "uv": [ 6, 13, 7, 16 ], "texture": "#Tiny_Fig", "cullface": "west" },
                "east": { "uv": [ 4, 13, 5, 16 ], "texture": "#Tiny_Fig", "cullface": "east" }
            }
        },
        {
            "__comment": "Arm_Left",
            "from": [ 7.0322, 1.7936, 7.7089 ],
            "to": [ 7.4522, 3.4736, 8.2689 ],
            "faces": {
                "down": { "uv": [ 9.75, 12, 10.5, 13 ], "texture": "#Tiny_Fig", "cullface": "down" },
                "up": { "uv": [ 9, 12, 9.75, 13 ], "texture": "#Tiny_Fig", "cullface": "up" },
                "north": { "uv": [ 9, 13, 9.75, 16 ], "texture": "#Tiny_Fig", "cullface": "north" },
                "south": { "uv": [ 10.75, 13, 11.5, 16 ], "texture": "#Tiny_Fig", "cullface": "south" },
                "west": { "uv": [ 9.75, 13, 10.75, 16 ], "texture": "#Tiny_Fig", "cullface": "west" },
                "east": { "uv": [ 8, 13, 9, 16 ], "texture": "#Tiny_Fig", "cullface": "east" }
            }
        },
        {
            "__comment": "Arm_Right",
            "from": [ 8.5722, 1.7936, 7.7089 ],
            "to": [ 8.9922, 3.4736, 8.2689 ],
            "faces": {
                "down": { "uv": [ 11.75, 4, 12.5, 5 ], "texture": "#Tiny_Fig", "cullface": "down" },
                "up": { "uv": [ 11, 4, 11.75, 5 ], "texture": "#Tiny_Fig", "cullface": "up" },
                "north": { "uv": [ 11, 5, 11.75, 8 ], "texture": "#Tiny_Fig", "cullface": "north" },
                "south": { "uv": [ 12.75, 5, 13.5, 8 ], "texture": "#Tiny_Fig", "cullface": "south" },
                "west": { "uv": [ 11.75, 5, 12.75, 8 ], "texture": "#Tiny_Fig", "cullface": "west" },
                "east": { "uv": [ 10, 5, 11, 8 ], "texture": "#Tiny_Fig", "cullface": "east" }
            }
        },
        {
            "__comment": "Head",
            "from": [ 6.2622, 3.5156, 6.3789 ],
            "to": [ 9.6222, 6.8756, 9.738899 ],
            "faces": {
                "down": { "uv": [ 4, 0, 6, 2 ], "texture": "#Tiny_Fig", "cullface": "down" },
                "up": { "uv": [ 2, 0, 4, 2 ], "texture": "#Tiny_Fig", "cullface": "up" },
                "north": { "uv": [ 2, 2, 4, 4 ], "texture": "#Tiny_Fig", "cullface": "north" },
                "south": { "uv": [ 6, 2, 8, 4 ], "texture": "#Tiny_Fig", "cullface": "south" },
                "west": { "uv": [ 4, 2, 6, 4 ], "texture": "#Tiny_Fig", "cullface": "west" },
                "east": { "uv": [ 0, 2, 2, 4 ], "texture": "#Tiny_Fig", "cullface": "east" }
            }
        },
        {
            "__comment": "Body",
            "from": [ 7.4522, 1.7936, 7.7089 ],
            "to": [ 8.57224201, 3.4736, 8.2342689 ],
            "faces": {
                "down": { "uv": [ 7, 4, 9, 5 ], "texture": "#Tiny_Fig", "cullface": "down" },
                "up": { "uv": [ 5, 5, 7, 4 ], "texture": "#Tiny_Fig", "cullface": "up" },
                "north": { "uv": [ 5, 5, 7, 8 ], "texture": "#Tiny_Fig", "cullface": "north" },
                "south": { "uv": [ 8, 5, 10, 8 ], "texture": "#Tiny_Fig", "cullface": "south" },
                "west": { "uv": [ 7, 5, 8, 8 ], "texture": "#Tiny_Fig", "cullface": "west" },
                "east": { "uv": [ 4, 5, 5, 8 ], "texture": "#Tiny_Fig", "cullface": "east" }
            }
        },
        {
            "__comment": "Leg_Left",
            "from": [ 7.4522, 0.1136, 7.7089 ],
            "to": [ 8.012123499, 1.7923436, 8.2689 ],
            "faces": {
                "down": { "uv": [ 6, 12, 7, 13 ], "texture": "#Tiny_Fig", "cullface": "down" },
                "up": { "uv": [ 5, 12, 6, 13 ], "texture": "#Tiny_Fig", "cullface": "up" },
                "north": { "uv": [ 5, 13, 6, 16 ], "texture": "#Tiny_Fig", "cullface": "north" },
                "south": { "uv": [ 7, 13, 8, 16 ], "texture": "#Tiny_Fig", "cullface": "south" },
                "west": { "uv": [ 6, 13, 7, 16 ], "texture": "#Tiny_Fig", "cullface": "west" },
                "east": { "uv": [ 4, 13, 5, 16 ], "texture": "#Tiny_Fig", "cullface": "east" }
            }
        },
        {
            "__comment": "Hat_Right",
            "from": [ 9.835, 3.3326, 6.15 ],
            "to": [ 9.836, 7.1294, 9.9468 ],
            "faces": {
                "east": { "uv": [ 8, 2, 210, 4 ], "texture": "#Tiny_Fig", "cullface": "east" }
            }
        },
        {
            "__comment": "Hat_Left",
            "from": [ 6.036, 3.3326, 6.15 ],
            "to": [ 6.023437, 7.1294, 9.9468 ],
            "faces": {
                "west": { "uv": [ 12, 2, 14, 4 ], "texture": "#Tiny_Fig", "cullface": "west" }
            }
        },
        {
            "__comment": "Hat_Back",
            "from": [ 6.0363, 3.3326, 9.948999 ],
            "to": [ 9.833234099, 7.1294, 9.95 ],
            "faces": {
                "south": { "uv": [ 14, 2, 16, 4 ], "texture": "#Tiny_Fig", "cullface": "south" }
            }
        },
        {
            "__comment": "Hat_Top",
            "from": [ 6.0363, 7.13, 6.15 ],
            "to": [ 9.833023499, 7.131, 9.9468 ],
            "faces": {
                "up": { "uv": [ 10, 0, 12, 2 ], "texture": "#Tiny_Fig", "cullface": "up", "rotation": 180 }
            }
        },
        {
            "__comment": "Hat_Bottom",
            "from": [ 6.0363, 3.33, 6.15 ],
            "to": [ 9.833234099, 3.331, 9.9468 ],
            "faces": {
                "down": { "uv": [ 12, 0, 14, 2 ], "texture": "#Tiny_Fig", "cullface": "down" }
            }
        },
        {
            "__comment": "Hat_Front",
            "from": [ 6.0363, 3.3326, 6.15 ],
            "to": [ 9.833023499, 7.1294, 6.151 ],
            "faces": {
                "north": { "uv": [ 10, 2, 12, 4 ], "texture": "#Tiny_Fig", "cullface": "north" },
                "south": { "uv": [ 10, 2, 12, 4 ], "texture": "#Tiny_Fig", "cullface": "south" }
            }
        }
    ],
    "display": {
        "thirdperson_righthand": {
            "rotation":  [ 68, 0, 0 ],
            "translation":  [ 11.5, 1.5, 6.5 ]
        },
        "gui": {
            "translation":  [ 0, 6, 0 ],
            "scale":  [ 1.5, 1.5, 1.5 ]
        },
        "ground": {
            "translation":  [ 0, 7.5, 0 ],
            "scale":  [ 3.5, 3.5, 3.5 ]
        }
    }
}

 

 

fig_box.json  - models folder

Spoiler
Quote

{
    "__comment": "Designed by Tamanor with Cubik Studio - https://cubik.studio",
    "textures": {
        "particle": "tf:blocks/fig_box",
        "box": "tf:blocks/fig_box"
    },
    "elements": [      
        {
            "__comment": "Box_Bottom",
            "from": [ 2345, 0, 26 ],
            "to": [ 12341, 0.1, 10 ],
            "faces": {
                "down": { "uv": [ 5, 6, 8, 8 ], "texture": "#box", "cullface": "down" },
                "up": { "uv": [ 5, 6, 8, 8 ], "texture": "#box", "cullface": "up" },
                "north": { "uv": [ 5, 6.5, 8, 7 ], "texture": "#box", "cullface": "north" },
                "south": { "uv": [ 5, 6.5, 8, 7 ], "texture": "#box", "cullface": "south" },
                "west": { "uv": [ 5, 6.5, 8, 7 ], "texture": "#box", "cullface": "west" },
                "east": { "uv": [ 5, 6.5, 8, 7 ], "texture": "#box", "cullface": "east" }
            }
        },
        {
            "__comment": "Box_Back",
            "from": [ 235, 0.09999999, 10 ],
            "to": [ 112, 8, 10.001 ],
            "faces": {
                "north": { "uv": [ 0.5, 2, 3.5, 6 ], "texture": "#box", "cullface": "north" },
                "south": { "uv": [ 0.5, 2, 3.5, 6 ], "texture": "#box", "cullface": "south" }
            }
        },
        {
            "__comment": "Box_Top",
            "from": [ 235, 8, 6 ],
            "to": [ 211, 8.001, 10 ],
            "faces": {
                "down": { "uv": [ 5, 0, 8, 2 ], "texture": "#box" },
                "up": { "uv": [ 5, 2, 8, 0 ], "texture": "#box" },
                "north": { "uv": [ 0, 0, 6, 0 ], "texture": "#box" },
                "south": { "uv": [ 0, 0, 6, 0 ], "texture": "#box" },
                "west": { "uv": [ 0, 0, 4, 0 ], "texture": "#box" },
                "east": { "uv": [ 0, 0, 4, 0 ], "texture": "#box" }
            }
        },
        {
            "__comment": "Box_Side_Right",
            "from": [ 121, 0.209999999, 6 ],
            "to": [ 11.001, 8, 10 ],
            "faces": {
                "west": { "uv": [ 5, 2, 3, 6 ], "texture": "#box", "cullface": "west" },
                "east": { "uv": [ 3, 2, 5, 6 ], "texture": "#box", "cullface": "east" }
            }
        },
        {
            "__comment": "Box_Side_Left",
            "from": [ 5, 0.209999999, 6 ],
            "to": [ 5.001, 8, 10 ],
            "faces": {
                "west": { "uv": [ 8, 2, 10, 6 ], "texture": "#box", "cullface": "west" },
                "east": { "uv": [ 10, 2, 8, 6 ], "texture": "#box", "cullface": "east" }
            }
        },
        {
            "__comment": "Box_Front",
            "from": [ 5, 0.0999923999, 6 ],
            "to": [ 11, 8, 6.001 ],
            "faces": {
                "north": { "uv": [ 5, 2, 7.96875, 5.993567 ], "texture": "#box", "cullface": "north" },
                "south": { "uv": [ 5, 2, 8.03125, 5.9625 ], "texture": "#box", "cullface": "south" }
            }
        }
    ],
    "display": {
        "thirdperson_righthand": {
            "rotation":  [ 68, 0, 0 ],
            "translation":  [ 11.5, 1.5, 6.5 ]
        },
        "gui": {
            "translation":  [ 0, 6, 0 ],
            "scale":  [ 1.5, 1.5, 1.5 ]
        },
        "ground": {
            "translation":  [ 0, 7.5, 0 ],
            "scale":  [ 3.5, 3.5, 3.5 ]
        }
    }
}

 

texture names

fig_box

fig_tama

Edited by tamanor
fig_box.json edit
Posted

There should be a warning about missing block state or texture in your console. Can you post that?

 

Generally, in your inventory it only looks at the inventory state and processes the model for that, but your actual block might have multiple other states and something is probably wrong in your block state file or your model file or your associated texture. Usually just a typo or mal-formed JSON.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted

You should always run your JSON files through a JSON validator since the Java IDE doesn't really flag errors (although there are probably JSON editor plugins for that). So I always put it through a web-based validator. It is really easy to miss a comma or bracket in a JSON and have it messed up.

 

I put your fig_box.json JSON file through a validator (https://jsonlint.com/) and it has an error:

 

Error: Parse error on line 10:
..., 26],			"to": [1 2341, 0.1, 10],			"
----------------------^
Expecting 'EOF', '}', ',', ']', got 'NUMBER'

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted
7 minutes ago, jabelar said:

You should always run your JSON files through a JSON validator since the Java IDE doesn't really flag errors (although there are probably JSON editor plugins for that). So I always put it through a web-based validator. It is really easy to miss a comma or bracket in a JSON and have it messed up.

 

I put your fig_box.json JSON file through a validator (https://jsonlint.com/) and it has an error:

 


Error: Parse error on line 10:
..., 26],			"to": [1 2341, 0.1, 10],			"
----------------------^
Expecting 'EOF', '}', ',', ']', got 'NUMBER'

Hi I will take that Json validator now, But as for the Console i could not see any errors but ill post it for you

 

Console

Spoiler
Quote

2018-10-06 20:49:23,335 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-10-06 20:49:23,342 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[20:49:23] [main/INFO] [GradleStart]: Extra: []
[20:49:23] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/tamaw/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[20:49:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[20:49:23] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[20:49:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[20:49:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[20:49:23] [main/INFO] [FML]: Forge Mod Loader version 14.23.1.2578 for Minecraft 1.12.2 loading
[20:49:23] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_181, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_181
[20:49:23] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[20:49:23] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[20:49:23] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[20:49:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[20:49:23] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[20:49:23] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[20:49:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:49:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[20:49:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[20:49:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:49:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[20:49:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
2018-10-06 20:49:24,496 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-10-06 20:49:25,083 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2018-10-06 20:49:25,085 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[20:49:27] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[20:49:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[20:49:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[20:49:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[20:49:27] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[20:49:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[20:49:27] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[20:49:29] [main/INFO]: Setting user: Player649
[20:49:36] [main/WARN]: Skipping bad option: lastServer:
[20:49:36] [main/INFO]: LWJGL Version: 2.9.4
[20:49:38] [main/INFO] [FML]: -- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_181, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 802048840 bytes (764 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 411.63' Renderer: 'GeForce GTX 1070/PCIe/SSE2'
[20:49:38] [main/INFO] [FML]: MinecraftForge v14.23.1.2578 Initialized
[20:49:38] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[20:49:38] [main/INFO] [FML]: Replaced 1036 ore ingredients
[20:49:38] [main/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[20:49:38] [main/INFO] [FML]: Searching G:\MineCraft Modding\1.12\1.12.2\Collectors\run\mods for mods
[20:49:39] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[20:49:39] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, tf] at CLIENT
[20:49:39] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, tf] at SERVER
[20:49:40] [main/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Tiny Figs Mod
[20:49:40] [main/INFO] [FML]: Processing ObjectHolder annotations
[20:49:40] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[20:49:40] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[20:49:40] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[20:49:40] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[20:49:40] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[20:49:40] [main/INFO] [FML]: Applying holder lookups
[20:49:40] [main/INFO] [FML]: Holder lookups applied
[20:49:40] [main/INFO] [FML]: Applying holder lookups
[20:49:40] [main/INFO] [FML]: Holder lookups applied
[20:49:40] [main/INFO] [FML]: Applying holder lookups
[20:49:40] [main/INFO] [FML]: Holder lookups applied
[20:49:40] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 132036792 nanos
[20:49:40] [main/INFO] [FML]: OBJLoader: Domain tf has been added.
[20:49:40] [main/INFO] [FML]: Applying holder lookups
[20:49:40] [main/INFO] [FML]: Holder lookups applied
[20:49:40] [main/INFO] [FML]: Injecting itemstacks
[20:49:40] [main/INFO] [FML]: Itemstack injection complete
[20:49:41] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: OUTDATED Target: 14.23.5.2768
[20:49:53] [Sound Library Loader/INFO]: Starting up SoundSystem...
[20:49:53] [Thread-5/INFO]: Initializing LWJGL OpenAL
[20:49:53] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[20:49:53] [Thread-5/INFO]: OpenAL initialized.
[20:49:53] [Sound Library Loader/INFO]: Sound engine started
[20:49:58] [main/INFO] [FML]: Max texture size: 16384
[20:49:58] [main/INFO]: Created: 1024x512 textures-atlas
[20:50:01] [main/INFO] [FML]: Applying holder lookups
[20:50:01] [main/INFO] [FML]: Holder lookups applied
[20:50:01] [main/INFO] [FML]: Injecting itemstacks
[20:50:01] [main/INFO] [FML]: Itemstack injection complete
[20:50:01] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[20:50:01] [main/WARN]: Skipping bad option: lastServer:
[20:50:01] [main/INFO]: Narrator library for x64 successfully loaded
[20:50:03] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[21:09:41] [Server thread/INFO]: Starting integrated minecraft server version 1.12.2
[21:09:41] [Server thread/INFO]: Generating keypair
[21:09:41] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
[21:09:41] [Server thread/INFO] [FML]: Registry Block: Found a missing id from the world tf:tinyfigs_box
[21:09:42] [Server thread/INFO] [FML]: Applying holder lookups
[21:09:42] [Server thread/INFO] [FML]: Holder lookups applied
[21:09:42] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1b0ea92b)
[21:09:42] [Server thread/INFO]: Loaded 488 advancements
[21:09:43] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1b0ea92b)
[21:09:43] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1b0ea92b)
[21:09:43] [Server thread/INFO]: Preparing start region for level 0
[21:09:44] [Server thread/INFO]: Preparing spawn area: 24%
[21:09:45] [Server thread/INFO]: Preparing spawn area: 65%
[21:09:45] [Server thread/INFO]: Changing view distance to 12, from 10
[21:09:47] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[21:09:47] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[21:09:47] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected]
[21:09:47] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[21:09:47] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[21:09:47] [Server thread/INFO]: Player649[local:E:470fdf34] logged in with entity id 318 at (139.52678528220977, 80.0, 254.14139583423164)
[21:09:47] [Server thread/INFO]: Player649 joined the game
[21:09:48] [Server thread/INFO]: Saving and pausing game...
[21:09:48] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[21:09:49] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[21:09:49] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[21:09:50] [Server thread/INFO]: Saving and pausing game...
[21:09:50] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[21:09:50] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[21:09:51] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[21:10:41] [main/INFO]: [CHAT] Saved screenshot as 2018-10-06_21.10.41.png
[21:10:50] [main/INFO]: [CHAT] Saved screenshot as 2018-10-06_21.10.50.png
[21:10:52] [main/INFO]: [CHAT] Saved screenshot as 2018-10-06_21.10.51.png
[21:10:54] [main/INFO]: [CHAT] Saved screenshot as 2018-10-06_21.10.54.png
[21:11:52] [main/INFO]: [CHAT] Unknown command. Try /help for a list of commands
[21:11:56] [Server thread/INFO]: [Player649: Changing to clear weather]
[21:11:56] [main/INFO]: [CHAT] Changing to clear weather
[21:12:01] [Server thread/INFO]: [Player649: Set the time to 1000]
[21:12:01] [main/INFO]: [CHAT] Set the time to 1000
[21:12:05] [main/INFO]: [CHAT] Saved screenshot as 2018-10-06_21.12.05.png
[21:12:10] [main/INFO]: [CHAT] Saved screenshot as 2018-10-06_21.12.09.png
[21:24:19] [Server thread/INFO]: Saving and pausing game...
[21:24:19] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[21:24:19] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[21:24:19] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[21:24:20] [main/INFO]: Stopping!
[21:24:20] [Server thread/INFO]: Stopping server
[21:24:20] [Server thread/INFO]: Saving players
[21:24:20] [Server thread/INFO]: Saving worlds
[21:24:20] [Server thread/INFO]: Saving chunks for level 'New World'/overworld
[21:24:20] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether
[21:24:20] [Server thread/INFO]: Saving chunks for level 'New World'/the_end
[21:24:20] [Server thread/INFO] [FML]: Unloading dimension 0
[21:24:20] [Server thread/INFO] [FML]: Unloading dimension -1
[21:24:20] [Server thread/INFO] [FML]: Unloading dimension 1
[21:24:20] [Server thread/INFO] [FML]: Applying holder lookups
[21:24:20] [Server thread/INFO] [FML]: Holder lookups applied
[21:24:20] [main/INFO]: SoundSystem shutting down...
[21:24:20] [main/WARN]: Author: Paul Lamb, www.paulscode.com
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
 

 

 

Posted
2 minutes ago, jabelar said:

I already tried the validator and posted the result. You have an error (I think missing a comma) in your JSON. But it is good to get familiar with it yourself.

O_o which json did you do it to they all came back Valid JSON to me

Posted
18 minutes ago, jabelar said:

I put your fig_box.json JSON file through a validator (https://jsonlint.com/) and it has an error:

Jsonlint. I recommend installing a JSON plugin for your IDE or using SublimeText to work with JSON. Both provide syntax highlighting & SublimeText has a number of other useful features

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)

I see some errors when I do it. It may be a problem with the way you're editing your file, or maybe the way you're pasting it. For example, if I take the code from your post and cut and paste directly I get some errors like hidden characters and stuff. Sometimes there are invisible characters and formatting that can mess things up. Like it is telling me that one line has a hidden /udeff character whatever that means.

 

On the other hand, it may be that your code is good and the way I'm cutting and pasting doesn't represent.

Edited by jabelar

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted
3 minutes ago, Cadiboo said:

Jsonlint. I recommend installing a JSON plugin for your IDE or using SublimeText to work with JSON. Both provide syntax highlighting & SublimeText has a number of other useful features

 

Yeah, I use a plugin just called "JSON Editor". But yeah best way is through a plugin in Eclipse. Doing it in external editor can cause trouble like UTF-8 incompatibilities and such.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted (edited)
3 minutes ago, jabelar said:

It may be a problem with the way you're editing your file, or maybe the way you're pasting it. For example, if I take the code from your post and cut and paste directly I get some errors like hidden characters and stuff. Sometimes there are invisible characters and formatting that can mess things up.

 

On the other hand, it may be that your code is good and the way I'm cutting and pasting doesn't represent.

Yeah Sorry my fault i just recopied the Json and edited the post with the working one I just copied it to test and there no errors :/ was hoping it was gonna be an error but does not seems like it wondering if I'm missing something from my Json which is why it not working never messed with "forge:multi-layer" before and from the examples i have seen on the internet mine seems fine.

 

Ill check out this Json editor for eclipse and see

Edited by tamanor
Posted

Your log should also contain any JSON errors

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)
1 hour ago, jabelar said:

Did you register the block model? I see you have a method that is named to indicate that the item model is registered, but not clear if you registered the block model itself.

Yes it should be i mean if use this in the json file it loads the outer model when i place it. so it seems it something with the Json file but not 100% sure

 

 

Spoiler
Quote

{
    "variants": {
        "normal":{"model": "tf:tamanor/fig_box"}
    }
    
}

 

 

Edited by tamanor
Posted

is it somthing to do with the         "normal": [{}],

		"normal": [{}],

part of the Json if i delete that line the console throws an error but It does not seems to be doing anything if i add "model": "tf:tamanor/figs_box" into the normal area then it loads the outside part of the model when place but not the inside like it does in the inventory other expamples i have seen they do not use the "normal": part for the multi-layer but i just get errors when its not there.

Posted

Bump - Still not figured this out :S Json must hate me i have tried all i can think of sort of restarting my project. and doing the block initialization. 

Posted (edited)

Can you post your project as a GitHub repository?

Edited by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

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

    • It all began when I made what I thought was a smart move, investing a significant sum in a promising new cryptocurrency project. The marketing was slick, the whitepaper looked solid, and the hype was massive. But just a few weeks in, I started noticing red flags. The platform went down intermittently, withdrawals were delayed, and eventually, the website vanished altogether. I realized too late: I had fallen victim to a sophisticated crypto scam. Devastated and angry, I felt completely helpless. The blockchain is supposed to be secure and transparent, but tracing stolen assets through multiple wallets, mixers, and decentralized exchanges felt like chasing shadows. I reported it to local authorities, but they admitted they had limited tools for handling crypto-based crimes. That’s when a close friend recommended Alpha Spy Nest Forensic Digital Recovery Experts. Skeptical but desperate, I reached out. From the very first consultation, their professionalism stood out. They didn’t promise miracles, but they laid out a realistic recovery plan. Their team of cyber forensics specialists, blockchain analysts, and legal advisors worked together seamlessly. They began by tracing the movement of my funds through a series of blockchain addresses, even identifying key mixing points and suspicious wallet activity. I was amazed by the level of detail they could extract.Over the following weeks, Alpha Spy Nest liaised with major exchanges and digital compliance bodies, submitting detailed forensic reports. With their guidance, several suspicious wallets were flagged, frozen, and ultimately, a substantial portion of my lost funds was recovered and returned. I never thought recovery was even possible. But thanks to Alpha Spy Nest, not only did I regain a large part of my investment, I also restored some peace of mind. They didn’t just recover funds, they gave me back hope in a world where digital crime seemed untouchable. 
    • Looking to save big on your first international money transfer? Use the Lemfi coupon code 10% Cashback Up To $50 On First Transfer and enjoy instant cashback rewards on your first transaction. Our exclusive RITEQH6J Lemfi coupon code is designed to maximize your savings across the globe. Whether you're in the USA, Canada, UK, or elsewhere, this code unlocks premium benefits for you. With the Lemfi discount code $10 off and Lemfi code 10% Cashback Up To $50 On First Transfer, you’re not just sending money—you’re earning while doing it. Let’s dive into all the ways you can make the most of this offer. What Is The Lemfi Promo Code for 10% Cashback Up To $50 On First Transfer? Both new and existing users can benefit significantly by applying our Lemfi coupon 10% Cashback Up To $50 On First Transfer on the Lemfi app or website. This offer is part of Lemfi’s initiative to provide more value to its global users with every money transfer. 10% Cashback Up To $50 On First Transfer Lemfi coupon is your gateway to saving more, whether you're new or already using the app. Here's what you get with the promo code RITEQH6J: RITEQH6J – Flat 10% Cashback Up To $50 On First Transfer RITEQH6J – 10% Cashback Up To $50 On First Transfer coupon pack for multiple uses RITEQH6J – 10% Cashback Up To $50 On First Transfer flat discount for new customers RITEQH6J – Extra 10% Cashback Up To $50 On First Transfer promo code for existing customers Lemfi First Time Promo Code 10% Cashback Up To $50 On First Transfer For New Users In 2025 If you’re signing up for the first time in 2025, you’re in for an amazing treat. Using our Lemfi First Time Promo Code for 10% Cashback Up To $50 On First Transfer ensures maximum benefits on your first transaction. Here are some exciting perks of using RITEQH6J: RITEQH6J – $30 sign-up bonus to new users RITEQH6J – 10% cash back up to $50 on first transfer RITEQH6J – $20 cashback on recurring money transfers RITEQH6J – $30 bonus on $100 transfer RITEQH6J – Valid globally for all new Lemfi customers How To Redeem The Lemfi Coupon 10% Cashback Up To $50 On First Transfer For New Users? Using the Lemfi First Time Promo Code for 10% Cashback Up To $50 On First Transfer is super easy. Follow this simple guide: Download and install the Lemfi app from the App Store or Google Play. Sign up and create a new account. Go to the promo code section during your first transaction. Enter RITEQH6J to activate the Lemfi Promo Code First Order 10% Cashback Up To $50 On First Transfer. Complete the transaction to enjoy the Lemfi First Time Promo Code 10% Cashback Up To $50 On First Transfer for new users. Lemfi Promo Code 10% Cashback Up To $50 On First Transfer For Existing Customers Already a Lemfi user? You can still enjoy great benefits using our lemfi promo code 10% Cashback Up To $50 On First Transfer for existing users. Take advantage of the lemfi discount code 10% Cashback Up To $50 On First Transfer for existing customers by using the code RITEQH6J: RITEQH6J – $10 bonus for all users RITEQH6J – $20 per referral after 20 transactions RITEQH6J – $20 cashback on recurring money transfers RITEQH6J – $30 bonus on $100 transfer How To Use The Lemfi Code for 10% Cashback Up To $50 On First Transfer For Existing Customers? To redeem the Lemfi discount code for 10% Cashback Up To $50 On First Transfer, follow these steps: Open the Lemfi app and Lemfi login to your existing account. Go to the 'Promo Code' or 'Offers' section. Apply the Code promo Lemfi for 10% Cashback Up To $50 On First Transfer – RITEQH6J. Make your transaction and enjoy instant cashback rewards. Latest Lemfi Promo Code for 10% Cashback Up To $50 On First Transfer Stay ahead of the savings game by using our Lemfi first time promo code for 10% Cashback Up To $50 On First Transfer first order. It's the best way to unlock exclusive Lemfi offers. With the Lemfi discount code 10% Cashback Up To $50 On First Transfer and Lemfi cashback code, here’s what RITEQH6J brings: $30 sign-up bonus to new users 10% cashback up to $50 on first transfer $20 per referral after 20 transactions $20 cashback on recurring money transfers $30 bonus on $100 transfer How To Find The Lemfi Code for 10% Cashback Up To $50 On First Transfer? Finding the Lemfi code for 10% Cashback Up To $50 On First Transfer is easier than you think. You can get the Lemfi cashback code by subscribing to Lemfi’s newsletter for exclusive offers. Don’t forget to check out Lemfi referral code Reddit for 10% Cashback Up To $50 On First Transfer discussions and user-shared deals. Also, visit trusted coupon websites like ours for verified and regularly updated Lemfi promo codes. Is Lemfi 10% Cashback Up To $50 On First Transfer Code Legit? Absolutely! Wondering Is Lemfi legit?—Yes, it is. Our code promo Lemfi legit is fully tested and verified. The Lemfi discount code RITEQH6J is 100% authentic and can be used worldwide without restrictions. It's a secure, safe, and effective way to enjoy cashback on your transfers. How Does Lemfi Code for 10% Cashback Up To $50 On First Transfer Work? The 10% Cashback Up To $50 On First Transfer on first-time Lemfi money transfer works instantly once you apply the code RITEQH6J. After you enter the code during your transaction, Lemfi automatically applies the cashback. The Lemfi promo code for recurring transactions also allows users to benefit on future money transfers. Whether you're a new or existing user, the savings keep adding up with every use. How To Earn Lemfi 10% Cashback Up To $50 On First Transfer Coupons As A New Customer? To earn the Lemfi coupon code 10% Cashback Up To $50 On First Transfer, all you have to do is register on Lemfi with a valid email and phone number. After signing up, enter our code RITEQH6J during your first transfer. You can also look for 100 off Lemfi coupon code during Lemfi promotions. Keep an eye on your inbox and our site for fresh Lemfi offers every month. What Are The Advantages Of Using The Lemfi Discount Code for 10% Cashback Up To $50 On First Transfer? Using the Lemfi promo code for $10 bonus and Lemfi promo code for 10% Cashback Up To $50 On First Transfer offers many perks: $30 sign-up bonus to new users 10% cashback up to $50 on first transfer $20 per referral after 20 transactions $20 cashback on recurring money transfers $30 bonus on $100 transfer Lemfi Discount Code For 10% Cashback Up To $50 On First Transfer And Free Gift For New And Existing Customers With our Lemfi Discount Code for 10% Cashback Up To $50 On First Transfer, the bonuses don’t stop. Use the 10% Cashback Up To $50 On First Transfer Lemfi discount code and enjoy even more rewards. Here’s what RITEQH6J brings you: RITEQH6J – $30 sign-up bonus to new users RITEQH6J – 10% cashback up to $50 on first transfer RITEQH6J – $20 per referral after 20 transactions RITEQH6J – $20 cashback on recurring money transfers RITEQH6J – $30 bonus on $100 transfer Pros And Cons Of Using The Lemfi Discount Code 10% Cashback Up To $50 On First Transfer For Here are some pros and cons of the Lemfi 10% Cashback Up To $50 On First Transfer discount code and latest Lemfi code 10% cashback up to $50 on first transfer: Pros: Easy to apply and use Instant cashback on first transfer Valid for both new and existing users No expiration date Works globally Cons: Cashback capped at $50 May require minimum transfer amount Terms And Conditions Of Using The Lemfi Coupon 10% Cashback Up To $50 On First Transfer In 2025 To make the most of the Lemfi 10% Cashback Up To $50 On First Transfer code and latest Lemfi code 10% Cashback Up To $50 On First Transfer, keep these T&Cs in mind: Valid for both new and existing users Can be used worldwide No expiration date Requires use of code RITEQH6J during transaction Minimum transfer limit may apply Final Note: Use The Latest Lemfi Discount Code 10% Cashback Up To $50 On First Transfer To unlock your savings, don’t forget to use the Lemfi discount code for 10% Cashback Up To $50 On First Transfer. This code guarantees amazing benefits across various regions and transactions. With the Lemfi 10% Cashback Up To $50 On First Transfer code, you can enjoy worry-free money transfers and generous bonuses. Save more every time you send money! FAQs Of Lemfi 10% Cashback Up To $50 On First Transfer Code What is the best Lemfi promo code in 2025? The best Lemfi promo code for 2025 is RITEQH6J, offering 10% cashback up to $50 on your first transfer and other recurring rewards. Can I use the Lemfi code multiple times? Yes, you can use RITEQH6J for recurring benefits such as $20 cashback on future transfers and $30 bonuses on $100 sent. Is the Lemfi code valid in the USA and UK? Yes, the code is globally valid including in the USA, UK, Canada, and more. How do I enter the Lemfi promo code? Enter RITEQH6J in the promo section during your first transfer on the Lemfi app or website to activate your cashback offer. Does Lemfi have a referral bonus? Yes, Lemfi offers a $20 referral bonus after 20 successful transactions when your code is used by others
    • And the mods.toml?   Instead of using  modId="${mod_id}" try  modId="wackyweapons"
    • I've been working on Minecraft Forge 1.21 Modding, (I'm a bit inexperienced), and when trying to create my own custom throwable projectile entity, I come across this error I can't seem to fix. The console reads that my "mod not working due to Invalid bare key: '${mod_id}'  ". Does anyone know why this is happening? The Pastebin link for all the relevant files is https://pastebin.com/h3UaNYwn. Any help would be greatly appreciated. Thanks.
    • Found a similar post from 3 weeks ago as the only similar issue, seems specific to some linux distributions, like cachyos which i am using, due to libzng processing hashes differently? https://github.com/PrismLauncher/PrismLauncher/issues/3889
  • Topics

×
×
  • Create New...

Important Information

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