-
Posts
16559 -
Joined
-
Last visited
-
Days Won
156
Everything posted by Draco18s
-
And what's the error now?
-
You might be better off extending BlockDoor instead and just overriding the pieces that need to be different.
-
setTextureName("oomod:Tdoor") You could have looked at the registerIcons function to figure this out.
-
No! Don't use the LanguageRegistry! D: lang files! Its an asset! So much nicer and easier to maintain! http://www.minecraftforge.net/forum/index.php/topic,16277.msg82670.html#msg82670
-
"Should not be" is not "is not"
-
What is the code at that line? That's why I said "Look at the ItemStack constructor"
-
1) Check to make sure that the block / item is not null when you pass it to the itemstack constructor. 2) Look at the ItemStack constructor at the line the crash report indicates to figure out what object might be null.
-
That is actually irrelevant.
-
Make sure. Also take a look at ItemStack.java to see what's going on there.
-
Is TMBlocks.essentiaContainer non-null?
-
Weird random lag for 15 minutes+ each time
Draco18s replied to ninehous's topic in General Discussion
A friend of mine runs a server with over 230 mods. -
There are in fact, two functions. onBlockAddedToWorld and onBlockPlacedBy If I am remembering the full names correctly. The first one will fire any time any block "becomes" your block (pushed by a piston, placed by endermen, added in worldgen, etc) the other is only when the player directly places it from their inventory (and which player is passed).
-
And which func would that be?
-
[1.7.2 -- SOLVED] ClassNotFoundException and some other errors
Draco18s replied to Bektor's topic in Modder Support
Looks like you didn't run either gradel setupDevWorkspace (sp?) or gradel eclipse -
Suggestions for Efficient Mod Making Please?
Draco18s replied to Manxellion's topic in Modder Support
You should set defaults in your config, yes. Forge handles a lot of that for you with its Configuration class, as it requires a default value, but you don't have to worry about file IO yourself. -
Yup.
-
http://ichun.us/mods/morph/ IIRC, it's open source. What you're trying to do, btw, is non-trivial.
-
http://mcpold.ocean-labs.de/index.php/MCPBot
-
Dude, that's not the problem. net.minecraftforge.client.model.ModelFormatException: IO Exception reading model format
-
Suggestions for Efficient Mod Making Please?
Draco18s replied to Manxellion's topic in Modder Support
My entire post on it WAS a tutorial. It's that freaking simple. Or see below. Yes, that's right. And yes, you do. -
[1.6.4] Rendering items in a tileEntity (in world)
Draco18s replied to lexwebb's topic in Modder Support
itemEnt.rotationYaw = 0; That value is randomized when item entities are instanciated. -
Did you set up your @NetworkMod annotation?
-
I think your packet channel is too long. I think its limited to 16 characters.
-
Client/server disparity probably.
-
[1.6.4] Rendering items in a tileEntity (in world)
Draco18s replied to lexwebb's topic in Modder Support
That was the rotation of the block itself. It's based on metadata. Also, you will need to set the entity's age to 0 every frame or it will self-rotate like any other dropped item.