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
  • 2

    posted a message on Please help with this (hopefully simple?) request
    1. Download http://gimp.org/
    2. Select the hunger bar icons
    3. Press 'Delete'
    4. Save
    Posted in: Resource Pack Help
  • 3

    posted a message on Sound JSON - Multiple Sounds

    Hi,

    Is it possible within a sound json, to have multiple sounds to one name. So that when the playsound command is used it picks a sound randomly from that list??


    Yes, that's totally possible.

    {
        "bird":{
        	"sounds":[
                {"name":"nature/bird1"},
                {"name":"nature/bird2"},
                {"name":"nature/bird3"}
        	]
        }
    }
    Posted in: Resource Pack Help
  • 1

    posted a message on Chest Texture Glitch?

    That's an old bug in Minecraft that's marked as won't fix. It also happens in the default texture pack, you just can't see it because both sides are black.

    https://bugs.mojang.com/browse/MC-1559


    You can either go that way and make both sides the same texture or you can make one side invisible. And you can remodel the chest with optifine, but that only works for people with optifine installed.

    Posted in: Resource Pack Help
  • 9

    posted a message on Blockbench - A free, modern block model editor!

    Welcome. I want to introduce you to Blockbench, my latest tool.

    It allows you to create block models faster and easier than any other free tool. And it comes with a constantly growing set of featues, including display settings with preview, plugins and the ability to edit as many things as you want at once.



    Here is the website and the download link:

    http://www.blockbench.net


    Have fun modeling!

    Posted in: Minecraft Tools
  • 3

    posted a message on How to Do Delay Inside Functions!

    Functions were introduced in 1.12 prerelease 1 and are an awesome new way to interact with ingame commands.

    There is one problem though: You cannot use them to do delayed or offset actions. Everything happens in one tick.

    With commandblocks, there were contraptions that made this easy, for example this one by Lorgon111: http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/commands-command-blocks-and/2775890-guide-to-delayed-command-blocks


    This is my concept on how to add simple and customizable delays inside functions:


    Video tutorial by TheMobCave


    =======================================================================


    We start off with the main loop everything runs on. It just needs three commands. Make sure to hook this function up to your gameLoopFunction or any repeating command block.

    kill @e[type=commandblock_minecart,tag=delay_end]
    scoreboard players tag @e[type=commandblock_minecart,tag=delay] add delay_end {PortalCooldown:0}
    teleport @e[type=commandblock_minecart,tag=delay_end] 0 1 0



    Note the three coordinates at the end. These can be anywhere in your spawn-chunks. Go to that place and place an activator rail on that exact coordinate, with a redstone block below.


    Now to the fun part: This is the command you are going to use to trigger the system:

    summon commandblock_minecart 16 1 16 {Tags:["delay"],PortalCooldown:80,Command:"say hello world!"}



    Again, the three coordinates can be anywhere inside your spawn chunks or loaded area, as long as they are in a save spot and NOT on or above your activator rail.

    The number 80 would be the amount of delay you want the command to execute in. 80 is 4 times 20, so 4 seconds. (one second is 20 ticks)

    Command is the command you want to execute, obviously. Make sure this command is enclosed in quotation marks and escaped accordingly. I suggest to run another function with this command If you want to execute multiple commands after the delay.


    How it works: The portal cooldown tag naturally ticks down. Since it isn't used by anything else in this case, I am re-using it as a timer. When that timer hits 0, the commandblock minecart gets teleported onto the activator rail, executes and gets killed in the next tick.

    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on Commands in commandblock in commandblock?

    Basically you add one backslash per quotation mark and one backslash per backslash, each level.

    Lets start from the inside. First, escape all quotation marks in the tellraw command. Just add one backslash in front of each quotation mark.

    [{id:falling_block,Block:command_block,Time:1,TileEntityData:
    {Command:"/setblock ~2 ~-17 ~-1 command_block 0 replace {Command:"tellraw @a[r=8,score_PVPZone=0] [\"\",{\"text\":\"WARNING!!!!\",\"color\":\"red\"},{\"text\":\" You are now in the PVPZone!\"}]"},Passengers:

    Then you do the next level. That is the two quotation marks surrounding the tellraw command. But now you have to add a layer of escaping to the tellraw command. First, add a backslash to each quotation mark, then add one to each already existing backslash. You will end up with three backslashes per quotation mark.

    [{id:falling_block,Block:command_block,Time:1,TileEntityData:
    {Command:"/setblock ~2 ~-17 ~-1 command_block 0 replace {Command:\"tellraw @a[r=8,score_PVPZone=0] [\\\"\\\",{\\\"text\\\":\\\"WARNING!!!!\\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\" You are now in the PVPZone!\\\"}]\"},Passengers:

    Now do the same for the quotes around the setblock command. You will end up with three backslashes outside the tellraw command and 7 backslashes in the tellraw command block.

    I recommend to use a program to do this. Just google "json escape tool". Keep in mind that you convert one command at a time there.

    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on Commands in commandblock in commandblock?

    You have to escape your quotation marks. For example. if you write

    Command:"/setblock [...] {Command:"effect

    it will this that the command is "/setblock [...] {Command:" because that is inside the quotation marks. To fix this, add a backslash in front of the inner quotation marks, like this


    [{id:falling_block,Block:command_block,Time:1,TileEntityData:
    {Command:"/setblock ~2 ~1 ~2 minecraft:command_block 0 replace {Command:\"effect @a[r=15,score_spawn=1] minecraft:mining_fatigue 0 0\"}"},Passengers:
    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on A bucket, that doesn't pour out water?

    You can set the player to adventure mode (or use another item and retexture it as a bucket). Then fake pouring it into the cauldron with command blocks, like this: https://goo.gl/XtnjLH

    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on [SOLUTION] Testing for a Full Hotbar - Multiplayer Compatible!
    /scoreboard players tag @a add hotbar_full {Inventory:[{Slot:0b},{Slot:1b},{Slot:2b},{Slot:3b},{Slot:4b},{Slot:5b},{Slot:6b},{Slot:7b},{Slot:8b}]}
    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on How to specify block states in fill commands?
    fill <x1> <y1> <z1> <x2> <y2> <z2> <block> [dataValue|state] [oldBlockHandling] [dataTag]
    Posted in: Commands, Command Blocks and Functions
  • To post a comment, please or register a new account.