This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
im trying to make a map and I want to test for if there is a banner on the ground.
When there is a red banner on the floor --> do commands abc and kill all entity other than players
when there is a blue banner on the floor --> do commands def and kill all entity other than players
When there is any other type of item on the floor --> kill all entity other than players
hopefully this makes sense. If not I'll try to explain it better. Thank you
If its just a specific spot you could have a chain of commands that starts with
/execute if block (coordinates) red_banner run kill @e[type=!player]
Big Sister Minecraft Server! Apply for whitelist here: https://www.minecraftforum.net/forums/servers-java-edition/pc-servers/2960624-big-sister-minecraft-server-whitelisted-vanilla
Check out my mod! You can find it on CurseForge here: https://www.curseforge.com/minecraft/mc-mods/the-spookjams-mod
im trying to make a map and I want to test for if there is a banner on the ground.
When there is a red banner on the floor --> do commands abc and kill all entity other than players
when there is a blue banner on the floor --> do commands def and kill all entity other than players
When there is any other type of item on the floor --> kill all entity other than players
hopefully this makes sense. If not I'll try to explain it better. Thank you
If its just a specific spot you could have a chain of commands that starts with
/execute if block (coordinates) red_banner run kill @e[type=!player]
Check out my mod! You can find it on CurseForge here:
https://www.curseforge.com/minecraft/mc-mods/the-spookjams-mod