Hey! I have a specific problem.
I need a way to remove a blaze rod from a player's inventory (i know how to use /clear) whenever they mine a block (iron bars) with the blaze rod. What'd be the best way to do that on 1.13.2?
My first idea was to count how many iron bars a player has broken with any tool, and clear a blaze rod if they're holding one as soon as that counter increments, although the .mined scoreboard criteria seem to only increment players' scores if they mine a block with the correct tool, so I can't do that at least with what I've tried.
As I said in my post, I needed any iron doors to open up when the appropriate player comes up to it, so I needed the door to be set open relative to its current rotation, without knowledge of how its rotated already.
I suppose I just have to assign a setblock to each door rotation, which is kind of tedious, so I was hoping there was a way to manually change blockstates.
A debug stick can do it, so why shouldn't commands be able to
I know this might be a simple question, but I'm new to the new coding business with all the 1.13 changes.
Can I change a blockstate of a block with a command like I can with a debug stick manually?
My goal is to have any iron doors open and close when a player with a keycard in their inventory walks up, and the doors do have the "open" property that I'd like to make use of
Thanks in advance
P.S I'm in 1.13.2 , but if it's possible in any other version rather than mine please inform me c:
Like, I assign a loot table to a chest, but items only generate when a player opens it. Any way to generate the random items without player interactions?
(I'm trying to make a randomizer in 1.12.2)
How can you execute a command at an entity lower than a certain height?
And is there an easy way to make an item levitate?
I want to make items that drop to a ceratin height levitate upwards until a certain height and then start kind of staying there
Using command blocks
Thanks
EDIT: Completely forgot the important part - my MC version 1.13
I want to build a nice villager breeder and iron farm, but before i just look up a good solution I'd like to just get in to the basic mechanics, so that I could fix any problem I faced or maybe even improve.
I used the minecraft wiki on gamepedia, but I realised that most of the screenshots are made on the version 1.3. Though, the page still had info about
version 1.13, and it didn't say that the info was outdated, so now i'm confused. Is this info canon or outdated?
0
Hey! I have a specific problem.
I need a way to remove a blaze rod from a player's inventory (i know how to use /clear) whenever they mine a block (iron bars) with the blaze rod. What'd be the best way to do that on 1.13.2?
My first idea was to count how many iron bars a player has broken with any tool, and clear a blaze rod if they're holding one as soon as that counter increments, although the .mined scoreboard criteria seem to only increment players' scores if they mine a block with the correct tool, so I can't do that at least with what I've tried.
Please help, thanks in advance
0
I'm not really a noob, I know how /setblock works
As I said in my post, I needed any iron doors to open up when the appropriate player comes up to it, so I needed the door to be set open relative to its current rotation, without knowledge of how its rotated already.
I suppose I just have to assign a setblock to each door rotation, which is kind of tedious, so I was hoping there was a way to manually change blockstates.
A debug stick can do it, so why shouldn't commands be able to
0
I know this might be a simple question, but I'm new to the new coding business with all the 1.13 changes.
Can I change a blockstate of a block with a command like I can with a debug stick manually?
My goal is to have any iron doors open and close when a player with a keycard in their inventory walks up, and the doors do have the "open" property that I'd like to make use of
Thanks in advance
P.S I'm in 1.13.2 , but if it's possible in any other version rather than mine please inform me c:
0
Like, I assign a loot table to a chest, but items only generate when a player opens it. Any way to generate the random items without player interactions?
(I'm trying to make a randomizer in 1.12.2)
0
How can you execute a command at an entity lower than a certain height?
And is there an easy way to make an item levitate?
I want to make items that drop to a ceratin height levitate upwards until a certain height and then start kind of staying there
Using command blocks
Thanks
EDIT: Completely forgot the important part - my MC version 1.13
0
Thanks!
0
I want to build a nice villager breeder and iron farm, but before i just look up a good solution I'd like to just get in to the basic mechanics, so that I could fix any problem I faced or maybe even improve.
I used the minecraft wiki on gamepedia, but I realised that most of the screenshots are made on the version 1.3. Though, the page still had info about
version 1.13, and it didn't say that the info was outdated, so now i'm confused. Is this info canon or outdated?
Just in case, I'm talking about
This wiki page
Please help,
Me