Jump to content

Recommended Posts

Posted

Hey guys okay so I had a post asking for help with getting obj blocks to work with minecraft

 

now I'm stuck with this error

net.minecraftforge.client.model.ModelFormatException: Error parsing entry ('v -1.5 0 1.5', line 5) in file '/assets/dwadventures/OBJ/Tardis/Model11thDoctorTardis.obj' - Incorrect format

 

I was told to make a new post to see If anyone can help me! here is my code:

 

TardisTESR class:

public class TardisTESR extends TileEntitySpecialRenderer
{
    private IModelCustom EleventhTardis;
    private ResourceLocation tardisTexture;

    
    public TardisTESR(){
        EleventhTardis = AdvancedModelLoader.loadModel("/assets/dwadventures/OBJ/Tardis/Model11thDoctorTardis.obj");
        tardisTexture = new ResourceLocation("dwadventure:textures/tardisTexture.png");
    }

@Override
public void renderTileEntityAt(TileEntity tileentity, double d0, double d1, double d2, float f) 
{
	System.out.println("TardisTESR::renderTileEntityAt");

	Minecraft.getMinecraft().renderEngine.getTexture(tardisTexture);// dont create them here, create them in your constructor and save a reference as a member variable please

	EleventhTardis.renderAll();
}	
} 

 

TileEntityTardis class:

public class TileEntityTardis extends TileEntity 
{
public int tardis;

@Override
public void writeToNBT(NBTTagCompound par1)
{
	super.writeToNBT(par1);
	par1.setInteger("tardis", tardis);
}

@Override
public void readFromNBT(NBTTagCompound par1)
{
	super.readFromNBT(par1);
	this.tardis = par1.getInteger("tardis");
}
}

 

Block Class:

public class BlockEleventhTardis extends BlockContainer
{

    public BlockEleventhTardis(int i, Material m)
    {
        super(i, m);
        
        setHardness(3.5F);
        setStepSound(Block.soundStoneFootstep);
        setCreativeTab(DoctorWhoAdventure.tabDoctorWho);
        setResistance(1000.0F);
        setResistance(1000.0F);
        setHardness(1.5F);
        setLightOpacity(0);
        setLightValue(0.0f);
        setTickRandomly(false);
        setUnlocalizedName("dwadventure:EleventhTardis");
        
     // Harvest level for this block. par2 can be pickaxe, axe, or shovel, or
        // a different toolclass. par3 is the minimum level of item required to
        // break it:
        // 0=bare hands, 1=wood, 2=stone, 3=iron, 4=diamond
        //ItemSonicScrewdriver.setBlockHarvestLevel(this, "sonic", 0);
    }
    
    @SideOnly(Side.CLIENT)
    public void registerIcons(IconRegister par1IconRegister)

        {
            blockIcon = par1IconRegister.registerIcon("dwadventures:EleventhTARDIS");
        }   

    /**
     * Is this block (a) opaque and (b) a full 1m cube?  This determines whether or not to render the shared face of two
     * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block.
     */
    
    @Override
    public boolean isOpaqueCube()
    {
        return false;
    }

    /**
     * If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
     */
  
    public boolean renderAsNormalBlock()
    {
        return false;
    }
    	
    /**
     * Returns Returns true if the given side of this block type should be
     * rendered (if it's solid or not), if the adjacent block is at the given
     * coordinates. Args: blockAccess, x, y, z, side
     */
    @Override
    public boolean isBlockSolid(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) {
            return true;
    }
    
    /**
     * This method is called on a block after all other blocks gets already
     * created. You can use it to reference and configure something on the block
     * that needs the others ones.
     */
    @Override
    protected void initializeBlock() 
    {
    	
    }
    
    /**
     * Called throughout the code as a replacement for block instanceof
     * BlockContainer Moving this to the Block base class allows for mods that
     * wish
     * to extend vinella blocks, and also want to have a tile entity on that
     * block, may.
     * 
     * Return true from this function to specify this block has a tile entity.
     * 
     * @param metadata
     *            Metadata of the current block
     * @return True if block has a tile entity, false otherwise
     */
    @Override
    public boolean hasTileEntity(int metadata) {
            return true;
    }
    
@Override
public TileEntity createNewTileEntity(World world) {
	return new TileEntityTardis();
}

/**@Override
public TileEntity createTileEntity(World world, int metadata)
{
	return new TileEntityTardis();
}*/
}

 

Main Class:

//Define Basic Info for Doctor Who Adventures
@Mod(modid = "doctorwhoadventures", name = "Doctor Who Adventures", version = "Alpha 1.0")

//Define Client & Server Side Requirements
@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class DoctorWhoAdventure 
{
//Define Instance
@Instance("doctorwhoadventures")
public static DoctorWhoAdventure Instance;

//Define Server
@SidedProxy(clientSide = "net.DoctorWhoAdventures.superhb.mod.ClientProxy", serverSide = "net.DoctorWhoAdventures.superhb.mod.ServerProxy")
public static ServerProxy proxy;

//Define Creative Tab
public static CreativeTabs tabDoctorWho = new CreativeDoctorWho(CreativeTabs.getNextID(), "tabDoctorWho");

//Define Tool Material
public static EnumToolMaterial toolSonic = EnumHelper.addToolMaterial("SONIC", 20, 15000, 7, 8, 100);

//Define Armor Material 
//public static EnumArmorMaterial EleventhDoctor = EnumHelper.addArmorMaterial("doctor", 33, new int[] {1, 2, 4, 1}, 30);

//Define T.A.R.D.I.S
public static Block eleventhTardis;

//Define Sonic
public static Item sonicScrewdriver;

@EventHandler
public void modInit(FMLInitializationEvent event)
{
	MinecraftForge.EVENT_BUS.register(new LivingDropEvent());
}

@EventHandler
public void PreInit(FMLPreInitializationEvent Event)
{
	//Capes
        DevCapesUtil.getInstance().addFileUrl("https://dl.dropboxusercontent.com/u/83349414/DoctorWho/DoctorWhoCapes/CustomCapes.txt");
        //Doctor Who Adventures Block
        eleventhTardis = new BlockEleventhTardis(3530, Material.wood);
        sonicScrewdriver = new ItemSonic(6000, this.toolSonic);
        
        //Register Crafting, or Block/Item
        GameRegistry.registerTileEntity(TileEntityTardis.class, "eleventhTardis");
        GameRegistry.registerBlock(eleventhTardis, "eleventhTardis");
        
        //Set Item/Block/Food/Tool/Armor Name
        LanguageRegistry.addName(eleventhTardis, "11th Doctor's Tardis");
}

@EventHandler
  public void postInit(FMLPostInitializationEvent event) 
  {
        ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTardis.class, new TardisTESR());  // you are missing this bit
  }
}

 

Here is the Dev Console Error:

2014-01-27 18:24:43 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2014-01-27 18:24:43 [iNFO] [sTDOUT] // Sorry 
2014-01-27 18:24:43 [iNFO] [sTDOUT] 
2014-01-27 18:24:43 [iNFO] [sTDOUT] Time: 1/27/14 6:24 PM
2014-01-27 18:24:43 [iNFO] [sTDOUT] Description: Initializing game
2014-01-27 18:24:43 [iNFO] [sTDOUT] 
2014-01-27 18:24:43 [iNFO] [sTDOUT] net.minecraftforge.client.model.ModelFormatException: Error parsing entry ('v -1.5 0 1.5', line 5) in file '/assets/dwadventures/OBJ/Tardis/Model11thDoctorTardis.obj' - Incorrect format
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.obj.WavefrontObject.parseVertex(WavefrontObject.java:314)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.obj.WavefrontObject.loadObjModel(WavefrontObject.java:91)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.obj.WavefrontObject.<init>(WavefrontObject.java:55)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.obj.ObjModelLoader.loadInstance(ObjModelLoader.java:28)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.AdvancedModelLoader.loadModel(AdvancedModelLoader.java:70)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.DoctorWhoAdventures.superhb.mod.TESR.TardisTESR.<init>(TardisTESR.java:20)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.DoctorWhoAdventures.superhb.mod.DoctorWhoAdventure.postInit(DoctorWhoAdventure.java:88)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:704)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:509)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:808)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 
2014-01-27 18:24:43 [iNFO] [sTDOUT] 
2014-01-27 18:24:43 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2014-01-27 18:24:43 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2014-01-27 18:24:43 [iNFO] [sTDOUT] 
2014-01-27 18:24:43 [iNFO] [sTDOUT] -- Head --
2014-01-27 18:24:43 [iNFO] [sTDOUT] Stacktrace:
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.obj.WavefrontObject.parseVertex(WavefrontObject.java:314)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.obj.WavefrontObject.loadObjModel(WavefrontObject.java:91)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.obj.WavefrontObject.<init>(WavefrontObject.java:55)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.obj.ObjModelLoader.loadInstance(ObjModelLoader.java:28)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraftforge.client.model.AdvancedModelLoader.loadModel(AdvancedModelLoader.java:70)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.DoctorWhoAdventures.superhb.mod.TESR.TardisTESR.<init>(TardisTESR.java:20)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.DoctorWhoAdventures.superhb.mod.DoctorWhoAdventure.postInit(DoctorWhoAdventure.java:88)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:704)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:509)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 
2014-01-27 18:24:43 [iNFO] [sTDOUT] -- Initialization --
2014-01-27 18:24:43 [iNFO] [sTDOUT] Details:
2014-01-27 18:24:43 [iNFO] [sTDOUT] Stacktrace:
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:808)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 
2014-01-27 18:24:43 [iNFO] [sTDOUT] -- System Details --
2014-01-27 18:24:43 [iNFO] [sTDOUT] Details:
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.4
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Operating System: Windows 8 (amd64) version 6.2
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Java Version: 1.7.0_25, Oracle Corporation
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Memory: 796507032 bytes (759 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	doctorwhoadventures{Alpha 1.0} [Doctor Who Adventures] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Errored
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Launched Version: 1.6
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	LWJGL: 2.9.0
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 10.18.10.3345, Intel
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Type: Client (map_client.txt)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Resource Pack: Default
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Current Language: English (US)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2014-01-27 18:24:43 [iNFO] [sTDOUT] 	Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
2014-01-27 18:24:43 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Kenneth\Desktop\Stuff\Modding Stuff\Doctor Who 1.6.4\forge\mcp\jars\.\crash-reports\crash-2014-01-27_18.24.43-client.txt

Posted

Hi

 

Looking at WavefrontObject, it uses the following regular expression to find vertices in the wavefront file

 

private static Pattern vertexPattern = Pattern.compile("(v( (\\-){0,1}\\d+\\.\\d+){3,4} *\\n)|(v( (\\-){0,1}\\d+\\.\\d+){3,4} *$)");

http://www.tutorialspoint.com/java/java_regular_expressions.htm

 

So it expects to find a vertex in the form

v followed by three or four numbers made up of: an optional -, followed by digits, followed by ., followed by more digits.

 

Yours clearly doesn't match this pattern

v -1.5 0 1.5

i.e. it needs to be

v -1.5 0.0 1.5

 

I can think of a few ways around it -

(1) if your model doesn't have too many vertices you could find-replace with text editor

(2) your cinema 4D might have an option to output in fixed decimal place format

(3) you could move your model in cinema 4D ever so slightly (say - by 0.001) so that there are no integers in the output file.

 

-TGG

 

 

Posted

Hi

 

Looking at WavefrontObject, it uses the following regular expression to find vertices in the wavefront file

 

private static Pattern vertexPattern = Pattern.compile("(v( (\\-){0,1}\\d+\\.\\d+){3,4} *\\n)|(v( (\\-){0,1}\\d+\\.\\d+){3,4} *$)");

http://www.tutorialspoint.com/java/java_regular_expressions.htm

 

So it expects to find a vertex in the form

v followed by three or four numbers made up of: an optional -, followed by digits, followed by ., followed by more digits.

 

Yours clearly doesn't match this pattern

v -1.5 0 1.5

i.e. it needs to be

v -1.5 0.0 1.5

 

I can think of a few ways around it -

(1) if your model doesn't have too many vertices you could find-replace with text editor

(2) your cinema 4D might have an option to output in fixed decimal place format

(3) you could move your model in cinema 4D ever so slightly (say - by 0.001) so that there are no integers in the output file.

 

-TGG

 

for Option 1: Impossible I have like 90000 lines of vertices

for Option 2: How do I do that?

for Option 3: Would that change the position of the block?

Posted

for Option 3: Would that change the position of the block?

 

I

Just

What?

 

for Option 1: Impossible I have like 90000 lines of vertices

 

Dude, might want to simplify that.  90,000 verts is the kind of vert numbers you find on a fully rigged biped model for a modern shooter.  The hell are you doing?

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

 

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

 

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

Posted

for Option 3: Would that change the position of the block?

 

I

Just

What?

 

for Option 1: Impossible I have like 90000 lines of vertices

 

Dude, might want to simplify that.  90,000 verts is the kind of vert numbers you find on a fully rigged biped model for a modern shooter.  The hell are you doing?

 

I am making my Minecraft version of the TARDIS from Doctor Who

Posted

You still don't need 90,000 verts.  Minecraft is inherently cubic.  You should be able to make a reasonable TARDIS with 128 to 256 verts.

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.

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

    • Some Create addons are only compatible with Create 6 or Create 5 - so not both versions at the same time Try older builds of Create Stuff and Additions This is the last build before the Create 6 update: https://www.curseforge.com/minecraft/mc-mods/create-stuff-additions/files/6168370
    • ✅ Crobo Coupon Code: 51k3b0je — Get Your \$25 Amazon Gift Card Bonus! If you’re new to Crobo and want to make the most out of your first transaction, you’ve come to the right place. The **Crobo coupon code: 51k3b0je** is a fantastic way to get started. By using this code, you can unlock an exclusive **\$25 Amazon gift card** after completing your first eligible transfer. Let’s dive deep into how the **Crobo coupon code: 51k3b0je** works, why you should use it, and how to claim your reward. --- 🌟 What is Crobo? Crobo is a trusted, modern platform designed for **international money transfers**. It offers fast, secure, and low-cost transactions, making it a favorite choice for individuals and businesses alike. Crobo is committed to transparency, low fees, and competitive exchange rates. And with promo deals like the **Crobo coupon code: 51k3b0je**, it becomes even more attractive. Crobo focuses on providing customers with: * Quick transfer speeds * Minimal fees * Safe, encrypted transactions * Great referral and promo code rewards When you choose Crobo, you’re choosing a platform that values your time, money, and loyalty. And now with the **Crobo coupon code: 51k3b0je**, you can start your Crobo journey with a **bonus reward**! ---# 💥 What is the Crobo Coupon Code: 51k3b0je? The **Crobo coupon code: 51k3b0je** is a **special promotional code** designed for new users. By entering this code during signup, you’ll be eligible for: ✅ A **\$25 Amazon gift card** after your first qualifying transfer. ✅ Access to Crobo’s referral system to earn more rewards. ✅ The ability to combine with future seasonal Crobo discounts. Unlike generic promo codes that just offer small fee reductions, the **Crobo coupon code: 51k3b0je** directly gives you a tangible, valuable reward — perfect for online shopping or gifting. --- ### 🎯 Why Use Crobo Coupon Code: 51k3b0je? There are many reasons why users choose to apply the **Crobo coupon code: 51k3b0je**: 🌟 **Free bonus reward** — Your first transfer can instantly earn you a \$25 Amazon gift card. 🌟 **Trusted platform** — Crobo is known for secure, fast, and affordable transfers. 🌟 **Easy to apply** — Simply enter **Crobo coupon code: 51k3b0je** at signup — no complicated steps. 🌟 **Referral opportunities** — Once you’ve used **Crobo coupon code: 51k3b0je**, you can invite friends and earn more rewards. 🌟 **Stackable savings** — Pair **Crobo coupon code: 51k3b0je** with Crobo’s ongoing offers or holiday deals for even more benefits. --- ### 📝 How to Use Crobo Coupon Code: 51k3b0je Getting started with **Crobo coupon code: 51k3b0je** is quick and easy. Just follow these steps: 1️⃣ **Download the Crobo app** (available on Google Play Store and Apple App Store) or visit the official Crobo website. 2️⃣ **Start the sign-up process** by entering your basic details (name, email, phone number, etc.). 3️⃣ When prompted, enter **Crobo coupon code: 51k3b0je** in the promo code or coupon code field. 4️⃣ Complete your first transaction — be sure to meet the minimum amount required to qualify for the reward (usually specified in Crobo’s promo terms). 5️⃣ After the transaction is verified, receive your **\$25 Amazon gift card** directly via email or within your Crobo account. --- ### 💡 Tips to Maximize Your Crobo Coupon Code: 51k3b0je Bonus 👉 **Transfer the minimum qualifying amount or more** — this ensures you meet the conditions for the gift card. 👉 **Refer friends after your signup** — Crobo allows users who’ve signed up with codes like **Crobo coupon code: 51k3b0je** to share their own code for extra bonuses. 👉 **Check for additional Crobo promotions** — sometimes Crobo offers seasonal or regional deals that stack with the coupon code. 👉 **Complete your transaction soon after signup** — many bonuses have time limits, so act quickly! --- ### 🚀 Frequently Asked Questions about Crobo Coupon Code: 51k3b0je **Q: Can I use Crobo coupon code: 51k3b0je if I already have a Crobo account?** A: No — the **Crobo coupon code: 51k3b0je** is intended for **new users only**. It must be applied during the initial registration process. --- **Q: How long does it take to get the \$25 Amazon gift card after using Crobo coupon code: 51k3b0je?** A: Typically, the gift card is sent **within a few business days** after your first qualifying transfer is completed and verified. --- **Q: Are there hidden fees when using Crobo coupon code: 51k3b0je?** A: No — Crobo is transparent about its fees. The **Crobo coupon code: 51k3b0je** simply adds a bonus reward without increasing your costs. --- **Q: Can I combine Crobo coupon code: 51k3b0je with other promo codes?** A: The **Crobo coupon code: 51k3b0je** is generally applied as a standalone signup bonus. However, Crobo often offers **ongoing promotions** that may apply to future transactions. ---  📌 Reference Crobo promo code: {51k3b0je} Crobo discount code: {51k3b0je} --- # 🌍 Final Thoughts If you want to enjoy safe, fast, and affordable money transfers with an added bonus, **Crobo coupon code: 51k3b0je** is your best option. Not only will you experience excellent service, but you’ll also earn a **\$25 Amazon gift card** — a reward that you can use immediately for shopping or gifts. 👉 **Don’t wait — sign up today using Crobo coupon code: 51k3b0je and claim your bonus!**
    • Does this schematic contain stuff from the mod prettypipes? Looks like Forgematica has issues to load it Try to load the schematic with worldedit - remove the pipes, save it and test it again
  • Topics

×
×
  • Create New...

Important Information

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