File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/java/de/ntcomputer/minecraft/controllablemobs/api/ai Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public enum AIType {
6565 ACTION_DEFENDVILLAGE (PathfinderGoalDefendVillage .class ),
6666 ACTION_EATTILE (PathfinderGoalEatTile .class ),
6767 MOVE_FLEESUN (PathfinderGoalFleeSun .class ),
68- MOVE_FLOAT (PathfinderGoalFloat .class ),
68+ MOVE_SWIM (PathfinderGoalFloat .class ),
6969 MOVE_FOLLOWONWNER (PathfinderGoalFollowOwner .class ),
7070 MOVE_FOLLOWPARENT (PathfinderGoalFollowParent .class ),
7171 TARGET_HURTBY (PathfinderGoalHurtByTarget .class ),
Original file line number Diff line number Diff line change 1616 * @version v4
1717 *
1818 */
19- public class AIFloat extends AIBehavior <LivingEntity > {
19+ public class AISwim extends AIBehavior <LivingEntity > {
2020
2121 /**
2222 * Create with an automatically given priority.
2323 */
24- public AIFloat () {
24+ public AISwim () {
2525 this (0 );
2626 }
2727
@@ -30,7 +30,7 @@ public AIFloat() {
3030 *
3131 * @param priority the priority of this behavior. Specify 0 to auto-generate it
3232 */
33- public AIFloat (final int priority ) {
33+ public AISwim (final int priority ) {
3434 super (priority );
3535 }
3636
@@ -41,7 +41,7 @@ public PathfinderGoal createPathfinderGoal(CraftControllableMob<?> mob) {
4141
4242 @ Override
4343 public AIType getType () {
44- return AIType .MOVE_FLOAT ;
44+ return AIType .MOVE_SWIM ;
4545 }
4646
4747}
You can’t perform that action at this time.
0 commit comments