368: Drinking too many potions. [Minecraft Map Making]

Subscribers:
3,860
Published on ● Video Link: https://www.youtube.com/watch?v=fUhUFPYeVtQ



Minecraft
Game:
Minecraft (2011)
Duration: 20:24
149 views
9


Ep368: Punishing the player if they drink too many potions too quickly.

00:00 Intro
01:45 Setup
02:50 Give potion
08:10 Controller

Misode's Generators: https://misode.github.io/
MCStacker: https://mcstacker.net/

Version: 1.20.6

Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel:    / coppitj  

Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord:   / discord  

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Since angled brackets are not allowed in YouTube descriptions you will have to replace "greater than" and "less than" with the appropriate angled bracket.

Commands used:

Setup:
IUN: scoreboard objectives add used_potion used:potion
CUA: scoreboard objectives add value dummy

Give:
IUN: give @p potion[item_name='{"text":"Tequila"}',custom_data={drink:tequila},hide_additional_tooltip={},potion_contents={custom_color:16056286,
custom_effects:[{id:"minecraft:slowness",amplifier:0,duration:600,show_particles:0b}]}]
ALT: give @p potion[item_name="Tequila"

Controller:
RUA: execute as @a[scores={used_potion=1..}] if predicate {"condition": "minecraft:entity_properties","entity": "this","predicate": {"equipment": {"mainhand": {"components": {"minecraft:custom_data": {drink:tequila}}}}}} run scoreboard players add @s value 600
CUA: scoreboard players reset @a used_potion
CUA: scoreboard players remove @a[scores={value=1..}] value 1
CUA: effect give @a[scores={value=1000..}] nausea 4 0 true
CUA: ...
CUA: execute as @a[scores={value=1..399}] run title @s actionbar [{"text":"Level: ", "color":"dark_green"},{"score":{"name":"@s","objective":"value"}}]
CUA: execute as @a[scores={value=400..999}] run title @s actionbar [{"text":"Level: ", "color":"gold"},{"score":{"name":"@s","objective":"value"}}]
CUA: execute as @a[scores={value=1000..}] run title @s actionbar [{"text":"Level: ", "color":"red"},{"score":{"name":"@s","objective":"value"}}]







Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 182,428 views spread across 865 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.