
thebest108
Members-
Posts
503 -
Joined
-
Last visited
Everything posted by thebest108
-
A hook to enable/disable armor rendering on an entityPlayer
thebest108 posted a topic in Suggestions
Something simple like EntityPlayer.renderArmor = false would be nice -
Ahem, I believe this belongs in the tutorials section *derp*
-
When I try to launch MC with Forge installed and only Forge I crash.
thebest108 replied to Vips's topic in General Discussion
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) -
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.
thebest108 replied to Vips's topic in General Discussion
Update to java 7!!!! -
Procedural dungeon generation Mod - expert opinion
thebest108 replied to MasterRoland's topic in General Discussion
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
thebest108 replied to MasterRoland's topic in General Discussion
Thats all possible, also how would you want the keys to work? -
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
-
Shouldn't this be in the support section?
-
How To Detect Blocks Around Players Feet For 5 Blocks
thebest108 replied to ducsuus's topic in General Discussion
World.getBlockId(insert stuff here) -
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
-
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?
-
Look at buildcraft, it is open source you know
-
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
-
HELL YE-no Trust me, it's better this way
-
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
thebest108 replied to TheRaider's topic in General Discussion
Can you show us the code please? -
How to judge an entity is or isn't a zombie?
thebest108 replied to Wanghh's topic in General Discussion
if(entity instanceOf EntityZombie) Otherwise look in the shear code -
It's something like net.minecraft.src.Explosion derp = new net.minecraft.src.Explosion(add stuff here); derp.doExplosionA(); derp.doExplosionB(true);
-
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]
thebest108 replied to Dus998's topic in General Discussion
Nice job, this is really usefull