Everything posted by GotoLink
-
[RESOLVED!][HELP] Custom TileEntity Render not working!
So...you tried and then... ?
-
[SOLVED] Forge can't read my OBJ model
Try deleting the offending line (line 5) in your obj. It might be just Forge being picky.
-
Need Help With Making Content Packs For My Mod :( Please Help ???
Are you talking about java files to compile and obfuscate, or some setting files with "readable" text ?
-
Variable Weapon Damage
LivingHurtEvent/LivingAttackEvent ? You can get the ItemStack held at the hit time, read the NBT and deal different damage.
-
How to make an entity that moves through blocks
I would override doBlockCollisions(). Warning : Recommended to have a flying entity !
-
Getting forge to recognize a class
Jar editing ? You are doing it wrong. Mod goes in mods folder.
-
[RESOLVED!][HELP] Custom TileEntity Render not working!
Let's see...you have a field called proxy which should be populated by @SidedProxy with your CommonProxy on server side and ClientProxy on client side. The answer is: proxy.registerRenderers();
-
Problem with portal to dimension
Within onBlockActivated method, you want to perform checks for the item in player hand, and whether the blocks are in the correct shape. Then use world.setBlock(x,y,z, blockportalid) for all good coordinates.
-
Compiling a mod
You have got it all wrong. You put nothing into the minecraft jar file. Everything goes into the mods folder. Nothing has changed in this regard. The only new thing is the pack.mcmeta file, which you can put alongside the mcmod.info file. Templates are easy to find on the wiki, but here they are: { "pack":{ "pack_format":1, "description":"Resource pack sample" } } [ { "modid": "", "name": "", "description": "", "version": "", "credits": "", "logoFile": "", "mcversion": "", "url": "", "updateUrl": "", "authors": [""], "parent":"", "screenshots": [], "dependencies": [] } ]
-
Event suggestions
Github help is here: https://help.github.com/articles/using-pull-requests
-
Compiling a mod
Should I repeat what Mazetar said ? Nothing has changed.
-
Custom tool- and armorset
It is so easy, it is basic Java and does not depend on Forge. Make new instance of the item classes you want.
-
Entity not rendering
You don't. Only use registerModEntity. If you need a (vanilla-) spawn egg you have to use the Global id, otherwise not. You don't have to use global id for that either. Make your spawn eggs by extending ItemMonsterSpawner and use your local ids/names/whatever.
-
[1.6.2] Potion Effect Textures [Solved]
The file path don't match, it should be ResourceLocation("more_apples","textures/gui/container/inventory.png")
-
EnumAction won't work
You are supposed to setItemInUse(args) at some point.
-
[1.6.2] Potion Effect Textures [Solved]
You have to change the texture path.
-
How to modify the GuiMainMenu ?
That is why you should make a jar and put it into mods folder.
-
[1.6.2] Potion Effect Textures [Solved]
Use your own texture. new ResourceLocation("mymodname","mytexture.png");
-
Can't get a mob to drop metadata items
You can override: protected void dropFewItems(boolean par1, int par2) and drop the ItemStack yourself, as well.
-
Can't Render Projectile As A 3D Model [1.6.2]
EntityPigMissile is not a subclass of EntityLiving, you can't use RenderPig.
-
How to modify the GuiMainMenu ?
Coremods are supposed to be contained in jar files.
-
Get the current minecraft directory
It is now a field instead of a method. mcMetaDir
-
Texture block differently depending on the player's helmet? (ISBRH Help)
Just to make sure, do you want any player to see the second texture if one player is close enough to the block with the helmet ? If you do, then TESR would be easier. If you don't, then ISBRH, with Minecraft.thePlayer.getCurrentArmor(... , and the tile entity is unneeded.
-
[Event]PlayerLookAtEnderman Event
With a LivingSetAttackTargetEvent: living.setAttackTarget(null);
-
OnDeath
You are not doing anything with that line. It is a simple boolean. I would think that x is not correct. (probably null)
IPS spam blocked by CleanTalk.