Denaton's Avatar
Member
Level 11 Journeyman Engineer
3

Forum Posts

1 - 3 of 3

    1
    01/12/2014 9:39 am
    Level 11 : Journeyman Engineer
    Denaton
    Denaton's Avatar
    Try "setblock ~222 ~75 ~523 tnt"
    1
    01/12/2014 9:24 am
    Level 11 : Journeyman Engineer
    Denaton
    Denaton's Avatar
    My command
    testforblock 0 ~0 0 hopper 0 {Items:0[:{id:339s,Slot:0b,Count:1b,Damage:0s,tag:{RepairCost:1I,display:{Name:Potato A}}}]}

    and ofc i am using it on a Command Block, why would i use it from the player when i make an Adventure map?
    I know this command line work since i have used it on other places without a costume name. Now, how about my question about the int? =P

    Edit: Oh damn i must have been really tiered until now. I see how stupid i am now =(
    Thanks for the realization of my stupid mistake...

    Edit 2: Nwm i trough double wrong this time. The cords the Hopper is on is 0 0 0 and the Command Block is in the same height.
    1
    01/12/2014 6:24 am
    Level 11 : Journeyman Engineer
    Denaton
    Denaton's Avatar
    Playing in the new snapshot and are making an Adventure map, i need a hopper with a renamed item in it and use testforblock on it to see what the name on it is.
    I found out that there is a new tag calld RepairCost that is an int with NBTEditor and i can't find the syntax for the int.
    This is the command i am using.
    Click to reveal
    testforblock 0 ~0 0 hopper 0 {Items:0[:{id:339s,Slot:0b,Count:1b,Damage:0s,tag:{RepairCost:1I,display:{Name:Potato A}}}]}

    This is the Error i get (common error)
    Click to reveal
    [02:41] The block at 0,54,0 did not have the required NBT keys.

1 - 3 of 3

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome