Interface ICustomGoalWrapper


public interface ICustomGoalWrapper
Interface for custom pathfinder goal wrappers in the NMS (Net Minecraft Server) system. Implementations of this interface should provide a way to create a handle for a custom goal.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a handle for a custom goal using the provided NMS mob object.
  • Method Details

    • createHandle

      Object createHandle(Object nmsMob)
      Creates a handle for a custom goal using the provided NMS mob object.
      Parameters:
      nmsMob - the NMS mob object to create the handle for
      Returns:
      the handle object for the custom goal