What's that type?
Scary Syntax!
Varying Vocab
Minecraft Marathon
Modding 101
100

This variable type stores whole numbers like 1, 2, 3.

what is "int"?

100

These are used to end each line in program, just like periods are used to separate English sentences.


what is " ; semicolon"?

100

We are using this integrated development environment (IDE) for coding this week.

What is IntelliJ IDEA?

100

This command is used to change the time of your world to daytime.

/time set day

100

We are using this library to make Minecraft mods in Java.

What is ForgeResourceLibrary?

200

This variable type stores words or sentences.


what is "String"?

200

These mark the beginning and end points of classes, methods, and conditionals.


what are "curly braces"?

public class Cat{

}

200

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 {

}

200

This command is used to get any in-game item in Minecraft.

Example: /give @s minecraft:apple 999

Syntax: /give <target> <item> <quantity>

200

This is the type/extension of the model files we generated with gradle runs.

.json

300

This variable type stores numbers with a decimal point like 1.5 and 99.9


what is "double/float"?

300

These are used at the start and end of a String in Java.


what are "quotation marks"?

String name = "alexa";

300

This is a container that stores info/data in our code. 

What is a variable?

300

This command is used to summon the entity named warden in Minecraft.

/summon minecraft:warden

300

The textures for our items are saved in this directory.

ForgeResourcePackage\src\main\resources\assets\examplemod\textures\items

400

This variable type stores a value that is either true or false.


what is "boolean"?

400

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!");

}

400

This is a blueprint/template in Java from which objects/instances are created.

What is "Class"?

400

This command is used to change biome of any particular region within your Minecraft world to the biome of your choice.

  • Example: /fillbiome 123 44 231 122 54 234 minecraft:plains
  • Syntax: /fillbiome <area start> <area end> <biome name>
400

We hit this gradle run to do a final test of our mod in Minecraft.

runClient()

500

This operator calculates the remainder from dividing one number by another number.


What is "modulus % (or mod)"?

500

When we want to give information (parameters) to methods, we place the information between these.


what are "parenthesis" ?

setName(pooh) {

name = pooh;

}

500

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"?

500

This command is used to enchant any item in Minecraft.

Example: /enchant @s sharpness 2

Syntax: /enchant <target> <enchantment> [level]

500

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