-
[1.7.2] New biome generate in new dimension
Yes!!! I knew about this problem (as in contact with it) but somehow forgot. Thank you very much! It works!
-
[1.7.2] New biome generate in new dimension
Hmm... When I looked carefully in launched game I see that all my custom blocks have ID less 256. I checked it out int a1=Block.getIdFromBlock(mod_MicroUkr.blockBlack); System.out.println( "blockBlack id " + a1); ... but this not help me
-
[1.7.2] New biome generate in new dimension
I make it in public void preInit(FMLPreInitializationEvent event) All me blocks and items work fine. I am interesting how add my custon blocks (with Forge1.7.2) to generate.
-
[1.7.2] New biome generate in new dimension
up
-
[1.7.2] New biome generate in new dimension
When I change this.topBlock and this.fillerBlock to standart block - all work fine. I see this blocks. But when I use my custom blocks - I see only the blocks that have to be under my blocks. My blocks I not see.
-
[1.7.2] New biome generate in new dimension
I created new dimension and want make in it custom biome. But when I use custom blocks it do not work (nothing generate instead of my blocks), but with standart blocks all work fine. In old version use blocks with ID <256. In 1.7.2 ID is no. How make this with 1.7.2?
-
[1.7.2] Spear
I decided to ignore the spears in my body. I spent too much time on it. Sorry for the trouble.
-
[1.7.2] Change item angles/position/scale
Thanks! It Help me! I make this in 3D. [sOLVED]
-
[1.7.2] Change item angles/position/scale
How change item position/angles/scale in hand in first person view or third person view
-
[1.7.2] Spear
I found it before. But for me, too hard to do it. I can only turn off render the spear in Entity (Update method) if (movingobjectposition.entityHit.attackEntityFrom(damagesource, (float)k)) { if (movingobjectposition.entityHit instanceof EntityLivingBase) { EntityLivingBase entitylivingbase = (EntityLivingBase)movingobjectposition.entityHit; if (!this.worldObj.isRemote) { // entitylivingbase.setArrowCountInEntity(entitylivingbase.getArrowCountInEntity() + 1); } if (this.knockbackStrength > 0) { f4 = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ); if (f4 > 0.0F) { movingobjectposition.entityHit.addVelocity(this.motionX * (double)this.knockbackStrength * 0.6000000238418579D / (double)f4, 0.1D, this.motionZ * (double)this.knockbackStrength * 0.6000000238418579D / (double)f4); } } if (this.shootingEntity != null && this.shootingEntity instanceof EntityLivingBase) { EnchantmentHelper.func_151384_a(entitylivingbase, this.shootingEntity); EnchantmentHelper.func_151385_b((EntityLivingBase)this.shootingEntity, entitylivingbase); } if (this.shootingEntity != null && movingobjectposition.entityHit != this.shootingEntity && movingobjectposition.entityHit instanceof EntityPlayer && this.shootingEntity instanceof EntityPlayerMP) { ((EntityPlayerMP)this.shootingEntity).playerNetServerHandler.sendPacket(new S2BPacketChangeGameState(6, 0.0F)); } } or through event RenderPlayerEvent.Specials.Pre private EntityVyla bb; private EntityArrow cc; @SubscribeEvent public void onRenderPlayer(RenderPlayerEvent.Pre e) { if (!e.entityPlayer.hitByEntity(bb)) { e.entityPlayer.setArrowCountInEntity(0); } }
-
[1.7.2] Spear
Yes. My spear work. I have only one problem: when i hit himself I see ARROW in players body but not SPEAR
- [1.7.2] Spear
-
[1.7.2] Spear
this.setPosition(this.posX, this.posY+1, this.posZ); SOLVED Sorry, but I have another problem. When I hit a spear in myself :-), then if look from the side, instead of spears - arrow. In entity arrow and in Render I find nothing. But in RenderPlayer I find renderEquippedItems function that call another interesting function super.renderArrowsStuckInEntity (par1AbstractClientPlayer, par2) I try override this. But nothing. Tell me where to look or how to make it. Thanks.
-
[1.7.2] Spear
I created something like spear. Item Entity But I have some problem. When I am at Cretive mode I can throw a spear and I see my spear in the fly. But when I am at Game mode, when I throw a spear I get at once hit (4 hearts) and I not see my spear in the fly... I not understand this. Maybe problem in onCollideWithPlayer or in other place?... Thanks. /sorry for my english/
-
[1.7.2] onImpact not work
Sorry. I detect my error. In the EntityBullet class in constructor. Must be public EntityBullet(World par1world, EntityPlayer par3EntityPlayer) { super(par1world,[b]par3EntityPlayer[/b]); } I lost par3EntityPlayer. (I created other similar item and entity and saw this error. I guess that the error is in my code. Sorry again for the trouble )
IPS spam blocked by CleanTalk.