DerPavlov / Cannons

Fire block based Cannons in Minecraft
http://dev.bukkit.org/bukkit-plugins/cannons/
8 stars 35 forks source link

cannons 2.4.8 firing not working for custom cannons #16

Closed nitro77live closed 4 years ago

nitro77live commented 5 years ago

there are no errors in the logs for this but for some of my custom cannons i set the firing mechanism to a button but when i load the cannon it does not fire after i push the button. it works for one cannons but all the others dont work i am using the version 1.12.2

DerPavlov commented 5 years ago

Can you send me the design, I will have a look.

nitro77live commented 5 years ago

cannons.zip

nitro77live commented 5 years ago

this is the file for the 2 non working cannons

DerPavlov commented 5 years ago

I renamed your designs to 20mmcannon.schematic and 20mmcannon.yml 10inchgun.schematic and 10inchgun.yml

For the 10inchgun I replaced this section:

  redstoneTrigger: 
    #the block used by the schematic to indicate where the redstone signal needs to lead to. Default is a lever
    schematic: 'STONE_BUTTON:4'
    #the block used in game where the redstone signal needs to lead to. Default is stone button
    ingame: 'STONE_BUTTON:4'

The 20mmcannon was facing west, and I had to set this section to

redstoneTrigger: 
    #the block used by the schematic to indicate where the redstone signal needs to lead to. Default is a lever
    schematic: 'STONE_BUTTON:2'
    #the block used in game where the redstone signal needs to lead to. Default is stone button
    ingame: 'STONE_BUTTON:2'

Sadly there is no plugin which could help me, so I had to check with F3 and the wiki to get the correct datavalue. Cannons 2.5 comes with a blockdata command. I recommend building your cannons in the same direction to avoid these copy paste issues. Cannons can be spawned for testing purposes with '/cannons create 20mmcannon'

Let me know if this worked for you.

nitro77live commented 5 years ago

thank you! it works