Member
Level 61
High Grandmaster System
116

Forum Posts

581 - 600 of 1,041

    ShelLuser
    09/02/2018 7:56 pm
    Level 61 : High Grandmaster System
    Do you use vanilla Minecraft or a modloader such as Forge? And what version do you use?
    1
    ShelLuser
    09/02/2018 5:07 pm
    Level 61 : High Grandmaster System
    I'm not sure but I think it could be sign edit:

    https://minecraft.curseforge.com/projects/signedit
    1
    ShelLuser
    09/02/2018 4:29 pm
    Level 61 : High Grandmaster System
    Welcome to PMC then :-)
    3
    ShelLuser
    09/02/2018 4:22 pm
    Level 61 : High Grandmaster System
    Good question!

    The key is to provide extra information for the item you want to sell (or buy) and you can do that using the tag:{} compound. A very good site to learn more about the data values of the varies entities (and items) is the official Minecraft wiki, check out this link for the page on villagers, near the bottom you'll find the data value overview.

    But back to your question... You give the villager a potato and it should give you a Mending book in return. It's somewhat easy, for example:


    Offers:{Recipes:[
    {
    buy:{id:"minecraft:potato",Count:1},
    sell:{id:"minecraft:enchanted_book",Count:1,tag:{Enchantments:[{id:"minecraft:mending",lvl:1}]}}
    }

    ]}

    So any extra NBT data which you need for the item to sell (or buy) needs to go into the tag:{} compound.
    1
    ShelLuser
    09/01/2018 9:08 pm
    Level 61 : High Grandmaster System
    Like you said: you cannot set your spawnpoint to be in the End but the thing you're overlooking is that you can still set while being in the end. It simply won't apply to the End dimension but the Overworld. This also applies to the Nether by the way.

    So: simply set /spawnpoint for the player(s) to a specific coordinate and that will automatically apply to the Overworld.
    2
    ShelLuser
    08/31/2018 1:11 pm
    Level 61 : High Grandmaster System
    I posted one for you on the project thread :)
    2
    ShelLuser
    08/31/2018 12:58 pm
    Level 61 : High Grandmaster System
    history
    Bad advice. If you disable the whole thing then it obviously won't work anymore, and your second command is totally bogus <sigh>
    2
    ShelLuser
    08/31/2018 12:49 pm
    Level 61 : High Grandmaster System
    To be honest 1.13 didn't really change all that much here.

    First there is a score which you can use: minecraft.custom:minecraft.open_chest. The only issue is that this is a scoreboard statistical setting which means that it's used for statistical purposes. If you want to actually use this you'd have to make sure to set this to 0 and then detect a change in value.

    I also noticed minecraft.used:minecraft.chest but that is a rather tricky criteria; it only gets triggered when a chest is being placed (which I suppose accounts for using it) but it doesn't if the chest gets opened. Which seems odd because opening a chest also accounts to using, IMO at least. But it's no problem.

    Also: you can't detect chest locations and such, but that's not different from 1.12 at all. Instead focus on the player location. For example you pinpoint the location to the chest and then check if the player is in a 1 - 3 block radius around it.

    SO... let's try to get this to work (I'm going along as I'm writing, I think this is an interesting question. Note to self: add like to post ;)).

    /scoreboard objectives add opchests minecraft.custom:minecraft.open_chest "Opened chest(s)"

    So now the only thing I have to do is to check if my score went up. First I'll set up a command to actually check for my score (I always get a bit confused here, because this did change in comparison to 1.12):

    /execute if score @p opchests matches 1 run say "Player opened his first chest!"

    And you'll see that this works. But Minecraft wouldn't be Minecraft if we couldn't do more :-)

    You mentioned (or at least hinted in this direction) about using memes based on which chest a player was opening. We can do that! All we need is to ensure that the player is in close proximity to the right chest location:

    My experimental chest :)

    I'm not going to bother myself with F3 and having to find "looking at" somewhere in there, that's bothersome! I just looked at the chest (crosshair) and then used: /data get block, and then used tab completion to get the right coordinates. Now I know what we need to check for :)

    SO... First I need to show off a bit and make this worth my while:

    /data merge block -321 56 215 {LootTable:"minecraft:chests/desert_pyramid"}

    Now the chest will have interesting goodies in it when I open it (very important!) ;)

    I reset my open chest score: /scoreboard players reset @p opchests and then place a repeating command block and add our previously used command, but with an extra section:

    execute if score @p[x=-321,y=56,z=215,distance=..6] opchests matches 1 run say "Player opened the chest next to me!"

    (I used a range up to 6 because I'm not sure from mind anymore at what distance you can open a chest, and I don't want to having to bother myself with resetting my score to find out, too much typing ;))

    Of course we need another command to make sure that this doesn't run in an endless loop. Therefor I also added a chain command block which contains:

    scoreboard players reset @p[x=-321,y=56,z=215,distance=..6] opchests

    And what do you know:

    Chest check

    So not only did you check if a chest got opened, you also specifically know which chest it was, and thus can base your memes on that.

    Another way to do this is to simply use a trapped chest and dump a command block below it:



    So as you can see there's actually quite a lot which you can do here :)

    Hope this helps!
    1
    ShelLuser
    08/30/2018 11:51 am
    Level 61 : High Grandmaster System
    That is what I'd call a hoax. It's not a real datapack but a resource pack (which changes the look of existing blocks) and which got somewhat combined with a datapack. I'm not even convinced that it works, but I'm not really interested in trying.

    Bottom line though: all the datapack section does is set up some functions (vanilla commands to run) and some recipes. Recipes which use existing blocks:


    {
    "type": "crafting_shapeless",
    "ingredients": [
    {
    "item": "minecraft:crafting_table"
    }
    ],
    "result": {
    "item": "minecraft:structure_void"
    }
    }

    No more, and no less.

    But this does not compare at all to setting up a minimap. Minimaps are a completely different ballgame.
    1
    ShelLuser
    08/30/2018 11:00 am
    Level 61 : High Grandmaster System
    Check this link. The key is to specify states, so if you want it facing into a certain direction you need to specify that using the facing= state.
    2
    ShelLuser
    08/30/2018 10:58 am
    Level 61 : High Grandmaster System
    Plain and simple: no.

    A datapack is nothing more but a collection of vanilla options such as specific advancements, functions (which are basically collections of vanilla commands), structures, and so on. They can somewhat enhance the game, but they cannot change it in drastic ways such as with mini maps.

    Basically: a datapack can only do whatever you can do in-game as well, nothing more.
    1
    ShelLuser
    08/30/2018 10:13 am
    Level 61 : High Grandmaster System
    Why not share your problem here so that others might also benefit from reading about the problem and its possible solution? No offense, but now it almost looks as if you're merely advertising for your server.

    See; why would I join if I'm not even sure that I'd be able to help? Not to mention the possible issue of you guys not being online when I am.
    1
    ShelLuser
    08/30/2018 6:17 am
    Level 61 : High Grandmaster System
    To my knowledge this isn't possible. Some item properties are still hard coded into the game, such as the way bows and tridents behave. It might be possible to overrule that using mods, but not with vanilla commands.
    1
    ShelLuser
    08/30/2018 6:13 am
    Level 61 : High Grandmaster System
    Easiest way is to use the launcher to download the server. Assuming Java edition here.

    Start the launcher, open the menu if it's closed (click the three lines in the upper right corner) and then select the 'launch options' tab. Click on whatever profile you normally use, and you'll find a 'download server' link in the upper right corner.

    Once clicked that will download the server jarfile. If you have Java properly installed you can double click that one and it should show a console (you will probably need to edit a few files to make it work, such as eula.txt). Tune the whole thing by editing server.properties (can be done using a program like notepad) and you should be well on your way.
    1
    ShelLuser
    08/29/2018 11:49 am
    Level 61 : High Grandmaster System
    It is indeed possible. If you make sure that the second doesn't overrule the contents from the first then both will be used, no problem at all.

    A very good example of this (in my opinion anyway) is / was the Lithos:Core resource pack (see this link). Next to the resource pack itself eleazzaar also released some "extensions". And you guessed it: the way to use those is to active those packs at the same time.
    1
    ShelLuser
    08/28/2018 2:32 am
    Level 61 : High Grandmaster System
    Where are the blocks located? On the ground (with more blocks beneath them) or are they floating somehow?

    Because if they're floating then you could be experiencing light update delays; those usually happen if you place (or remove) blocks which are blocking light from many air blocks below them. Because every time a block gets added (or removed) Minecraft has to calculate the light level for each and every air block, as such you end up with plenty of lag / delays.
    2
    ShelLuser
    08/27/2018 2:50 pm
    Level 61 : High Grandmaster System
    That's where backups come into play.

    If you're running Windows you might be able to use the "previous versions" option. Right click on a folder, check its properties and there you should see a tab "previous versions". There might still be some data available there.
    1
    ShelLuser
    08/27/2018 2:47 pm
    Level 61 : High Grandmaster System
    I'm in my 40's and quite frankly I don't understand why you'd focus on age at all?

    I don't care about the age of a player, I care about having a good time playing Minecraft. I've had mining sessions on my favorite server where I ended up with a few friends who turned out to be around 12 - 15 and we had tons of fun. Just like I've had sessions which players who I don't particularly care for and they turned out to be older. Age really doesn't have to mean anything.

    I'd try to gather serious / mature players instead.
    1
    ShelLuser
    08/27/2018 2:44 pm
    Level 61 : High Grandmaster System
    I don't think you can really compare these three like that. I mean, at the risk of playing the devils advocate but without vanilla Minecraft you'd never be able to enjoy a resource pack :P

    I also wonder: "Better for what?".
    1

581 - 600 of 1,041

Welcome