2

I need a splash potion that works like a Molotov in vanilla Minecraft.

0

It is actually quite easy to do! Just put this command in a repeating command block and power the command block when you want to activate it. /execute at @e[type=minecraft:potion,limit=1,sort=nearest] unless block ~ ~-0.7 ~ minecraft:air run fill ~-1 ~-1 ~-1 ~1 ~1 ~1 minecraft:fire replace air This command will make all potions to Molotovs! That's why you should turn it off when you don't want it :)

It is more advanced if you only want a specific potion to be like a Molotov! (I don't know how to do that right now but you must do something with NBT tags!)

| improve this answer | |
  • Ooh, interesting solution! The traditional way is to teleport an entity constantly to the potion and detect when the entity can’t teleport, but this works if it’s for the floor only. – ExpertCoder14 2 days ago
  • P.S. I know how to do the NBT tag thing that you mentioned in your post. I’ll add that as an answer. – ExpertCoder14 2 days ago
  • ok great and do you know how to separate different tipped arrow from each other too with nbt? i asked that before in another question but i didnt get a good answer! – zombie1111 2 days ago
  • the solution i have works for walls and everything else if you add all directions! like ~ ~0.7 ~, ~-0.7 ~ ~ :) – zombie1111 2 days ago
  • Please link to your other question so I can see the existing answers. – ExpertCoder14 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.