Everything posted by larsgerrits
-
[SOLVED/Workaround]How to use the Applied Energistics Materials API?
The line: ItemStack QuartzStack = Materials.matQuartzDust.copy(); causes the crash... But I can't figure out why...
-
Minecraft 1.6 Eclipse Library import help [solved]
What was the missing library? And where did you find it?
-
Making a new tilled dirt block register with seeds
Just copy that method to your block class, add the green stuff to that method and put the @Override annotation above it.
-
[SOLVED/Workaround]How to use the Applied Energistics Materials API?
I would help us if we can see your main class...
-
[INSANE]TileEntities/Rendering/NBT problems
I'll make my own thread than...
-
[INSANE]TileEntities/Rendering/NBT problems
So if anyone knows a solution to that, I (we) would appriciate that. It's kinda weird, that isn't the bugged line. I changed this line of code: int meta = te.getBlockMetadata(); int rotation = 0; if(meta == 2){rotation = 180;}//SOUTH if(meta == 3){rotation = 0;}//NORTH if(meta == 4){rotation = -90;}//EAST if(meta == 5){rotation = 90;}//WEST to: int meta = 0; if(te.worldObj != null) { meta = te.worldObj.getBlockMetadata((int)x,(int)y,(int)z); } int rotation = 0; if(meta == 2){rotation = 180;}//SOUTH if(meta == 3){rotation = 0;}//NORTH if(meta == 4){rotation = -90;}//EAST if(meta == 5){rotation = 90;}//WEST Now it doesn't crash anymore, but when I add: System.out.println(meta); and it seems like meta is always 0... If anyone knows why that is
-
[INSANE]TileEntities/Rendering/NBT problems
So if anyone knows a solution to that, I (we) would appriciate that.
-
[INSANE]TileEntities/Rendering/NBT problems
It still gives me an error: On the line 11 before the end it says: at mod.larsg310.bd.render.ItemTrafficLightRenderer.renderItem(ItemTrafficLightRenderer.java:30) And that is this line: TileEntityRenderer.instance.renderTileEntityAt(new TileEntityTrafficLight(), 0.0D, 0.0D, 0.0D, 0.0F); And thats in in the method: @Override public void renderItem(ItemRenderType type, ItemStack item, Object... data) { TileEntityRenderer.instance.renderTileEntityAt(new TileEntityTrafficLight(), 0.0D, 0.0D, 0.0D, 0.0F); } If anyone knows a solution, I would very appriciate that!
-
[INSANE]TileEntities/Rendering/NBT problems
That code is giving me a crash. Crash report: Error log: Eclipse log: ItemTrafficLightRenderer.java: TileEntityTrafficLightRenderer.java:
-
Item Descriptions
You don't have to just give people code, they need to search/research. Like he can look at the potion class and search there.
-
Recipes Which Use Tool Durabilty
For that you need and crafting handler. That basicly a class that implements ICraftingHandler. Add the unimplemented methods and you'll need some for loops to check if the item in the crafting grid. If it is, you need to add a new itemstack with the same item to your inventory, but with a lower durabillity. Than in your main class you'll need to register your crafting handler
-
Item Descriptions
Have you searched for some tutorials yourself? That is the first thing that you have to do?
-
Weird crashes
It would be helpfull if you give us ALL the code so we can solve it faster.
-
[Solved] Textures not loading in compiled mod [1.5.2]
Nvm, never knew that the package is case sensitive.
-
[Solved] Textures not loading in compiled mod [1.5.2]
No, it works in eclipse! But if I recompile my mod and i put it in minecraft, the textures don't load. My package structure is as follows: zip file - META-INF - MANIFEST.MF - mod - larsg310 - bd - [all files] - mods - bd - textures - blocks - [all textures
-
[Solved] Textures not loading in compiled mod [1.5.2]
Now I've compiled my mod and it don't crashes, but the textures are not loading in-game. Screenshot: [/img]
-
[Help]Making portal travel to a custom dimension
Code?
-
[INSANE]TileEntities/Rendering/NBT problems
To show your model in your inventory, you need a item renderer. Thats this class: And put this in your ClientProxy class:
-
[Solved] Negating mirrored crafting recipes [1.5.2]
And what would i put as my arguments? If I hover over this line: GameRegistry.addRecipe(new BDShapedRecipes()); it sais: Add arguments to match 'BDShapedRecipes(int, int, ItemStack[], ItemStack)'.
-
[Solved] Negating mirrored crafting recipes [1.5.2]
So i made a new recipes class and a new CraftingManager class, but do you know where it is called?
-
Custom Configuration File Directories
And this is not the place to put modding tutorials up!
-
[SOLVED] addInformation method on blocks?
What List class did you import?
-
[Solved] Negating mirrored crafting recipes [1.5.2]
Negating it. So that it gives me 2 different blocks instead of the same one.
-
[Solved] Negating mirrored crafting recipes [1.5.2]
No, its a bit hard to understand. So, if i wanna craft a block with this recipe: "YXX","YXX","YXX" I get the proper block. But if I craft ablock with this recipe: "XXY","XXY","XXY" i get the same block as the first one. That's because the two recipes are mirrored.
-
Multiple Mods in one mcmod.info File.[SOLVED]
You could make an API, and let your 3 mods use that API, so that they need that API installed to make that mod to work.
IPS spam blocked by CleanTalk.