Board Thread:Bug Reports/@comment-27200931-20170213123546/@comment-27190591-20170217133919

Campinator wrote: In delving through the mod code on JDGui, I saw lots of instances of (for example, on the Mug item) Private List ____

or

Public void ____ What do those mean, as well as types such as new ___

and

This.___ Sorry if that's a bit of a stupid question

List is an interface, that represents a simple collection storing values by some order.

"void" is a return type that says that a method doesn't return any value.

"public" and "private" are access modifier, which controll encapsulation.

"new" is an operator with which new instances of a class are generated.

"this" is a self reference of an object.

I recommend you to read this: https://www.tutorialspoint.com/java/java_basic_syntax.htm