diff --git a/src/main/java/com/wenxin2/marioverse/entities/power_ups/SuperStarEntity.java b/src/main/java/com/wenxin2/marioverse/entities/power_ups/SuperStarEntity.java index dc83182b..54e24add 100644 --- a/src/main/java/com/wenxin2/marioverse/entities/power_ups/SuperStarEntity.java +++ b/src/main/java/com/wenxin2/marioverse/entities/power_ups/SuperStarEntity.java @@ -6,7 +6,6 @@ import com.wenxin2.marioverse.init.SoundRegistry; import com.wenxin2.marioverse.init.TagRegistry; import net.minecraft.sounds.SoundEvent; -import net.minecraft.sounds.SoundEvents; import net.minecraft.sounds.SoundSource; import net.minecraft.world.effect.MobEffectInstance; import net.minecraft.world.effect.MobEffects; @@ -14,8 +13,6 @@ import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.LivingEntity; import net.minecraft.world.entity.ai.attributes.Attributes; -import net.minecraft.world.entity.ai.goal.FloatGoal; -import net.minecraft.world.entity.ai.goal.LookAtPlayerGoal; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.Level; import net.neoforged.neoforge.fluids.FluidType; @@ -40,8 +37,7 @@ public SuperStarEntity(EntityType entityType, Level w @Override protected void registerGoals() { - this.goalSelector.addGoal(1, new LookAtPlayerGoal(this, Player.class, 8.0F)); - this.goalSelector.addGoal(2, new ContinuousJumpGoal(this)); + this.goalSelector.addGoal(1, new ContinuousJumpGoal(this)); } @Override