Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.

ARandomQuickTimeEvent

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ARandomQuickTimeEvent

  • Rank
    Freshly Spawned
  1. Plugin Help

    Well erm, This would be my first plugin for a mod as well as my first mod that requires anything other than base (Ive never messed around with Modloader or anything else)... So I was wondering how to compile this being that it would be separate from the Jar. If you wanna compile it be my guest but Id still like to know what to do. Code (Note: It just adaption from the Cave Spider): package TFC.Entities.Mobs;import TFC.TFCItems;import cpw.mods.fml.common.Side;import cpw.mods.fml.common.asm.SideOnly;import java.util.Random;import lq;import qr;import uk;import um;import xv;public class EntityZombieTFC extends qr{ private int field_82234_d = 0; public EntityZombieTFC(xv par1World) { super(par1World); } public int aT() { return 1000; } public int aW() { int var1 = super.aW() + 2; if (var1 > 20) { var1 = 20; } return var1; } public int c(lq par1Entity) { um var2 = bD(); int var3 = 100; if (var2 != null) { var3 += var2.a(this); } return var3; } public boolean attackEntityAsMob(Entity par1Entity) { if (super.attackEntityAsMob(par1Entity)) { if (par1Entity instanceof EntityLiving) { byte var69 = 0; if (this.worldObj.difficultySetting > 1) { if (this.worldObj.difficultySetting == 2) { var69 = 7; } else if (this.worldObj.difficultySetting == 3) { var69 = 15; } } if (var69 > 0) { ((EntityLiving)par1Entity).addPotionEffect(new PotionEffect(Potion.poison.id, var69 * 20, 0)); ((EntityLiving)par1Entity).addPotionEffect(new PotionEffect(Potion.moveSlowdown.id, var69 * 20, 0)); } } return true; } else { return false; } } protected void l(int par1) { switch (this.aa.nextInt(3)) { case 0: b(TFCItems.WroughtIronIngot.cg, 1); break; case 1: b(TFCItems.Carrot.cg, 1); break; case 2: b(TFCItems.Potato.cg, 1); } } protected void bE() { super.bE(); b(1, null); b(2, null); b(3, null); b(4, null); if (this.aa.nextFloat() < (this.p.t == 3 ? 0.05F : 0.01F)) { int var1 = this.aa.nextInt(3); if (var1 == 0) { b(0, new um(TFCItems.BronzePick)); } else { b(0, new um(TFCItems.BronzeShovel)); } } } @SideOnly(Side.CLIENT) public void a(byte par1) { if (par1 == 16) { this.p.b(this.t + 0.5D, this.u + 0.5D, this.v + 0.5D, "mob.zombie.remedy", 1.0F + this.aa.nextFloat(), this.aa.nextFloat() * 0.7F + 0.3F); } else { super.a(par1); } }}