Add a mob extension plugin for walking to entities

Adds a new mob extension plugin which creates a walk_to() method on
Mobs to allow walking to another entity (accounting for the size of the
entity) with an optional facing position.
This commit is contained in:
Gary Tierney
2017-01-01 08:17:21 +00:00
parent b047d0197a
commit baa12ca446
4 changed files with 128 additions and 3 deletions
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<plugin>
<id>mob-walk-to</id>
<version>0.1</version>
<name>Mob path generation</name>
<description>Adds a mixin for making mobs walk to another entity.</description>
<authors>
<author>Gary Tierney</author>
</authors>
<scripts>
<script>walk_to.rb</script>
</scripts>
<dependencies>
<dependency>mob-extension</dependency>
</dependencies>
</plugin>