Everything posted by Draco18s
-
I don't get it anymore
Could be. I can't see your code from here.
-
I don't get it anymore
Slot 1200 is already occupied by invizzble.mods.nc.plants.PlantFullMoon@26f73ca4 when adding invizzble.mods.nc.plants.PlantFullMoon@31ae46f8 It would appear that you are attempting to register the same block twice.
-
[Solved]Configuration Trouble
class myclass { int myInt = 5; function myclass() { int myInt = 16; System.out.println(myInt); } } What is printed?
-
Is it possible for an entity to emit a red stone signal?
Computer craft turtles are entities only when moving. When still they are a block + tile entity, which can emit signals.
-
[Solved] Texture Files
As big or as small as you want. As by default all items and blocks use 16x16 textures your icon files would be... *Drum roll* 16x16!
-
[Solved] Texture Files
No tutorials. Really. And not one single thread on the forums, neither.
-
Changing the color of an item programmatically
That's called Natural Language Programming. Wolfram Alpha is a good example.
-
[Solved]Configuration Trouble
Insert a repeat of my last question, only using aluminumBlock not zincIngot
-
[Solved]Configuration Trouble
What line has this: zincIngot = new ZincIngot(...) ? Is it in the same function?
-
[Solved] Textures not loading in Minecraft after recompiling and reobstr
That's the 1.4.7 method of textures, where all your items belong in a sprite sheet. 1.5+ uses single 16x16 icons and the texture system (vanilla code) builds a custom spritesheet.
-
issue with detecting blocks
My point is: You need to learn the basics before you can mod minecraft. By not understanding that you needed to replace one set of loops with another set of loops and how to convert the pseudocode I posted into actual code, you have demonstrated that you have no idea what your doing.
-
Changing the color of an item programmatically
Seen it. Also Brain Fuck, Whitespace, Piet, Velato, Omgrofl, Malbolge, and Befunge. Dammit, stop being cooler than me. Although I do have to thank you for showing me those. TBH I'd only heard about Malbolge before, but not in detail, and Befunge I found when trying to find Piet (by which I mean I'd forgotten the name).
-
Rendering Items In-world
Nope, checked that. It's not null.
-
How to change Toolbar Icon?
Honestly. I'd just return different icons.
-
Changing the color of an item programmatically
Seen it. Also Brain Fuck, Whitespace, Piet, Velato, Omgrofl, Malbolge, and Befunge.
-
Rendering Items In-world
It is most definitely not. Write a custom renderer and put a System.out.println("I am rendering") in it. It gets called once when the block is placed and once again every time it updates. The results the doRender() function are essentially saved and reused to cut down on overhead (imagine if every block in your view needed to be recalculated every tick!).
-
Changing the color of an item programmatically
"Can" also means that you need a computer powerful enough. Besides, unless computing large numbers is a hobby (I wouldn't put it past you) or some part of your job, I'd think you'd be better off writing your own functions. That's probably what such a feature would look like in any language anyway, even as a builtin. Point. I just think it would be amusing.
-
How to change Toolbar Icon?
Look at the furnace.
-
directional problem
*Pokerface*
-
Rendering Items In-world
It runs once per block activation, as opposed to constantly. It SHOULD print this: Rendering frame 10 Rendering frame 9 Rendering frame 8 Rendering frame 7 Rendering frame 6 Rendering frame 5 Rendering frame 4 Rendering frame 3 Rendering frame 2 Rendering frame 1 Rendering frame 0
-
Changing the color of an item programmatically
*Innocent look* So I can calculate things like the XKCD number.
-
How to change Toolbar Icon?
Because the item in the hotbar doesn't call getBlockTexture(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) It calls getBlockTexture(int side, int metadata)
-
directional problem
Gee. Did you try declaring it and defining it first? Variables aren't magic.
-
Rendering Items In-world
How... is your TE getting set to null? It is not being set to null. I had a debug statement for that as well (it never ran). May have snipped it just before I posted the code, as I knew that was not the problem.
-
[Solved] Textures not loading in Minecraft after recompiling and reobstr
I downloaded the zip that you posted earlier and you have "mods" and "generic" inside a folder called "tutorial" which is at the root of the zip. You need to move the mods folder up so that it's next to "tutorial". If you're not using 1.4.7 code, then what's this? public class ClientProxy extends CommonProxy { public void registerRenderers() { MinecraftForgeClient.preloadTexture(ITEMS_PNG); MinecraftForgeClient.preloadTexture(BLOCK_PNG); } } That's 1.4.7 code.
IPS spam blocked by CleanTalk.