Skip to content

Instantly share code, notes, and snippets.

@Spartan322
Created April 1, 2016 14:38
Show Gist options
  • Save Spartan322/b06859e8e7118f87e3a9b96f3367cf4b to your computer and use it in GitHub Desktop.
Save Spartan322/b06859e8e7118f87e3a9b96f3367cf4b to your computer and use it in GitHub Desktop.
// package and imports
public interface IWardPlacer extends IScriptObject {
/**
* Creates a Ward Entity that can trigger wards itself
*
* @param instance
* The instance of the script
* @param world
* The world to place in
* @param position
* The position aimed to place at
* @param wardWords
* The words to insert into the ward
*
* @return The entity related to the ward
*/
Entity /* or Block or TileEntity or maybe a WardEntity object?? IDK */
getWardEntity(ScriptInstance instance, World world, Vec3 position, String wardWords);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment