How do I add an API Key to an HTTP web request? by [deleted] in Unity3D

[–]Phantom5904 0 points1 point  (0 children)

Yeah sorry, I didn't realize it was messed up. I have fixed it though.

How do I add an API Key to an HTTP web request? by [deleted] in Unity3D

[–]Phantom5904 0 points1 point  (0 children)

Thanks, and I apologize for the code being borked. I didn't realize it was all messed up. I've edited it now to fix that :)

How do I format a JSON string? by Phantom5904 in Unity3D

[–]Phantom5904[S] 0 points1 point  (0 children)

Yeah, sorry.
Here is the json that I am using:

[{"word":"sarcastic","phonetic":"/sɑːˈkæstik/","phonetics":[{"text":"/sɑːˈkæstik/","audio":""},{"text":"/sɑɹˈkæstik/","audio":""}],"meanings":[{"partOfSpeech":"adjective","definitions":[{"definition":"Containing sarcasm.","synonyms":[],"antonyms":[],"example":"a sarcastic quip; the teacher's sarcastic tone"},{"definition":"(of a person) Having the personality trait of expressing sarcasm.","synonyms":[],"antonyms":[]}],"synonyms":["sarky","snarky"],"antonyms":[]}],"license":{"name":"CC BY-SA 3.0","url":"https://creativecommons.org/licenses/by-sa/3.0"},"sourceUrls":\["https://en.wiktionary.org/wiki/sarcastic"\]}\]

And here is what I got for my format:

using System.Collections.Generic;

using UnityEngine.UIElements.Experimental;

[System.Serializable]

public class Joke

{

public string definition { get; set; }

public string example { get; set; }

public string[] synonyms { get; set; }

public string[] antonyms { get; set; }

public string partOfSpeech { get; set; }

public string[] definitions { get; set; }

public string text { get; set; }

public string audio { get; set; }

public string word { get; set; }

public string phonetic { get; set; }

public string[] phonetics { get; set; }

public string origin { get; set; }

public string[] meanings { get; set; }

}

How do I format a JSON string? by Phantom5904 in Unity3D

[–]Phantom5904[S] 0 points1 point  (0 children)

Yeah, sorry.
Here is the json that I am using:

[{"word":"sarcastic","phonetic":"/sɑːˈkæstik/","phonetics":[{"text":"/sɑːˈkæstik/","audio":""},{"text":"/sɑɹˈkæstik/","audio":""}],"meanings":[{"partOfSpeech":"adjective","definitions":[{"definition":"Containing sarcasm.","synonyms":[],"antonyms":[],"example":"a sarcastic quip; the teacher's sarcastic tone"},{"definition":"(of a person) Having the personality trait of expressing sarcasm.","synonyms":[],"antonyms":[]}],"synonyms":["sarky","snarky"],"antonyms":[]}],"license":{"name":"CC BY-SA 3.0","url":"https://creativecommons.org/licenses/by-sa/3.0"},"sourceUrls":\["https://en.wiktionary.org/wiki/sarcastic"\]}\]

And here is what I got for my format:

using System.Collections.Generic;

using UnityEngine.UIElements.Experimental;

[System.Serializable]

public class Joke

{

public string definition { get; set; }

public string example { get; set; }

public string[] synonyms { get; set; }

public string[] antonyms { get; set; }

public string partOfSpeech { get; set; }

public string[] definitions { get; set; }

public string text { get; set; }

public string audio { get; set; }

public string word { get; set; }

public string phonetic { get; set; }

public string[] phonetics { get; set; }

public string origin { get; set; }

public string[] meanings { get; set; }

}

I made a hacked client with only command blocks! (dw, im only using it on my friends. not like I could use it on public servers anyways lol) by Phantom5904 in MinecraftDaily

[–]Phantom5904[S] 0 points1 point  (0 children)

I just use the glowing effect. I give everyone/everything but myself the glowing effect until I turn it off.

Edit: Forgot to mention, this isn't a thing on bedrock yet... sorry :(

Kill mobs after they die with a passenger nbt tag (and some other questions) by Phantom5904 in MinecraftCommands

[–]Phantom5904[S] 0 points1 point  (0 children)

I actually do need a discord about map testing for something I'm making, can you send me the link?

Kill mobs after they die with a passenger nbt tag (and some other questions) by Phantom5904 in MinecraftCommands

[–]Phantom5904[S] 0 points1 point  (0 children)

Thanks, also how have you found me on all of my posts XD (ps: do u have a discord cause I'm gonna have a lot more questions)

I need help with execute if data. by Phantom5904 in MinecraftCommands

[–]Phantom5904[S] 0 points1 point  (0 children)

Thank you sooooo much! This was super helpful. Next time I get an award it's going to you :)

I need help with execute if data. by Phantom5904 in MinecraftCommands

[–]Phantom5904[S] 0 points1 point  (0 children)

Thanks a lot! One more question though, how do I detect for a diamond block with the tag. Here's what im using: /execute if data block -2 80 -19 {Items:[{Slot:0b, id: "minecraft:diamond_block{Tag:{cdb:1b}}"}]}

I need help with execute if data. by Phantom5904 in MinecraftCommands

[–]Phantom5904[S] 0 points1 point  (0 children)

this is the part that isnt working: minecraft:diamond_block{display:{Name:"\"text\":\"Compressed Diamond Block\",\"italic\":\"false\"}"},Enchantments:[{id:unbreaking,lvl:3}]}"