ValentiMS
- ValentiMS
- valentims
- Europe/Stockholm
- Yes
- No
Hello, today I was trying to create an effect that when a player would go underwater, it would give them blindness and night vision in order to create the complete blindndess effect. The commands worked but there was a graphical error on the screen, like if something was overlapping. Later, I tried giving myself the effects with the /effect give command and the result was the same. I tried to make screenshots but on the image appears black.
The steps to recreate this are:1. Give yourself blindness
2. Give yourself night vision
3. Go inside waterI hope this helped!
Hello, today I was trying to create an effect that when a player would go underwater, it would give them blindness and night vision in order to create the complete blindndess effect. The commands worked but there was a graphical error on the screen, like if something was overlapping. Later, I tried giving myself the effects with the /effect give command and the result was the same. I tried to make screenshots but on the image appears black.
The steps to recreate the bug are:
1. Give yourself blindness
2. Give yourself night vision
3. Go inside waterI hope this helped!
You can still use /execute as <selector> run data merge @s <nbt>
Display Name NBT Crash
When you give yourself an item with the display tag with custom name, such as
/give @s minecraft:pumpkin{display:{Name:"ItemName"}}
the game crashes instantly and on the crash report the following error appears:Description: Unexpected error
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 pathThe bug
When you give yourself an item with the display tag with custom name, such as
/give @s minecraft:pumpkin{display:{Name:"ItemName"}}
the game crashes instantly and on the crash report the following error appears:Description: Unexpected error
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path
Also, the world gets corrupted and it crashes when you try to play it.
The Bug
I know there was a bug recently where the game would crash when obtaining items with malformed JSON. Well, recently I got a crash when using the 'show_entity' hoverEvent. Resulting in: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException
I know the JSON might be wrong but I wanted to report the bug to show the crash.Steps to reproduce
1. Run the command /tellraw
{name:\"Entity\",type:\"Creeper\",id:\"00000000-0000-0000-0000-000000000000\"}ValentiMS{"text":"CRASH","hoverEvent":{"action":"show_entity","value":""}}
2. Hover over the text
3. It should crash instantlyThe Bug
I know there was a bug recently where the game would crash when obtaining items with malformed JSON. Well, recently I got a crash when using the 'show_entity' hoverEvent. Resulting in: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException
I know the JSON might be wrong but I wanted to report the bug to show the crash.Steps to reproduce
1. Run the command /tellraw @s {"text":"CRASH","hoverEvent":{"action":"show_entity","value":"
{name:\"Entity\",type:\"Creeper\",id:\"00000000-0000-0000-0000-000000000000\"}"}}
2. Hover over the text
3. It should crash instantly
The Bug
I know there was a bug recently where the game would crash when obtaining items with malformed JSON. Well, recently I got a crash when using the 'show_entity' hoverEvent. Resulting in: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException
I know the JSON might be wrong but I wanted to report the bug to show the crash.Steps to reproduce
1. Run the command /tellraw @
{name:\"s{"text":"CRASH","hoverEvent":{"action":"show_entity","value":"Entity\",type:\"Creeper\",id:\"00000000-0000-0000-0000-000000000000\"}"}}
2. Hover over the text
3. It should crash instantlyThe Bug
I know there was a bug recently where the game would crash when obtaining items with malformed JSON. Well, recently I got a crash when using the 'show_entity' hoverEvent. Resulting in: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException
I know the JSON might be wrong but I wanted to report the bug to show the crash.Steps to reproduce
1. Run the command /tellraw @p {"text":"CRASH","color":"dark_red","hoverEvent":{"action":"show_entity","value":"
{name:\"CRASH\",type:\"minecraft:ender_crystal\",id:\"00000000-0000-0000-0000-000000000000\"}"}}
2. Hover over the text
3. It should crash instantly
Don't be confused with the total darkness bug when Blindness + Night Vision are combined, I am referring that when you have these effects on the latest snapshot (17w50a) and go underwater, there's an overlap effect with the water texture and the darkness. Thanks
This happened to me too, but in snapshot 17w50a, but instead of using the texture nbt, I used the SkullOwner with the player name like this :
{SkullOwner:"PlayerName"}.
It's intentional, you need to use /execute as @p at @s run function <namespace>:<function>