All users will need to merge their Minecraft Forum account with a new or existing Twitch account starting October 23rd. You can merge your accounts by clicking here. Have questions? Learn more here.
Dismiss
  • 0

    posted a message on Execute command

    /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:magma -1 tp @s X Y Z

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Command blocks causing HUGE lag.

    You can use some gamerules for your advantage to deal with a bit of the lag:


    /gamerule sendCommandFeedback false

    /gamerule logAdminCommands false


    And you can individually look at every already existing command block and turn off it's track output. All new ones will have their track output turned off after you set these gamerules.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Execute Command: Can someone help me use "detect" to clone a block?

    You can replace @e[type=player] with @a and you might not be detecting the chest because of it's data value (it might be looking in a different direction). You can just replace the 0 with a -1 but you cannot detect any NBT of blocks usind an 'execute ddetec' command.

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Optifine MCPatcher custom item model help

    I found what the problem was. It turns out that if i want the model assigned from the .properties file to use a texture from the same folder, i have to name the directory not like "folder/name", but as "./name" so i had to change:

    "textures": {

    "1": "decoration/glow_shrooms",

    "particle": "decoration/glow_shrooms" }

    And make it look like this:

    "textures": {

    "1": "./glow_shrooms",

    "particle": "./glow_shrooms" }

    And now everything works as expected (^_^)

    Posted in: Resource Pack Help
  • 0

    posted a message on Are colored item names still possible?
    Quote from YMbrothers»

    Yes, Skylinerw told me to save it as UTF-8 without BOM, but that simply makes the .mcfunction not recognizable for minecraft...
    I may check it soon, might be my mistake.

    I use the "Encode in ANSI" setting.
    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Are colored item names still possible?
    Quote from YMbrothers»

    Hey, do you mind sending a sample function that rly gives colored item names?
    I tried with Notepad++ but no luck.

    All these commands work and i used the § sign to give the items both colored entity and item names:


    summon item ~ ~ ~ {CustomName:"§eElytra",CustomNameVisible:1b,NoAI:1b,Item:{Count:1b,id:"minecraft:elytra",tag:{Up:1b,display:{LocName:"§eElytra"},ench:[{id:-1}],Unbreakable:1b}},Tags:["gold","spread","elytraUp"]}
    summon item ~ ~ ~ {CustomName:"§bSpeed Power-Up",CustomNameVisible:1b,NoAI:1b,Item:{Count:1b,id:"minecraft:sugar",tag:{Up:1b,display:{LocName:"§bSpeed Power-Up"},ench:[{id:-1}]}},Tags:["spread","speedUp"]}
    summon item ~ ~ ~ {CustomName:"§aJump-Boost Power-Up",CustomNameVisible:1b,NoAI:1b,Item:{Count:1b,id:"minecraft:feather",tag:{Up:1b,display:{LocName:"§aJump-Boost Power-Up"},ench:[{id:-1}]}},Tags:["spread","jumpUp"]}
    summon item ~ ~50 ~ {CustomName:"§dGolden Apple",CustomNameVisible:1b,NoAI:1b,Item:{Count:1b,id:"minecraft:golden_apple",Damage:0s,tag:{Up:1b,display:{LocName:"§dGolden Apple"},ench:[{id:-1}]}},Tags:["spread","appleUp"]}
    summon item ~ ~50 ~ {CustomName:"§cStrength Power-Up",CustomNameVisible:1b,NoAI:1b,Item:{Count:1b,id:"minecraft:wooden_sword",tag:{Up:1b,HideFlags:2,AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:-4.0,Operation:0,UUIDLeast:417656,UUIDMost:816644}],display:{LocName:"§cStrength Power-Up"},ench:[{id:-1}],Unbreakable:1b}},Tags:["spread","strengthUp"]}
    summon item ~ ~50 ~ {CustomName:"§2Knockback Slime",CustomNameVisible:1b,NoAI:1b,Item:{Count:1b,id:"minecraft:slime_ball",tag:{Up:1b,display:{LocName:"§2Knockback Slime"},ench:[{id:19,lvl:10}]}},Tags:["spread","slimeUp"]}
    summon item ~ ~50 ~ {CustomName:"§9Mana Potion",CustomNameVisible:1b,NoAI:1b,Item:{Count:1b,id:"minecraft:potion",tag:{Up:1b,Potion:"minecraft:night_vision",display:{LocName:"§9Mana Potion"},ench:[{id:-1}]}},Tags:["spread","manaUp"]}
    summon item ~ ~50 ~ {CustomName:"§8Firework Rocket",CustomNameVisible:1b,NoAI:1b,Item:{Count:1b,id:"minecraft:fireworks",tag:{Up:1b,display:{LocName:"§8Firework Rocket"},Fireworks:{Flight:1b},ench:[{id:-1}]}},Tags:["spread","rocketUp"]}

    I've seen people saying things like "save the file as UTF-8 without BOM".

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Total Team Points

    Could have an armor stand that you can target with commands and add every player's score to an objective. Im not sure if it will work at all.


    /scoreboard objectives add redPoints dummy "Red Team Points"

    /scoreboard teams add Red

    /scoreboardteams join Red <playerName>

    /summon armor_stand ~ ~ ~ {Tags:["a"]}


    /scoreboard players option @e[tag=a] redPoints += @a[team=Red] <your scoreboard's name here>

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on [Q] end_gateways and /fill command - help needed

    It should need the "{" and “}" if it's a setblock command. I think there's nothing wrong with your FILL command but I've encountered this problem before. It seems odd and I cant even remember if I could fix it or not : /

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Problem command /kill @e[type=sand] - 1.12.2

    /kill @e[type=falling_block]

    Posted in: Redstone Discussion and Mechanisms
  • 1

    posted a message on Trying to replace evoker's spells with something else

    You can detect evocation_fangs because they exist for a split second, just enough for a repeating command to detect one or two times. Since they are in the world for very briefly you can use the evoker to execute on all evocation_fangs close to him (in a radius) a command that will summon the new attack. I think lightning would be veeery cool:

    /execute @e[type=evocation_illager] ~ ~ ~ execute @e[type=evocation_fangs,r=12] ~ ~ ~ summon lightning_bolt
    /execute @e[type=evocation_illager] ~ ~ ~ kill @e[type=evocation_fangs,r=12]
    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Are colored item names still possible?

    They are possible using functions and you can use color codes inside them.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Optifine MCPatcher custom item model help

    All the three files are located in .minecraft\resourcepacks\NAME\assets\minecraft\mcpatcher\cit\decoration

    Posted in: Resource Pack Help
  • 1

    posted a message on Trying to replace evoker's spells with something else

    You could execute from an evoker to execute from the vexes around him in a certain radius to summon blazes and then teleport themselves under the bedrock and use a timer to make things a bit more reliable with a timer so that already existing vexes wont get killed:

    /scoreboard objectives add vexTime dummy
    
    /scoreboard players add @e[type=vex] vexTime 1
    /execute @e[type=evocation_illager] ~ ~ ~ execute @e[type=vex,score_vexTime=1,r=6] ~ ~ ~ summon minecraft:blaze  
    /execute @e[type=evocation_illager] ~ ~ ~ tp @e[type=vex,score_vexTime=1,r=6] ~ -512 ~
    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Need help with command block Capture the Flag

    You can detect dead players with a scoreboard and tag them if they have the flag (if keepInventory is set to true). If they have the tag, you can execute from them to run a /setblock command and clear it from their inventory:

    /scoreboard objectives add deaths stat.deaths
    
    /scoreboard players tag @a[tag=blue] remove blue
    /scoreboard players tag @a[tag=blue] remove blue
    /scoreboard players tag @a[score_deaths_min=1] add red {Inventory:[{id:"minecraft:banner",Count:1b,tag:{BlockEntityTag:{Base:1}}}]} (this is for red)
    /scoreboard players tag @a[score_deaths_min=1] add blue {Inventory:[{id:"minecraft:banner",Count:1b,tag:{BlockEntityTag:{Base:4}}}]} (this is for blue)
    /execute @a[tag=blue] ~ ~ ~ setblock <wherever the blue banner should be> minecraft:banner <data value/rotation> replace {Base:4} 
    /execute @a[tag=red] ~ ~ ~ setblock <wherever the red banner should be> minecraft:banner <data value/rotation> replace {Base:1}
    /scoreboard players reset @a[score_deaths_min=1] deaths
    Posted in: Redstone Discussion and Mechanisms
  • To post a comment, please or register a new account.