Everything posted by thebest108
-
A hook to enable/disable armor rendering on an entityPlayer
Something simple like EntityPlayer.renderArmor = false would be nice
-
My Tutorials
Ahem, I believe this belongs in the tutorials section *derp*
-
When I try to launch MC with Forge installed and only Forge I crash.
As far as I know, the auto updater doesn't yet install java 7. You'll have to get it from here http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html Based on your system specs, I recommend you download the second to last one EDIT: if that still does not work, then bug the developer of terrafirmacraft for crashing your game (still I recommend java 7 because it's faster)
-
Is it possible to make armor invisible?
I know that you can change an itemstacks texture on the fly, but is it possible to change armors texture on the fly, without modifying the armor's file
-
When I try to launch MC with Forge installed and only Forge I crash.
Update to java 7!!!!
-
Procedural dungeon generation Mod - expert opinion
I guess if you were really clever with generating nbt tags then you could, although it would be easier to have different colored keys rather than custom ones
-
Procedural dungeon generation Mod - expert opinion
Thats all possible, also how would you want the keys to work?
-
Targeting blocks for destruction.
Rather than replacing the blocks with air, make a small explosion that's 1 block big and won't spawn any particle effects. It's something like Explosion exp = new Explosion() exp.doExplosionB(true) //exp.doExplosionA; or you could try World.spawnExplosion() That should break the blocks properly
-
Strange Crash
Shouldn't this be in the support section?
-
How To Detect Blocks Around Players Feet For 5 Blocks
World.getBlockId(insert stuff here)
-
Alternative Player Join events
Or you could check a players nbt tag when they join and if the have a certin tag the don't do something, and if they don't have the tag then do something and write the tag to the player
-
Triggering something when armor is put on
Im making a piece of armor that triggers some stuff when you put it on but the method onUpdateTick (something like that) only runs when it's in the players inventory, not the armor slot. Can someone please help?
-
Targeting blocks for destruction.
Look at buildcraft, it is open source you know
-
detecting if you right click a block
put this in your item file public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10){ if(par3World.getBlockId(par4 + Facing.offsetsXForSide[par7], par5 + Facing.offsetsYForSide[par7], par6 + Facing.offsetsZForSide[par7]) == YourBlockId&&!par3World.isRemote){ par3World.setBlock(par4 + Facing.offsetsXForSide[par7], par5 + Facing.offsetsYForSide[par7], par6 + Facing.offsetsZForSide[par7], YourOtherBlockId); par1ItemStack.damageItem(1); } return true; } This should work
-
[POLL] Do you want official modding tutorials for forge, including syntax, etc?
I want an official tutorial!!!
-
How to change the Resistance of Obsdian without changing valina code?
I'm not sure about this but you could try Block derp = new Block() If block is a list then you would be able to do derp.something that would edit the list
-
Join a server without installing forge?
HELL YE-no Trust me, it's better this way
-
need help with my Mod
public int idDropped(int par1, Random par2Random, int par3){ int derp = par2Random.nextInt(99); if(derp<45){ return this.dirt.blockId; }else{ if(derp<70){ return this.cobblestone.blockId; }else{ if(derp<90){ return this.sand.blockId }else{ if(derp<95){ return iron.itemId; }else{ if(derp<97){ return item.coal.itemId; }else{ if(derp<99){ return item.gold.itemId; }else{ return item.diamond.itemId; } } } } } }
-
Server chunks not displaying correctly but single player fine
Can you show us the code please?
- How to properly create an AABB pool?
-
How to judge an entity is or isn't a zombie?
if(entity instanceOf EntityZombie) Otherwise look in the shear code
-
What makes the potion effect invisible make the player invisible?
Nuff sed
-
How to create an explosion?
It's something like net.minecraft.src.Explosion derp = new net.minecraft.src.Explosion(add stuff here); derp.doExplosionA(); derp.doExplosionB(true);
-
Running code on air blocks
Air blocks are in indeed a block, it's not just nothingness, it you break an air block and there's nothing there, the game crashes
-
Free to use world generation files [list]
Nice job, this is really usefull
IPS spam blocked by CleanTalk.