Jump to content

[1.8] Problems with Customblock Rendering


Kavaeron

Recommended Posts

Hello Everybody!

 

Day before yesterday I started on my mod to program a bit, I have already done a little bit, and now I want to create the most difficult, Custom Block rendering.

 

I want to develop specific models and then let them render on the Mod, most are about 1 block high and 2 blocks wide. All I have now with a small table (the 1x1's) tested but I can do it just does not, it will render properly. I am already so far that I can place the block and it does signal this textures error (This purple and black boxes). I can put the block, but it is invisible.

 

In the appendix I put the relevant files to look what is wrong? The texture path is actually set correctly!

 

If you need more files, or directly to see through the whole workspace, then just say modest, I hope someone can help because I do not know further.

 

With best regards

 

 

Main Class (FruitsModPro.java)

 

package com.youtube;

import com.youtube.blocks.BlockMais;
import com.youtube.blocks.BlockTisch;
import com.youtube.items.ItemMaiskolben;
import com.youtube.renderer.RendererTisch;
import com.youtube.tileentity.TileEntityTisch;

import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemSeeds;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.client.registry.ClientRegistry;
import net.minecraftforge.fml.client.registry.RenderingRegistry;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;

@Mod(modid = "fruitsmodpro")
public class FruitsModPro {

public static final String MODID = "fruitsmodpro";


/* Blocks */

public static BlockMais Mais = new BlockMais();
public static BlockTisch Tisch = new BlockTisch();

/* Items */

public static ItemSeeds MaisSeeds = new ItemSeeds(Mais, null); 
public static ItemFood Maiskolben = new ItemMaiskolben();


@EventHandler
public void preInit(FMLPreInitializationEvent event) {

}

@EventHandler
public void init(FMLInitializationEvent event) {


	/* Item Regestry */

	GameRegistry.registerItem(MaisSeeds, "mais_seeds");
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(MaisSeeds, 0, new ModelResourceLocation("fruitsmodpro:mais_seeds", "inventory"));

	GameRegistry.registerItem(Maiskolben, "Maiskolben");
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Maiskolben, 0, new ModelResourceLocation("fruitsmodpro:Maiskolben", "inventory"));


	/* Block Regestry */

	GameRegistry.registerBlock(Mais, "Mais");
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(Mais), 0, new ModelResourceLocation("fruitsmodpro:mais", "inventory"));

	GameRegistry.registerBlock(Tisch, "Tisch");
	Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(Tisch), 0, new ModelResourceLocation("fruitsmodpro:BlockTisch", "inventory"));


	/* Tile Entity Regestry */

	GameRegistry.registerTileEntity(TileEntityTisch.class, "Tisch");


	/* Renderer Regestry */



	/* Client Regestry */

	ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTisch.class, new RendererTisch());


	MinecraftForge.addGrassSeed(new ItemStack(MaisSeeds), 10);
}

@EventHandler
public void init(FMLPostInitializationEvent event) {

}

}

 

 

Block Class (BlockTisch.java)

 

package com.youtube.blocks;

import com.youtube.FruitsModPro;
import com.youtube.tileentity.TileEntityTisch;

import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockTisch extends BlockContainer{

private Object blockIcon;

public BlockTisch (){
	super(Material.wood);
	this.setUnlocalizedName("Tisch");
	this.setCreativeTab(CreativeTabs.tabAllSearch);
}

	public TileEntity createNewTileEntity() {
	return new TileEntityTisch();
}

public int getRendertype(){
	return -1;
}

public boolean isOpaqueCube(){
	return false;
}

public boolean renderAsNormalBlock(){
	return false;
}

@SideOnly(Side.CLIENT)
public Void registerIcons(IconRegister icon){
	this.blockIcon = icon.registerIcon(FruitsModPro.MODID + ":" + "Tischicon" );
	return null;

}

@Override
public TileEntity createNewTileEntity(World worldIn, int meta) {return null;}

}

 

 

Model Class (ModelTisch.java)

 

package com.youtube.model;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelTisch extends ModelBase
{
  //fields
    ModelRenderer Shape1;
    ModelRenderer Shape2;
    ModelRenderer Shape3;
    ModelRenderer Shape4;
    ModelRenderer Shape5;
  
  public ModelTisch()
  {
    textureWidth = 64;
    textureHeight = 32;
    
      Shape1 = new ModelRenderer(this, 0, 0);
      Shape1.addBox(0F, 0F, 0F, 1, 3, 1);
      Shape1.setRotationPoint(-6F, 21F, -4F);
      Shape1.setTextureSize(64, 32);
      Shape1.mirror = true;
      setRotation(Shape1, 0F, 0F, 0F);
      Shape2 = new ModelRenderer(this, 0, 0);
      Shape2.addBox(0F, 0F, 0F, 1, 3, 1);
      Shape2.setRotationPoint(5F, 21F, -4F);
      Shape2.setTextureSize(64, 32);
      Shape2.mirror = true;
      setRotation(Shape2, 0F, 0F, 0F);
      Shape3 = new ModelRenderer(this, 0, 0);
      Shape3.addBox(0F, 0F, 0F, 1, 3, 1);
      Shape3.setRotationPoint(-6F, 21F, 3F);
      Shape3.setTextureSize(64, 32);
      Shape3.mirror = true;
      setRotation(Shape3, 0F, 0F, 0F);
      Shape4 = new ModelRenderer(this, 0, 0);
      Shape4.addBox(0F, 0F, 0F, 1, 3, 1);
      Shape4.setRotationPoint(5F, 21F, 3F);
      Shape4.setTextureSize(64, 32);
      Shape4.mirror = true;
      setRotation(Shape4, 0F, 0F, 0F);
      Shape5 = new ModelRenderer(this, 0, 0);
      Shape5.addBox(0F, 0F, 0F, 12, 1, 12);
      Shape5.setRotationPoint(-6F, 20F, -6F);
      Shape5.setTextureSize(64, 32);
      Shape5.mirror = true;
      setRotation(Shape5, 0F, 0F, 0F);
  }
  
  public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
  {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5, entity);
    Shape1.render(f5);
    Shape2.render(f5);
    Shape3.render(f5);
    Shape4.render(f5);
    Shape5.render(f5);
  }
  
  public void renderModel(float f){
    Shape1.render(f);
    Shape2.render(f);
    Shape3.render(f);
    Shape4.render(f);
    Shape5.render(f);
  }
  
  private void setRotation(ModelRenderer model, float x, float y, float z)
  {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
  }
  
  public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity)
  {
    super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
  }

}

 

 

Render Class (RendererTisch.java)

 

package com.youtube.renderer;

import org.lwjgl.opengl.GL11;

import com.youtube.FruitsModPro;
import com.youtube.model.ModelTisch;

import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;

public class RendererTisch extends TileEntitySpecialRenderer{


private static final ResourceLocation texture = new ResourceLocation(FruitsModPro.MODID, "blocks/Tisch");

private ModelTisch model;

public RendererTisch(){
	this.model = new ModelTisch();
}

public void renderTileEntityAt(TileEntity p_180535_1_, double posX, double posZ, double p_180535_6_, float p_180535_8_, int p_180535_9_) {
	GL11.glPushMatrix();
	GL11.glTranslatef((float)posX + 0.5F, (float)posZ + 0,5F);
	GL11.glRotatef(180, 0F, 0F, 1F);
	this.bindTexture(texture);
	GL11.glPushMatrix();
	this.model.renderModel(0.0625F);
	GL11.glPopMatrix();
	GL11.glPopMatrix();
}

}

 

 

TileEntity Class (TileEntityTisch.java)

 

package com.youtube.tileentity;

import net.minecraft.tileentity.TileEntity;

public class TileEntityTisch extends TileEntity {

}

Link to comment
Share on other sites

Hey,

 

Your path to the texture is: Modid/blocks/Tisch.

as this might be confusing, MC is actually searching for the following File:

"assets/fruitsmodpro/blocks/Tisch"

Wich doesnt exist I assume. Instead dont forget the texture folder(if you used it "...modid/textures/blocks..."), and more important, add the extension (Tisch.png)

again this might be confusing since its different from the icon registry.

 

Final path parameters:

(FruitsModPro.MODID, "textures/blocks/Tisch.png")

 

Ps. If this doesnt work yet, post the log please.

Projects:

Discontinued:

- N2ConfigAPI

- Meachanical Crafting Table

 

Latest:

- CollectionUtils

 

Coöperations:

- InGameConfigManager

Link to comment
Share on other sites

Hello, first thanks!

 

I have said Code now changed but it has unfortunately not changed, The Problem still exists. If I were times earlier to get the idea to look in the log, well.

 

Now I've seen in the log, and really can not find anything. It says among other things that the ModelTisch.json missing. I do not know what should be in such a, I have only one Tisch.json the extent that I know refers to the block, not on the model.

 

I give the code for the Tisch.json that was missing still, and below the log.

 

Appreciate any constructive response!

 

 

Tisch.json

 

{
    "parent": "block/cube_all",
    "textures": {
        "all": "fruitsmodpro:blocks/Tisch"
     }
}

 

 

Log

 

[14:03:32] [main/INFO] [GradleStart]: Extra: []
[14:03:32] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Justin/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[14:03:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:03:32] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:03:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:03:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[14:03:32] [main/INFO] [FML]: Forge Mod Loader version 8.99.150.1468 for Minecraft 1.8 loading
[14:03:32] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_45, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre1.8.0_45
[14:03:32] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[14:03:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[14:03:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[14:03:32] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[14:03:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:03:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:03:32] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:03:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:03:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:03:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:03:33] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[14:03:35] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[14:03:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:03:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:03:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[14:03:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:03:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:03:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[14:03:36] [Client thread/INFO]: Setting user: Player875
[14:03:39] [Client thread/INFO]: LWJGL Version: 2.9.1
[14:03:39] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:235]: ---- Minecraft Crash Report ----
// I let you down. Sorry 

Time: 22.06.15 14:03
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.8
Operating System: Windows 8.1 (x86) version 6.3
Java Version: 1.8.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 841938064 bytes (802 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 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: 'Intel' Version: '4.3.0 - Build 10.18.14.4170' Renderer: 'Intel(R) HD Graphics 4400'
[14:03:39] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[14:03:39] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1468 Initialized
[14:03:39] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[14:03:40] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[14:03:40] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[14:03:40] [Client thread/INFO] [FML]: Searching C:\Users\Justin\Desktop\Minecraft Forge Modding\eclipse\mods for mods
[14:03:40] [Client thread/INFO] [fruitsmodpro]: Mod fruitsmodpro is missing the required element 'name'. Substituting fruitsmodpro
[14:03:40] [Client thread/WARN] [fruitsmodpro]: Mod fruitsmodpro is missing the required element 'version' and no fallback can be found. Substituting '1.0'.
[14:03:42] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[14:03:42] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fruitsmodpro] at CLIENT
[14:03:42] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fruitsmodpro] at SERVER
[14:03:43] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:fruitsmodpro
[14:03:43] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[14:03:43] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[14:03:43] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[14:03:43] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[14:03:43] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[14:03:43] [Client thread/INFO] [FML]: Applying holder lookups
[14:03:43] [Client thread/INFO] [FML]: Holder lookups applied
[14:03:43] [Client thread/INFO] [FML]: Injecting itemstacks
[14:03:43] [Client thread/INFO] [FML]: Itemstack injection complete
[14:03:44] [sound Library Loader/INFO]: Starting up SoundSystem...
[14:03:44] [Thread-9/INFO]: Initializing LWJGL OpenAL
[14:03:44] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:03:44] [Thread-9/INFO]: OpenAL initialized.
[14:03:44] [sound Library Loader/INFO]: Sound engine started
[14:03:49] [Client thread/INFO]: Created: 512x512 textures-atlas
[14:03:50] [Client thread/INFO] [FML]: Injecting itemstacks
[14:03:50] [Client thread/INFO] [FML]: Itemstack injection complete
[14:03:50] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[14:03:50] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:fruitsmodpro
[14:03:50] [Client thread/INFO]: SoundSystem shutting down...
[14:03:51] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[14:03:51] [sound Library Loader/INFO]: Starting up SoundSystem...
[14:03:51] [Thread-11/INFO]: Initializing LWJGL OpenAL
[14:03:51] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:03:51] [Thread-11/INFO]: OpenAL initialized.
[14:03:51] [sound Library Loader/INFO]: Sound engine started
[14:03:54] [Client thread/WARN] [FML]: Unable to load block model: 'fruitsmodpro:block/ModelTisch' for variant: 'fruitsmodpro:Tisch#normal': java.io.FileNotFoundException: fruitsmodpro:models/block/ModelTisch.json
[14:03:54] [Client thread/WARN]: Texture fruitsmodpro:textures/items/mais_kolben.png with size 180x180 limits mip level from 4 to 2
[14:03:55] [Client thread/INFO]: Created: 1024x512 textures-atlas
[14:03:56] [Client thread/WARN]: Unable to resolve texture due to upward reference: #crop in minecraft:models/block/crop
[14:03:56] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[14:03:56] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[14:03:56] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[14:04:00] [server thread/INFO]: Starting integrated minecraft server version 1.8
[14:04:00] [server thread/INFO]: Generating keypair
[14:04:01] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[14:04:01] [server thread/INFO] [FML]: Applying holder lookups
[14:04:01] [server thread/INFO] [FML]: Holder lookups applied
[14:04:01] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1270523)
[14:04:01] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1270523)
[14:04:01] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1270523)
[14:04:01] [server thread/INFO]: Preparing start region for level 0
[14:04:02] [server thread/INFO]: Preparing spawn area: 28%
[14:04:03] [server thread/INFO]: Preparing spawn area: 91%
[14:04:03] [server thread/INFO]: Changing view distance to 8, from 10
[14:04:05] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[14:04:05] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[14:04:05] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[14:04:05] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[14:04:05] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[14:04:05] [server thread/INFO]: Player875[local:E:68333ca1] logged in with entity id 142 at (-713.6337984974641, 69.0, 103.53423988424485)
[14:04:05] [server thread/INFO]: Player875 hat das Spiel betreten
[14:04:06] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@1fe51c3[id=4c4af65a-e991-33a8-a762-2d145c215578,name=Player875,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:158) [YggdrasilMinecraftSessionService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:53) [YggdrasilMinecraftSessionService$1.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:50) [YggdrasilMinecraftSessionService$1.class:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:148) [YggdrasilMinecraftSessionService.class:?]
at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [skinManager$3.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_45]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_45]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
[14:04:12] [server thread/INFO]: Saving and pausing game...
[14:04:12] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[14:04:13] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[14:04:13] [server thread/INFO]: Saving chunks for level 'New World'/The End
[14:04:13] [server thread/INFO]: Stopping server
[14:04:13] [server thread/INFO]: Saving players
[14:04:13] [server thread/INFO]: Saving worlds
[14:04:13] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[14:04:13] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[14:04:13] [server thread/INFO]: Saving chunks for level 'New World'/The End
[14:04:14] [server thread/INFO] [FML]: Unloading dimension 0
[14:04:14] [server thread/INFO] [FML]: Unloading dimension -1
[14:04:14] [server thread/INFO] [FML]: Unloading dimension 1
[14:04:14] [server thread/INFO] [FML]: Applying holder lookups
[14:04:14] [server thread/INFO] [FML]: Holder lookups applied
[14:04:15] [Client thread/INFO]: Stopping!
[14:04:15] [Client thread/INFO]: SoundSystem shutting down...
[14:04:15] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

Link to comment
Share on other sites

At first, here is the new Log after a few Changes:

 

 

[14:16:30] [main/INFO] [GradleStart]: Extra: []

[14:16:30] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Justin/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]

[14:16:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[14:16:30] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[14:16:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[14:16:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker

[14:16:30] [main/INFO] [FML]: Forge Mod Loader version 8.99.150.1468 for Minecraft 1.8 loading

[14:16:30] [main/INFO] [FML]: Java is Java HotSpot Client VM, version 1.8.0_45, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre1.8.0_45

[14:16:30] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[14:16:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[14:16:30] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin

[14:16:30] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[14:16:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:16:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[14:16:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[14:16:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:16:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:16:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[14:16:31] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[14:16:33] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[14:16:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[14:16:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[14:16:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[14:16:33] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker

[14:16:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker

[14:16:33] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[14:16:34] [Client thread/INFO]: Setting user: Player767

[14:16:37] [Client thread/INFO]: LWJGL Version: 2.9.1

[14:16:37] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:235]: ---- Minecraft Crash Report ----

// Everything's going to plan. No, really, that was supposed to happen.

 

Time: 23.06.15 14:16

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

Operating System: Windows 8.1 (x86) version 6.3

Java Version: 1.8.0_45, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

Memory: 841903648 bytes (802 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 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: 'Intel' Version: '4.3.0 - Build 10.18.14.4170' Renderer: 'Intel® HD Graphics 4400'

[14:16:37] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[14:16:37] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1468 Initialized

[14:16:37] [Client thread/INFO] [FML]: Replaced 204 ore recipies

[14:16:37] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[14:16:38] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[14:16:38] [Client thread/INFO] [FML]: Searching C:\Users\Justin\Desktop\Minecraft Forge Modding\eclipse\mods for mods

[14:16:38] [Client thread/INFO] [fruitsmodpro]: Mod fruitsmodpro is missing the required element 'name'. Substituting fruitsmodpro

[14:16:38] [Client thread/WARN] [fruitsmodpro]: Mod fruitsmodpro is missing the required element 'version' and no fallback can be found. Substituting '1.0'.

[14:16:40] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[14:16:40] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fruitsmodpro] at CLIENT

[14:16:40] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, fruitsmodpro] at SERVER

[14:16:41] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:fruitsmodpro

[14:16:41] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[14:16:41] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations

[14:16:41] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[14:16:41] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[14:16:41] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[14:16:41] [Client thread/INFO] [FML]: Applying holder lookups

[14:16:41] [Client thread/INFO] [FML]: Holder lookups applied

[14:16:41] [Client thread/INFO] [FML]: Injecting itemstacks

[14:16:41] [Client thread/INFO] [FML]: Itemstack injection complete

[14:16:41] [sound Library Loader/INFO]: Starting up SoundSystem...

[14:16:41] [Thread-9/INFO]: Initializing LWJGL OpenAL

[14:16:41] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[14:16:41] [Thread-9/INFO]: OpenAL initialized.

[14:16:42] [sound Library Loader/INFO]: Sound engine started

[14:16:46] [Client thread/INFO]: Created: 512x512 textures-atlas

[14:16:47] [Client thread/INFO] [FML]: Injecting itemstacks

[14:16:47] [Client thread/INFO] [FML]: Itemstack injection complete

[14:16:47] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[14:16:47] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:fruitsmodpro

[14:16:47] [Client thread/INFO]: SoundSystem shutting down...

[14:16:47] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

[14:16:47] [sound Library Loader/INFO]: Starting up SoundSystem...

[14:16:48] [Thread-11/INFO]: Initializing LWJGL OpenAL

[14:16:48] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[14:16:48] [Thread-11/INFO]: OpenAL initialized.

[14:16:48] [sound Library Loader/INFO]: Sound engine started

[14:16:50] [Client thread/WARN]: Texture fruitsmodpro:textures/items/mais_kolben.png with size 180x180 limits mip level from 4 to 2

[14:16:51] [Client thread/INFO]: Created: 1024x512 textures-atlas

[14:16:51] [Client thread/WARN]: Unable to resolve texture due to upward reference: #crop in minecraft:models/block/crop

[14:16:51] [Client thread/ERROR] [FML]: Model definition for location fruitsmodpro:Tisch#inventory not found

[14:16:52] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

[14:16:52] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.

[14:16:52] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

 

 

I highlighted the Sentence, which is important, i think. And here are the two json files:

 

 

The Blockstate Tisch.json

 

{
    "variants": {
        "normal": { "model": "fruitsmodpro:ModelTisch" }    
       }
}

 

 

The models.blocks Tisch.json

 

{
    "parent": "block/cube_all",
    "textures": {
        "all": "fruitsmodpro:blocks/Tisch"
     }
}

 

But i renamed the models.block Tisch.json to ModelTisch.json, because there was an error with the name Tisch.json. This error was gone as I renamed it to ModelTisch.json!

Link to comment
Share on other sites

Unless you changed some filenames in your assets from the screen shots in the above posts, it should have worked.  This is what I have with my modeled lamps which are two blocks tall.

Blockstates  Filename TEFloorLamp.json

{

    "variants": {

        "normal": { "model": "telvarianexpanse:lamp_floor" }

    }

}

 

Models.Blocks Filename lamp_floor.json with the texture name of floorLamp.png

{

    "parent": "block/cube_all",

    "textures": {

        "all": "telvarianexpanse:blocks/floorLamp"

    }

}

 

Models.items Filename TEFloorLamp.json

{

    "parent": "builtin/generated",

    "textures": {

        "layer0": "telvarianexpanse:items/floorLamp"

    },

    "display": {

        "thirdperson": {

            "rotation": [ -90, 0, 0 ],

            "translation": [ 0, 1, -3 ],

            "scale": [ 0.55, 0.55, 0.55 ]

        },

        "firstperson": {

            "rotation": [ 0, -135, 25 ],

            "translation": [ 0, 4, 2 ],

            "scale": [ 1.7, 1.7, 1.7 ]

        }

    }

}

 

 

Link to comment
Share on other sites

I've noted in passing that I have changed the name, but it still does not work so, even if the names are adapted. Now I have everything well adapted to the name Tisch again.

 

This is what I see: k2eili5r.png

 

I Uploaded my Eclipse Folder, i think this is better for you to see where the problem is, this is not so easy with pictures and text.

 

Here is the link: http://www.mediafire.com/download/7d699a93m2a856j/Minecraft_Forge_Modding.rar

 

I hope we can solve the problem :-/

Link to comment
Share on other sites

Hi

 

Have you tried this troubleshooting guide?

http://greyminecraftcoder.blogspot.com.au/2015/03/troubleshooting-block-and-item-rendering.html

 

It shows the most common 'missing texture' problems.

 

You seem to be have a variety of problems - one is because the texture is not found.

 

The second is that you are mixing up rendering a block model with rendering a TileEntity model, the two are very different.  Does your RendererTisch render method get called?

 

[14:16:51] [Client thread/WARN]: Unable to resolve texture due to upward reference: #crop in minecraft:models/block/crop

Your block model file doesn't define the crop texture.

 

[14:16:51] [Client thread/ERROR] [FML]: Model definition for location fruitsmodpro:Tisch#inventory not found

[14:16:52] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

[14:16:52] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.

[14:16:52] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

Your item's Tisch model file is either not defined, has the wrong name, or isn't registered properly

 

You might find this example project useful, it contains examples of simple blocks (MBE01) and a TileEntitySpecialRenderer (MBE21)

https://github.com/TheGreyGhost/MinecraftByExample

 

-TGG

Link to comment
Share on other sites

A very easy to make custom 3d models is to use this tool:

http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/2146545-opls-model-creator-free-3d-model-editor

 

You modelise your block, and it creates a .json. Just use this .json for your block and it's done.

 

But maube someone more experienced is going to tell me that I shouldn't use this for whatever reason. Do you guys recommand it ?

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



×
×
  • Create New...

Important Information

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