fully remove world api, not needed

This commit is contained in:
Tofaa 2024-02-17 19:06:57 +04:00
parent c39f4772c7
commit fa7c833ac5
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,5 +1,7 @@
.gradle
build/
.idea
run
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

View file

@ -57,7 +57,7 @@ public interface Platform<P> {
/**
* @return The API instance.
*/
EntityLibAPI<?, ?> getAPI();
EntityLibAPI<?> getAPI();
/**
* @return the platforms name.

View file

@ -66,7 +66,7 @@ public class RandomHeadMovementGoal extends GoalSelector {
@Override
public void tick(long time) {
--lookTime;
entity.teleport(entity.getWorld(), CoordinateUtil.withDirection(entity.getLocation(), lookDirection), entity.isOnGround());
entity.teleport(CoordinateUtil.withDirection(entity.getLocation(), lookDirection), entity.isOnGround());
}
@Override