Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Deadly Anvils In 1.10 In 3 Easy Steps.

Discussion in 'Minecraft' started by Nepeta Leijon, May 22, 2016.

Thread Status:
Not open for further replies.
  1. Nepeta Leijon

    Nepeta Leijon Rogue of Heart ♌ Leittarius

    Messages:
    3,917
    Likes Received:
    17,997
    Trophy Points:
    215
    Guild:
    Minecraft:
    As some players may know, in the first Minecraft Snapshot for 1.10, the 'NoGravity' tag has been made available for more than just Armour Stands; in fact, it's been made available for all entities in Minecraft.

    Using this, I've been able to create a simply machine that allows you to create a line of deadly anvils, that drop on command.

    Step 1: The Items.
    You will need:
    1 Anvil.
    3 Repeating command blocks.
    1 Redstone comparator.
    2 Redstone dust.
    2 Redstone repeaters.
    1 Non-Redstone powered block (e.g. Stone)
    1 Redstone Torch.
    Step 2: Placing the Blocks.
    You will need to first place 1 Repeating command block with a redstone comparator facing out from it. Then, connect the comparator to 1 redstone dust, and connect 2 repeaters to the dust. Connect 1 repeating command block to a repeater, and place your block in front of the other. Place a redstone torch on the opposite side of the block connected to the repeater, and place the other redstone dust leading out from the torch. Connect your last repeating command block to this dust.
    2016-05-22_19.31.55.png
    Step 3: The Code.
    Now, all you need to do is put this simple code into your command blocks.
    2016-05-22_19.01.09.png
    Red Command Block Code:
    NOTE: This command block must be set to Always Active.
    /testfor @p {Inventory:[{Slot:-106b,id:"minecraft:anvil"}]}

    Blue Command Block Code:
    /execute @p ~ ~ ~ /summon FallingSand ~ ~ ~ {NoGravity:1,Time:1,TileID:145,CustomName:Anvil}

    Green Command Block Code:
    /entitydata @e[name=Anvil] {NoGravity:0}

    And there you have it! Your machine is now fully functioning and ready to use.

    How to activate the deadly anvils.
    1. Begin flying around holding an Anvil.
    2. Press 'F' (or whatever key you have set to switch between off hand/main hand).
    3. After flying around for a bit, press 'F' again.

    This should leave a trail of anvils behind you, which fall when you press F.
     
    Ocey, Devourer, blankman and 3 others like this.
  2. WithTheFish

    WithTheFish Internet Macrocelebrity

    Messages:
    5,645
    Likes Received:
    22,483
    Trophy Points:
    215
    Guild:
    Minecraft:
    Note to self: press F fast or else my computer will die of lag.
     
    Devourer, blankman and Nepeta Leijon like this.
Thread Status:
Not open for further replies.