Minecraft

minecraft

#minecraft

Table of Contents

About

1

Chapter 1: Getting started with minecraft

2

Remarks

2

Versions

2

Examples

2

Installing Minecraft

2

Chapter 2: Creating a basic block with Forge

4

Introduction

4

Remarks

4

Examples

4

The Block Class

4

The Block Model JSON

5

Block Registration

6

Chapter 3: Creating a Basic Item with Forge

7

Introduction

7

Remarks

7

Examples

7

Item Class

7

Item Model

8

Item Registration

8

Chapter 4: Creating first Spigot plugin

10

Examples

10

First Plugin in Eclipse

10

Prerequisite

10

Chapter 5: Event Listeners in Bukkit

12

Examples

12

Creating an event listener

12

EventHandler Parameters

12

Creating Custom Events

13

Calling your Custom Event

13

Listening to a Custom Event

14

Making your CustomEvent Cancellable

14

Un-registering events or listeners

15

Un-register specific event

15

Un-register all events

15

Chapter 6: Event Listeners in Forge

17

Examples

17

Creating an event listener in Forge

17

Chapter 7: Installing a Spigot server

19

Examples

19

BuildTools

19

What is it?

19

Prerequisites

19

Windows

19

Git

19

Java

19

Linux

19

Mac

19

Running BuildTools

20

Spigot Installation

20

Windows

20

Linux

21

Mac

21

Chapter 8: Modding with Forge

23

Syntax

23

Remarks

23

Examples

23

Implementation pattern for Initialization Proxies

23

Adding custom sounds to your MOD

24

Sending a command

26

Chapter 9: Plugin Commands

27

Examples

27

Hello Command

27

MainClass.java

27

Plugin.yml

27

Chapter 10: Writing Minecraft Mods

28

Introduction

28

Examples

28

Basic Bukkit Plugins

28

Basic Forge Mods

28

Credits

29

About

You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: minecraft

It is an unofficial and free minecraft ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official minecraft.

The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.

Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to info@



1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download