forum Forumsplay_arrow Minecraft fiber_manual_record Help

2

Is there a command that can do this?

2 emeralds6 replies104 views
created 02/12/2019 1:49 am by adg155
last reply 02/13/2019 11:00 am
Hello! I'm looking on how to make an execute command see the block property of the block near it if it is flammable or not, if is flammable then it will continue the executing chain, if isn't then it will stop.

it could be like this:

execute if block ~ ~-1 ~ wood{Properties:12b} <- (i don't know if the block type is changeable)

BTW i'm working on a Data pack called Coalfire that allows you to make fire by just dropping 2 coal or 2 charcoal on a flammable block and I'll release this later after i finish this.

Thanks for reading and I hope you reply soon or now.
~adg175
P.S - Actually i kinda messed up my username because i accidentally put 5 instead of 7 so i got adg155 instead.
Posted by avatar
adg155
Level 2 : Apprentice Explorer
1

6 replies

2
02/12/2019 11:29 am
Level 26 : Expert Blockhead
oyo321
avatar
Every block in 1.13 has his own id, this means oak_wood, birch_wood... And so on. You must give the if block command the block id so this would be senseless. You can tag all blocks you need in a block tag. A good tutorial you can find here. Then it would be:

execute if block ~ ~-1 ~ #coalfire:flamable (And so on...)
1
02/12/2019 11:25 pm
Level 2 : Apprentice Explorer
adg155
avatar
So I should only tag the flammable blocks with a tag? If it is then how can I put the "if block ~ ~-1 ~ (TAG)"?
Edit: I've figured it out, add a hash (#) before the tag list name so it will detect if the block has the flammable tag, thanks a lot, or more like a ton for helping me out.
2
02/13/2019 11:00 am
Level 26 : Expert Blockhead
oyo321
avatar
Nothing to thanks! The comunity need more good datapacks!
1
02/12/2019 4:31 am
Level 5 : Apprentice Architect
Gilran
avatar
Try this command generator. Easy and really helpful. I use this for 1.7.10




1.7.10-1-12-2 >> https://mcstacker.bimbimma.com/
1.13 >> https://mcstacker.net/

I hope I cuold help you a little.
1
02/12/2019 11:28 pm
Level 2 : Apprentice Explorer
adg155
avatar
McStacker doesn't have a /execute command generator, but it does have a "/execute" generator by string (typing it directly) which is not helpful. Thanks for reading by the way.
1
02/12/2019 1:51 am
Level 2 : Apprentice Explorer
adg155
avatar
If I found it out myself, then I'll be closing this thread. But i'm still working on it.
Edit: I can't, it's hard, I really need ideas, please?

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome