fully remove world api, not needed
This commit is contained in:
parent
c39f4772c7
commit
fa7c833ac5
3 changed files with 4 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
|||
.gradle
|
||||
build/
|
||||
.idea
|
||||
run
|
||||
!gradle/wrapper/gradle-wrapper.jar
|
||||
!**/src/main/**/build/
|
||||
!**/src/test/**/build/
|
||||
|
|
|
@ -57,7 +57,7 @@ public interface Platform<P> {
|
|||
/**
|
||||
* @return The API instance.
|
||||
*/
|
||||
EntityLibAPI<?, ?> getAPI();
|
||||
EntityLibAPI<?> getAPI();
|
||||
|
||||
/**
|
||||
* @return the platforms name.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue