Phantom Scarecrows: Difference between revisions

Remove icon field from ModuleInfoBoxes that don't need it
(more info)
(Remove icon field from ModuleInfoBoxes that don't need it)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ModuleInfobox|name=Phantom Scarecrows|creator=Bluefire610|type=Stand Alone|versions=1.13+}}


<!--T:1-->
This modules adds a scarecrow which shoots down Phantoms using a firework-like projectile.
{{ModuleInfobox|name=Phantom Scarecrows|icon=gm4_logo.png|creator=Bluefire610|type=Stand Alone|versions=1.13}}


<!--T:15-->
==Features==
This module causes a custom armour stand to shoot nearby phantoms out of the sky.
==Details== <!--T:2-->
A Phantom Scarecrow can be created by placing a skeleton, wither skeleton, or zombie skull on an armour stand and a chest plate with a curse enchantment (Vanishing or Binding).
A Phantom Scarecrow can be created by placing a skeleton, wither skeleton, or zombie skull on an armour stand and a chest plate with a curse enchantment (Vanishing or Binding).


When a phantom is in range, the Phantom Scarecrow will release a projectile that searches for the nearest phantom, explodes and kills it. Explosion damage from the projectile also damages nearby phantoms and other entities. If a phantom is detected, a projectile will spawn above the scarecrow and will move towards the closest phantom. If the projectile hits a block on its path to the phantom, the projectile will explode.
Every 4 seconds scarecrows will check 20 blocks above it in a 25 block radius for phantoms. When a phantom is in range, the Phantom Scarecrow will release a projectile that searches for the nearest phantom, explodes and kills it, leaving a firework with a random color. Explosion damage from the projectile also damages nearby phantoms and other entities. If a phantom is detected, a projectile will spawn above the scarecrow and will move towards the closest phantom. If the projectile hits a block on its path to the phantom, the projectile will explode.


===Technical Summary=== <!--T:3-->
[[File:Created Phantom Scarecrow.png|thumb|Phantom Scarecrow created by Denniss on [[Public Server V]]]]
The scarecrow will check 20 blocks above it in a 25 block radius for phantoms.
 
When the firework explodes, a random colour is chosen.


===Technical Details===
When the Phantom Scarecrow is created, all slots are locked to prevent interaction.
When the Phantom Scarecrow is created, all slots are locked to prevent interaction.


The scarecrow shoots a projectile every 4 seconds. The projectile moves at 16 blocks per second.
The projectile moves at 16 blocks per second.


Below is a list of blocks that projectiles can move through without exploding.
Below is a list of blocks that projectiles can move through without exploding.
{| class="wikitable"
{| class="wikitable"
|+
|+
! colspan="3" |Traversable Blocks
! colspan="5" |Traversable Blocks
|-
|Air
|Iron Pressure Plate
|Tripwire
|-
|Redstone Torch
|Golden Pressure Plate
|Tripwire Hook
|-
|-
|Lever
|{{Stack|Air|size=24}} Air
|Buttons
|{{Stack|Heavy Weighted Pressure Plate|size=24}} Pressure Plates
|Banners
|{{Stack|String|size=24}} Tripwire
|{{Stack|Redstone Torch|size=24}} Redstone Torch
|{{Stack|Tripwire Hook|size=24}} Tripwire Hook
|-
|-
|Stone Pressure Plate
|{{Stack|Lever|size=24}} Lever
|Ladder
|{{Stack|Oak Button|size=24}} Buttons
|
|{{Stack|Blue Banner|size=24}} Banners
|-
|{{Stack|Ladder|size=24}} Ladder
|Wooden Pressure Plates
|{{Stack|Oak Sign|size=24}} Signs
|Sign
|
|}
|}


=== Advancements === <!--T:4-->
=== Advancements ===
{| class="wikitable"
{| class="wikitable"
|+
|+
!Advancement
!Advancement
!Description
!Requirement
!Requirement
|-
|-
|Not so smart defenses
|{{Advancement|Firework Rocket|Not so smart defenses|Get hit by a Phantom Scarecrow}}
|Get hit by a Phantom Scarecrow
|Be within 3 blocks of a projectile explosion
|Be wishing 3 blocks of a projectile explosion
|}
|}


== Learn More and Download == <!--T:5-->
== Learn More and Download ==
{{YouTube|url=https://youtube.com/AccidentalGames}} {{Download|url=https://gm4.co/modules/phantom-scarecrows}}
{{YouTube|url=https://youtube.com/AccidentalGames}} {{Download|url=https://gm4.co/modules/phantom-scarecrows}}


== History == <!--T:6-->
== History ==
{| class="wikitable"
{| class="wikitable"
|+
|+
!Version
!Date
!Date
!Version
!Change
!Change
|-
|-
|08 January 2019
|1.13
|3.0
|08 Jan 2019
|Released Phantom Scarecrows
|Released Phantom Scarecrows
|}<!--T:7-->
|}


[[Category:All Modules]]
[[Category:All Modules]]
[[Category:Stand Alone Modules]]
[[Category:Stand Alone Modules]]
<!--T:11-->
Bots, emailconfirmed, staff
60

edits