This variable type stores whole numbers like 1, 2, 3.
what is "int"?
These are used to end each line in program, just like periods are used to separate English sentences.
what is " ; semicolon"?
We are using this integrated development environment (IDE) for coding this week.
What is IntelliJ IDEA?
This command is used to change the time of your world to daytime.
/time set day
We are using this library to make Minecraft mods in Java.
What is ForgeResourceLibrary?
This variable type stores words or sentences.
what is "String"?
These mark the beginning and end points of classes, methods, and conditionals.
what are "curly braces"?
public class Cat{
}
This is a set of instructions that runs if and only if something is true.
What is conditional (the code inside of an if statement)?
if (true) {
} else {
}
This command is used to get any in-game item in Minecraft.
Example: /give @s minecraft:apple 999
Syntax: /give <target> <item> <quantity>
This is the type/extension of the model files we generated with gradle runs.
.json
This variable type stores numbers with a decimal point like 1.5 and 99.9
what is "double/float"?
These are used at the start and end of a String in Java.
what are "quotation marks"?
String name = "alexa";
This is a container that stores info/data in our code.
What is a variable?
This command is used to summon the entity named warden in Minecraft.
/summon minecraft:warden
The textures for our items are saved in this directory.
ForgeResourcePackage\src\main\resources\assets\examplemod\textures\items
This variable type stores a value that is either true or false.
what is "boolean"?
This is what we use when we want to see if two things are equal inside a conditional.
what are "double equals"?
if (cash == null) {
System.out.println("You've no money!");
}
This is a blueprint/template in Java from which objects/instances are created.
What is "Class"?
This command is used to change biome of any particular region within your Minecraft world to the biome of your choice.
We hit this gradle run to do a final test of our mod in Minecraft.
runClient()
This operator calculates the remainder from dividing one number by another number.
What is "modulus % (or mod)"?
When we want to give information (parameters) to methods, we place the information between these.
what are "parenthesis" ?
setName(pooh) {
name = pooh;
}
This is called when an object of a class is created to set initial values for object attributes. This does not use the keyword 'class' in its declaration.
What is "constructor"?
This command is used to enchant any item in Minecraft.
Example: /enchant @s sharpness 2
Syntax: /enchant <target> <enchantment> [level]
This is the directory where we save the icons.png texture sheet to change the crosshair in Minecraft.
ForgeResourcePackage\src\main\resources\assets\minecraft\textures\gui\icons.png