Spawning Entities

Discussion in 'Plugin Development' started by Fuzzybear04, Jan 31, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Fuzzybear04

    Hi there,

    Basically, I was wondering how I'd go about spawning entities in a set radius around a location, eg spawning them in a 10 block radius around a location.

    I'm not asking to be spoonfed code chunks or snippets, more along the lines of pseudo code

    Thanks for replying [If you do].

    Fuzzy
     
  2. Offline

    ReadySetPawn

    Have a for loop that gets all the exterior locations of the circle using sin and cos. Then within that for loop, spawn in the entity at the current location.
     
  3. Offline

    Fuzzybear04

    Ah okay, Thanks for the speedyish reply, I'll try out what you suggested @ReadySetPawn.
     
Thread Status:
Not open for further replies.

Share This Page