Created
October 14, 2015 00:11
-
-
Save stevommmm/585e4715a9ff6420d105 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BastilleGiant rEntityBoss = new BastilleGiant(rWorld); | |
rEntityBoss = rEntityBoss | |
.ignoreDamageSource(DamageSource.FIRE) | |
.ignoreDamageSource(DamageSource.LAVA) | |
.ignoreDamageSource(DamageSource.BURN) | |
.maxhealth(2000.0D) | |
.health(2000.0F) | |
.speed(0.20F) | |
.damage(4D) | |
.emtpyGoals() | |
.addGoal(0, new PathfinderGoalFloat(rEntityBoss)) | |
.addGoal(2, new PathfinderGoalMeleeAttack(rEntityBoss, EntityHuman.class, 1.0D, false)) | |
.addGoal(5, new PathfinderGoalMoveTowardsRestriction(rEntityBoss, 1.0D)) | |
.addGoal(8, new PathfinderGoalLookAtPlayer(rEntityBoss, EntityHuman.class, 8.0F)) | |
.addGoal(8, new PathfinderGoalRandomLookaround(rEntityBoss)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment