Break_Blocks does not work, does not break blocks #351


Open
  • Robotnikrobotnik created this issue Dec 20, 2016

    I am trying to make a drill weapon which breaks blocks when used. But the break_block node does not seem to work, as none of the projectiles are breaking any blocks when they hit. The weapon damages entities just fine, but does not do anything to blocks

     

    here is my drill weapon which i'm trying to use

    Drill:
        Item_Information:
            Item_Name: "&2Drill"
            Item_Type: 291
    #        Item_Lore: "&eRocket launcher.|&eFire down at your|&efeet to rocket-jump.|&eNegates fall damage.|&1Uses cobblestone as ammo."
            Sounds_Acquired: ENTITY_BAT_TAKEOFF-1-1-0
        Shooting:
            Cancel_Left_Click_Block_Damage: false
            Cancel_Right_Click_Interactions: false
            Recoil_Amount: 0
            Projectile_Amount: 1
            Projectile_Speed: 10
            Projectile_Type: snowball
            Projectile_Damage: 5
            Sounds_Shoot: ENTITY_WITHER_SHOOT-1-2-0,ENTITY_GENERIC_EXPLODE-1-2-0
            Right_Click_To_Shoot: true
            Removal_Or_Drag_Delay: 2-false
        Fully_Automatic:
            Enable: true
            Fire_Rate: 1
        Reload:
            Enable: true
            Reload_Amount: 100
            Reload_Duration: 20
            Take_Ammo_On_Reload: true
            Take_Ammo_As_Magazine: true
            Sounds_Reloading: BLOCK_NOTE_BASS-2-0-30
            Dual_Wield:
                Single_Reload_Duration: 50
                Sounds_Shoot_With_No_Ammo: ENTITY_ITEM_BREAK-2-1-0
                Sounds_Single_Reload: BLOCK_NOTE_BASS-2-0-30
        Custom_Death_Message:
            Normal: "&6<shooter> &7Knocked out &c<victim> &7with his &5&lKiloton Gauntlets"
        Abilities:
            Reset_Hit_Cooldown: true
            Knockback: 0
            Break_Blocks: false-18,20,102
        Hit_Events:
            Enable: true
            Sounds_Shooter: ENTITY_GENERIC_EXPLODE-2-0-0, ENTITY_GENERIC_EXPLODE-2-2-0
        Ammo:
            Enable: true
            Ammo_Item_ID: 173
            Take_Ammo_Per_Shot: false

     

  • solforecast posted a comment May 19, 2017

    @robotnikthingy

    You should read the complete guide more careful next time.

     

    The Break_Blocks module's whitelist will whitelist any blocks "not" to be broken. When the whitelist is false however, the weapon only destroy the blocks provided in the code.


    Edited May 19, 2017

To post a comment, please login or register a new account.