【文件属性】:
文件名称:Minecraft Modding with Forge
文件大小:12.78MB
文件格式:PDF
更新时间:2018-09-25 04:47:34
Minecraft
Downloading and Installing Tools 2
Java 2
Minecraft Forge 3
Eclipse 4
Setting Up Forge in Eclipse 5
Understanding the Example Mod 9
Running Minecraft and Verifying the Mod 13
Summary 14
2. Block-Break Message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Creating the Main File 15
Adding the Event Handler 21
Creating a Java Class for Event Handling 22
Adding Methods for Event Handling 22
Registering the Event Handler on the Event Bus 24
Running Minecraft and Verifying the Mod 25
Summary 25
3. Fun with Explosions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Exploding Minecarts 27
Exploding Anvils 31
Diamond Ore Trap 35
Bigger TNT Explosions 38