Liquid
JCHJava Community | Help. Code. Learn.
•Created by Electroking on 11/27/2024 in #java-help
Problem Accessing yml elements using java for minecraft
everyone has to start somewhere :)
31 replies
JCHJava Community | Help. Code. Learn.
•Created by Electroking on 11/27/2024 in #java-help
Problem Accessing yml elements using java for minecraft
yoo nice
31 replies
JCHJava Community | Help. Code. Learn.
•Created by Electroking on 11/27/2024 in #java-help
Problem Accessing yml elements using java for minecraft
I'd try something like this: (not tested)
31 replies
JCHJava Community | Help. Code. Learn.
•Created by Electroking on 11/27/2024 in #java-help
Problem Accessing yml elements using java for minecraft
happy to help :)
31 replies
JCHJava Community | Help. Code. Learn.
•Created by Electroking on 11/27/2024 in #java-help
Problem Accessing yml elements using java for minecraft
@Electroking
Whats the output if you print the returned value of
?
I can't really tell, but I assume that
YamlConfiguration#getStringList
only works on YAML lists that contain ONLY strings, your list however contains Objects with multiple properties (id,amount).
Also, to make it easier for people to help you, its recommended to post your code and config using discords code formatting feature, see the message below.31 replies