r/MinecraftCommands • u/FietjeGold Unable to modify player data? • Dec 21 '20
Creation Portable Beacons [Proof of Concept]
9
u/DontAskWhy__ Dec 21 '20
Will it be a downloadable data pack in the future? Or is it just an in-game command structure at the moment
9
u/FietjeGold Unable to modify player data? Dec 21 '20
At the moment it's a very crude datapack, but if I have the time and figure out how to handle all the edge cases in the best possible way, I will make it into a full datapack in the future.
2
8
u/jack_thedino Dec 21 '20
How’d you change the ui on the beacon block?
7
u/FietjeGold Unable to modify player data? Dec 21 '20
Through a custom loot table for the beacon block, that checks for the different beacon base blocks and than changes the lore of the item.
1
3
u/die-Qual-der-Karl Command Noob Dec 21 '20
I really like this but I have one question: what happens if there are blocks in the way?
4
u/FietjeGold Unable to modify player data? Dec 21 '20
That's also one of the things why this is only a proof of concept and not already a finished datapack.
At the moment all blocks in the way are getting broken (which I'm not really happy about because it also breaks bedrock).
2
2
1
u/CommandOverLord Dec 22 '20
This seems like one of the smaller issues cus its really easy to fix.
Fixed layers is alot harder. One way to fix that would be to assign the different blocks(gold, iron, diamond etc) to a scoresboard tied to the location relative to the beacon alot of work but would do the trick. or instead of scoreboards using tags on the beacon item
3
Dec 21 '20
Would this work for beacons with more than one beacon block?
3
u/FietjeGold Unable to modify player data? Dec 21 '20
At the moment it would bite out one beacon, but if I would make it into a full datapack i would add the option to convert a multi beacon into one item.
3
2
u/CarterNotSteve Kinda good I guess Dec 21 '20
How do you sense when a certain block is placed down like this?
1
u/FietjeGold Unable to modify player data? Dec 21 '20
There is an advancement trigger called
placed_blockthat gets called if you place the defined block.1
2
u/Pedro270707 Dec 21 '20
Why did you use a pickaxe instead of a sword?
1
u/FietjeGold Unable to modify player data? Dec 21 '20
I could also use my hand, but I like gold ^^ and the idea that you need a special tool to mine the whole beacon.
1
2
u/Vampante Command Professional Apr 17 '21
how did you make it so it knows what blocks it was on? thats my only question
1
u/FietjeGold Unable to modify player data? Apr 17 '21
If I remember correctly I used condition's inside the loot table to add the correct nbt values to the item of the corresponding block is present.
64
u/TurtleMaster2007 Dec 21 '20
Great idea. I hate having to pick up all of the iron and place it back every time
38
14
12
6
9
4
1
3
2
2
2
2
u/Spacedynasaur Dec 21 '20
DM me with an update if you make this into a mod / datapack, looks awesome!
2
2
u/python73 Dec 21 '20
If u make a datapack for this or it its all command blocks please dm me with the link. This is so cool and seems really useful! Nice job!
2
2
u/TheJamSams Dec 21 '20
Is it exclusive to the gold pick, cus it would be nice to give gold tools a chance to get out of the shadow of the other types
2
2
u/RatchetGamer Command Rookie Dec 21 '20
What if this only happened if it was mined with a silk touch pickaxe?
2
2
2
u/LukeTheCustomizer Dec 21 '20
Absolutely awesome! But it begs the question, what happens to a multi-beacon pyramid? Like the 10x9 ones or a full 6 beacon pyramid which I think is something huge like 11x10
2
u/fluted Dec 22 '20
I was not expecting such a clean concept with that animation on placement. I would actually love to see this in game maybe with a limit as to how many times you can pick it up and place it like that, it’s such a fresh idea.
2
2
2
u/Totallylegitbread Dec 25 '20
Everybody is out here doing really cool stuff with armor stands, and I'm just here with my Nintendo switch Edition that will crash if I breathe on it the wrong way.
3
1
1
1
1
1
1
1
u/Willzile1 Dec 21 '20
What happens if block are in the way? Do they get removed does the beacon get removed or implacable?
1
1
1
1
u/ComradeGivlUpi Dec 22 '20
Imagine how much these would get duped when the next dupe glitch got found
1
Dec 22 '20
I love the animation! Maybe some particle effects as it rises from the ground would be cool
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
0
Dec 21 '20
[deleted]
94
Dec 21 '20
For anyone wondering, that's a falling block with
{BlockState:{name:"block_id"}}. Also the blocks are probably nested on a shulker on an armor stand to prevent players from walking through.60
u/FietjeGold Unable to modify player data? Dec 21 '20
You are 100% correct ^^
27
u/GuineaPig2000 Dec 21 '20
How does that work with a shulker and an armory stand(I’m dumb)
24
Dec 21 '20
The falling block rides the shulker which rides the armorstand. Of course, there's a whole hell of other nbt and a command rendering shulkers invisible. No need to say "I'm dumb" though
4
u/marvellousmistake Dec 22 '20
the falling block is for the texture, the shulker is for block like properties (so you can stand on it) and the armour stand is for the movement
2
Dec 22 '20
Exact. From my experience standing/moving on a shulker isnt very smooth though
https://youtu.be/TL17vrZHWmI1
u/marvellousmistake Dec 22 '20
I saw SimplySarc pull something off with a moving shulker in an elevator https://youtu.be/GBAFVm-JONI
1
9
u/_R-S-star_ Dec 22 '20
You aren’t dumb, don’t worry. I was going to ask the same thing but because you already asked - the answer is already here! So, thank you. Haha-
It’s always good to ask if you don’t know something, knowledge is key.
0
20
u/Exarpo Dec 21 '20
Now what happens if one layer contains different blocks? 🤔 (The lore of the item shows the base in 2D, how would it show all the blocks?)