Everything posted by ObsequiousNewt
-
NPC Village
Look at the tutorial for world generation. You could copy the Minecraft village generation code if you want, or else write your own algorithms.
-
fontRender a litle bit stange....
What's weird about it? You asked Minecraft to draw "some text" at (5,45) and it did.
-
Decompiling issue.
Um, Lex? Please don't flame me, but... javac doesn't accept memory arguments, only the runtime does.
-
getBiomeGenForCoords()
In onItemRightClick() you are passed an EntityPlayer. All you need is player.worldObj.getBiomeGenForCoords(x,z).
-
How to know current block´s coordinates
Alternatively, you might want onNeighborBlockChange(world,x,y,z,meta), which sounds more appropriate for your situation.
-
Custom hitbox for my mob
I don't think it will work if you pass 0 to every argument. I also think there's another function you need to override: getCollisionBox(Entity). Alternatively, you could try modifying the field this.boundingBox. I'd be glad to help, though, as I need the answer to this problem myself.
-
[SOLVED] Forge loader exception, proxy injector error and heap space error
Proxy must be both public and static.
-
How do I add a drop to leaves ?
Look at shouldSideBeRendered (the way you want it is under BlockLeavesBase. Of course, you could also just extend BlockLeavesBase instead of Block.)
-
2 things I'd like to know for my mod.
How would I go about doing that exactly? Redefine onUpdate(ItemStack, World, Entity, int, bool) in the item that you want to change. Put some sort of a check in there: if X ticks have passed, change the contents of the ItemStack. Okay, so I have this class.
-
[1.5.2]Memory Heap
...Oh. You're one of those modders. Do you have a Git/SVN/&c repository for your mod?
-
New Potion Recipe
What you actually do is define setPotionEffect() in the item class.
-
best practice: how and where to put natives/resources
The server doesn't need natives because all of the Minecraft natives are client-only (keyboard/mouse input, rendering, &c.) It's largely your choice where you put the server native; I would recommend putting it somewhere inside the directory where the server jar is.
-
Trying to render weapon for custom mob
Entity class won't tell us much; we need the Render class.
-
How and where to override Chunk.java?
Create your own WorldGen. There are tutorials available.
-
Missing mod entity information
It's his problem. Most likely has some irregularity in his file; he should re-download it.
-
Dynamic-Size Container
I doubt what you're trying to do is possible. I would recommend posing your problem to Lex (i.e. suggest a Forge hook for it), but be warned of flame.
-
Player stop hitting
Modify Minecraft.sendClickBlockToController(int, bool). It's line 1250. You'll have to make your mod a coremod, but I'm fairly sure there's no way around that.
-
Black Screen (No Errors)
Oh really? There's no such field as EnumToolMaterial.JIBLET, and, if there is, there shouldn't be, as you shouldn't be editing base classes.
-
Starting minecraft in eclipse trouble.
I guess it looks like a problem with your network.
-
[solved] Armour Icons Missing Texture in Tab
Any reason you're using field_94604_cx instead of itemIcon?
-
Custom Mob and Textures? [Solved]
If the folder has a lowercase 'm', then no wonder.
-
[1.5.2]Memory Heap
Could I see the main mod source file? If this is caused by your mod, it looks like you're using the configuration incorrectly. Besides, if you're writing your mod right, the configuration should regenerate automatically; you should have default IDs hardcoded.
-
Rendering a projectile
Look at how ItemStack renders, I suppose, or else XPOrb. Frankly, it's just a matter of rendering a textured square, which is simple GL.
-
Creating new dimension?
I did a dimension myself back in 1.4.6; I can help you if you like.
-
2 things I'd like to know for my mod.
How would I go about doing that exactly? Redefine onUpdate(ItemStack, World, Entity, int, bool) in the item that you want to change. Put some sort of a check in there: if X ticks have passed, change the contents of the ItemStack. Okay, so I have this class.
IPS spam blocked by CleanTalk.