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 advancements bug

    Good to know! I'm glad it worked out.

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on advancements bug

    I'm not certain this will work, but in similar contexts the solution is to use an escape character, usually the backslash. Try putting a backslash in front of the quotes you don't want to "count".

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on 1.12 - Custom Advancements (AKA Achievements)

    Right, the person who's been online longest. I guess I don't see any situations where I'd want to single out that person in particular.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on 1.12 - Custom Advancements (AKA Achievements)

    What's the use case for arbitrary_player_tick? I'm just not seeing it.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on How much do advancements lag?

    With the new 'tick' trigger, you don't even need the command block. I don't know the answer to your lag question, though.

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on [1.12] New and awesome but hidden features.

    Oh, and regarding your words about advancements and commands, there's more. First off, you're not limited to only one command as a "reward". Second, with the addition of the "tick" trigger this week, you have a straightforward means of applying a command continuously to anyone who meets whatever other conditions you set. (You just have to be sure to revoke the advancement in the rewarded command, so the player can get it again.)

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on [1.12] New and awesome but hidden features.

    What's strange about it? It's "the care, cultivation, and breeding of crops and animals" which is exactly right.

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on [1.12] New and awesome but hidden features.

    With this week's additions to the Advancement system, you can basically create command-block mods without command blocks.

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on How to add new advancements

    The YouTube video must have been made before the namespace bug was fixed. Basically, get rid of the "minecraft:" prefix when referring to files and it should be okay.


    Lots more information in this thread: www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/command-blocks/2809368-1-12-custom-advancements-aka-achievements

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on Is there an event when you lose an advancement?

    The way I'd do it is this:


    Have a separate command reward removing each profession's recipes. It's slightly more typing at first, but it will save you a lot of trouble when duplicating them for each profession, and also make it much easier to create new professions later. (As well as adding recipes for new blocks and items in future updates.)


    So let's say you have four professions, Woodsman, Stonemason, Blacksmith, and Wizard.


    The advancement to make someone a Woodsman would have one reward to grant the Woodsman recipes, one to remove the Stonemason recipes, one to remove the Blacksmith recipes, and one to remove the Wizard recipes.


    Then when you make the Stonemason advancement, just copy-paste the Stonemason recipes, only to grant them instead of taking them away. Likewise copy-paste the other three categories to revoke their recipes.


    Then if you later decide to add, say, a Redstone Engineer profession, it'll be a breeze. Just remember to edit each profession's file to take away redstone recipes. (As a practical matter, you'll probably have to take away and re-grant everyone's profession to update them properly, but I don't see any easy way around that except by using command blocks.) EDIT: Just thought of a way around this too. Put the different professions on different scoreboard teams. Then it's easy to run a command that will reinstall a given profession for everyone who's online at once.


    (EDIT: You could even have separate teams for "Old Woodsmen" and "New Woodsmen" so you don't annoy people by repeatedly reinstalling their profession.)

    Posted in: Recent Updates and Snapshots
  • 1

    posted a message on Is there an event when you lose an advancement?

    Actually, I take it back. You can have an advancement run a command as a reward now. So you could create an invisible advancement to represent losing 'wood craftsman' that would remove the recipes. Then, when you take away the Wood Craftsman advancement, just make sure to also give the 'lost_wood_craftsman' advancement.


    Alternatively, if people will always have a profession, you could have gaining one profession also remove the other professions' recipes. It'd be a lot of typing, but you'd only have to do it once, and copy-paste is your friend.

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on Is there an event when you lose an advancement?
    Quote from XTREM5000»

    I could remove individualy, but what if my advancements unlock a large amount of recipes? Imagine I've got an advancement for a "wood craftman profession" that unlocks every recipes containing wood, let's say 50 recipes. Somewhat, the player is no longer a "wood craftman", so I remove this advancement. In order to remove every recipes, I have to run the command for each recipes... which can be annoying...
    So, I would like to know if there is a way to automate this, without running command blocks. If there is no way, maybe I will add an suggestion to add an event when a advancement is removed.

    There's no way to do what you want that I know of. But even from a role-playing perspective, why would the character just forget the skills they had learned?
    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on Is there an event when you lose an advancement?

    In order to remove the advancement in the first place, you're going to have to run a command. Why not just remove the recipes at the same time?

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on [1.12] New and awesome but hidden features.
    Quote from The_Shadow»

    Also, oddly, you can get the 'Enter the Nether' advancement without actually entering the Nether! It suffices to light a portal, duck in so you touch the portal blocks, then back out.



    I went ahead and reported this as a bug, and Dinnerbone just fixed it! Now that's what I call service. :)


    EDIT: And the fix got added to 17w17b.

    Posted in: Recent Updates and Snapshots
  • 0

    posted a message on Minecraft 1.12 Update Opinion Thread
    Quote from Koward»


    Blocks/Entities have very complex and different behaviors so I'm not sure how they would pull that off. JSON is designed to store structures, not to describe logic. For the logic (and many other things) they would probably just expose an API in whatever language they want.



    Oh, I grant that a block done through JSON wouldn't be too fancy - that would require code. But if all you want is a block with specified texture, hardness, blast resistance, illuminance, transparency, redstone power, recipe, and drops, that would be quite easy. And that covers an awful lot of blocks out there.

    You could also probably specify certain actions, even commands, when it's clicked on or the like. But anything more complex than that would need code. You're not going to create something like the comparator just with JSON, for example.


    EDIT: Likewise, we've seen with the add-ons that you can do quite a bit to alter existing mobs with JSON. All we would need is a way to register a new mob, even if it has to use one of the existing models, and specify where and under what conditions it spawns.

    Posted in: Recent Updates and Snapshots
  • To post a comment, please or register a new account.