- 05 Jun 2015 19:53
#155579
I'm surprised everyone here asks for such insanely complex things. Usually you poor mod developers are overwhelmed by maddeningly simple and trivial ideas from fans lol
Since this is something you intend to look at, here are some details on how I set up the classical spawning system. Firstly here is a short gif showing how it works.
You will notice that the 7x7 area doesn't produce a PXMN every time you walk through it. This is due to your mods PXMN spawner's 'land' setting only looking for bare grass blocks. Anything with long grass or other decorative non-solid blocks is treated as invalid to spawn on. This has some advantages and some disadvantages.
The first advantage is each 7x7 patch can be designed with a fixed spawn chance based upon the number of tall grass blocks covering the area. In this set up, the chance of a successful spawn is 26%.
The workings are under the top layer and are very simple. There is the CustomNPC redstone block which is set to produce a redstone signal if anyone moves within a 3x3 block radius and then stop producing the signal when someone moves outside of that range. These can be configured to only work at day or night, which is why you see two spawners and two detectors. The PXMN spawners are set to only spawn within a 2x2 radius, only allow a maximum of 1 PXMN, only trigger on a redstone signal and spawn on 'Land'. I tried setting it to air, but flying PXMN basically take off straight into the sky and never come down. Quite amusing but not very helpful. Finally, the mobs are set to Aggressive. This way they instantly spawn and engage the player in battle, in the video I was in creative mode because the distance they spawn from the player means that the battle starts almost instantly and you'd not see the Raichu appear.
Ideally what is needed is a self-contained PXMN spawner that can simply be placed under any surface. This would mean you can ditch the Pokegrass entirely and allow players to put these wherever they want. It needs all of the functionality of the existing PXMN Spawner but with a seperate Day/Night list and the ability to only spawn when a player moves within a certain distance.