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
|
.gradle
|
||||||
build/
|
build/
|
||||||
|
.idea
|
||||||
|
run
|
||||||
!gradle/wrapper/gradle-wrapper.jar
|
!gradle/wrapper/gradle-wrapper.jar
|
||||||
!**/src/main/**/build/
|
!**/src/main/**/build/
|
||||||
!**/src/test/**/build/
|
!**/src/test/**/build/
|
||||||
|
|
|
@ -57,7 +57,7 @@ public interface Platform<P> {
|
||||||
/**
|
/**
|
||||||
* @return The API instance.
|
* @return The API instance.
|
||||||
*/
|
*/
|
||||||
EntityLibAPI<?, ?> getAPI();
|
EntityLibAPI<?> getAPI();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the platforms name.
|
* @return the platforms name.
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class RandomHeadMovementGoal extends GoalSelector {
|
||||||
@Override
|
@Override
|
||||||
public void tick(long time) {
|
public void tick(long time) {
|
||||||
--lookTime;
|
--lookTime;
|
||||||
entity.teleport(entity.getWorld(), CoordinateUtil.withDirection(entity.getLocation(), lookDirection), entity.isOnGround());
|
entity.teleport(CoordinateUtil.withDirection(entity.getLocation(), lookDirection), entity.isOnGround());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue