• Complain

Walter Higgins - A Beginners Guide to Writing Minecraft Plugins in JavaScript

Here you can read online Walter Higgins - A Beginners Guide to Writing Minecraft Plugins in JavaScript full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Peachpit Press, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Walter Higgins A Beginners Guide to Writing Minecraft Plugins in JavaScript
  • Book:
    A Beginners Guide to Writing Minecraft Plugins in JavaScript
  • Author:
  • Publisher:
    Peachpit Press
  • Genre:
  • Year:
    2015
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

A Beginners Guide to Writing Minecraft Plugins in JavaScript: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "A Beginners Guide to Writing Minecraft Plugins in JavaScript" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

The book is for anyone who wants to learn how to modify Minecraft-no previous programming experience required! The book uses javascript, a popular programming language for creating websites and scripting.Aimed at kids who already play Minecraft, this guide will teach coding through a series of Recipes (the term used in-game when crafting new objects). For example, in the game, one of the first things any player must do is create a Workbench, or Crafting Table, which will in turn enable the player to create sophisticated tools. Recipe 1 in the book (the term Recipe and Chapter is interchangeable) is A modding Workbench and its ingredients are the tools the reader will need to begin modding.The goal of each Recipe/chapter is to introduce a new javascript concept or expand upon a previously introduced concept. The author will present each recipe as a useful addition to the game while gently introducing programming concepts in an approachable style. This unique approach gets over the problem of introducing javascript in an interesting way and avoids spending 3 or 4 chapters explaining javascript core concepts in a vacuum. Several Recipes will be covered, including Rolling Dice, Snowball Fight, Piggie Pandemonium, Advanced Modding, and more.

Walter Higgins: author's other books


Who wrote A Beginners Guide to Writing Minecraft Plugins in JavaScript? Find out the surname, the name of the author of the book and a list of all author's works by series.

A Beginners Guide to Writing Minecraft Plugins in JavaScript — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "A Beginners Guide to Writing Minecraft Plugins in JavaScript" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
A Beginners Guide to
Writing Minecraft Plugins
in JavaScript

Walter Higgins

A BEGINNERS GUIDE TO WRITING MINECRAFT PLUGINS IN JAVASCRIPT Walter Higgins - photo 1

A BEGINNERS GUIDE TO WRITING MINECRAFT PLUGINS IN JAVASCRIPT

Walter Higgins

PEACHPIT PRESS

www.peachpit.com
To report errors, please send a note to

Peachpit Press is a division of Pearson Education.

Copyright 2015 by Walter Higgins

Editor: Kim Wimpsett
Production editor: Rebecca Chapman-Winter
Compositor: Danielle Foster
Indexer: Valerie Haynes Perry
Cover design: Mimi Heft
Interior design: Mimi Heft

Notice of Rights

All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For information on getting permission for reprints and excerpts, contact .

Notice of Liability

The information in this book is distributed on an As Is basis, without warranty. While every precaution has been taken in the preparation of the book, neither the author nor Peachpit shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer software and hardware products described in it.

Trademarks

Minecraft is a trademark of Mojang AB/Notch Development AB. This book is not affiliated with or sponsored by Mojang AB/Notch Development AB.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Peachpit was aware of a trademark claim, the designations appear as requested by the owner of the trademark. All other product names and services identified throughout this book are used in editorial fashion only and for the benefit of such companies with no intention of infringement of the trademark. No such use, or the use of any trade name, is intended to convey endorsement or other affiliation with this book.

ISBN-13: 978-0-133-93014-6
ISBN-10: 0-133-93014-9

9 8 7 6 5 4 3 2 1

Printed and bound in the United States of America

For my family.

Acknowledgments

Id like to thankin no particular orderthe many contributors to ScriptCraft (the software used in this book); the teachers and volunteers who have used and improved ScriptCraft; my editors, Cliff Colby and Kim Wimpsett; and the production editor and proofreader for their diligence and enormous help in writing this book. This book took a big chunk of time to write, and I must thank my wife Ursula and kids, Kate and Sean, for their patience, love, and support. Id also like to thank my dad, Paul Higgins, for instilling in me a love of books.

This book would not be possible without the work of the hundreds of open source programmers who developed or contributed to the open source Bukkit and CanaryMod projects. These projects are the lifeblood of Minecraft and the Minecraft modding community. Thanks to Jason Jones ( @darkdiplomat ) for heroic work maintaining CanaryMod, Michael Madden for creating great ScriptCraft resources for CoderDojo, Athijegannathan Sundararajan for patiently answering all my questions about Nashorn, Chris Cacciatore for his fun ScriptCraft contributions, and Jon Ippolito for his forum contributions.

About the Author

Walter Higgins has more than 20 years experience in software development working at Microsoft, Apple, EMC, and IBM. When not programming, he enjoys tinkering with new technology, reading, and running. He lives in Cork, Ireland.

Contents
Preface
Who Is This Book For?

This book is for anyone who is curious about programming and creating Minecraft plugins. It teaches how to create Minecraft server plugins and assumes the reader has no previous programming experience. Specifically, this book is for beginning programmers age 10 and older.

Why I Wrote This Book

Ive been playing Minecraft since 2010 and have been playing multiplayer Minecraft with my two kids on a shared server at home since 2011. I developed software as a hobby in my teens and have been developing software professionally for more than 20 years. I took my kids to local CoderDojo sessions where they learned to use Scratch and create simple web pages using HTML and JavaScript. I thought Wouldnt it be cool if kids could learn to program using Minecraft? When I first looked into developing Minecraft plugins, I was bewildered by the number of options available.

All of the options available required you to write code in Java. Java is the programming language that Minecraft is written in. It is a fine general-purpose language and is especially suited to developing large, complex business applications. However, it is not ideal as a first language to learn. Learning Java can take some time, and you need to write a lot of Java code to get things done. Even for a seasoned Java developer, the options available for modding Minecraft were bewildering. Thats why I came up with the idea of making modding easier by letting plugin developers use JavaScript instead.

In late 2012 I launched ScriptCrafta way of writing Minecraft plugins using JavaScript, which is a much simpler language than Java.

I wrote this book to make learning to program fun and easy. I believe that learning even a little about softwarehow its made and how it worksis good. Developing Minecraft plugins is a great way to learn programming and create something fun for yourself and your friends. Maybe you want to create your own Minecraft mini-game or you cant find a plugin that does exactly what you want. This book will teach you how to create your own plugins and mini-games. Playing Minecraft is fun. Creating Minecraft plugins is a whole different level of fun.

Walter Higgins, April 2014

Introduction

This book shows you how to create your own Minecraft server plugins using JavaScript. Theres often confusion about the words mod and plugin. For the purpose of this book, they mean the same thing. Mojangthe makers of Minecraftprefers to use the term plugin API rather than modding API when referring to its forthcoming official API, which will make extending Minecraft easier.

Before I begin, I will explain some of the words Ill use throughout this book.

Picture 2Plugin: A modification you add to Minecraft that changes the game in some way. The plugin is usually in the form of one or more files.

Picture 3Mod: Mod is short for modification. In this book, mod and plugin are used interchangeably (they mean the same thing).

Picture 4Modding: The practice of writing modifications or plugins for Minecraft. Modding requires some programming knowledge, which you will learn in this book.

Picture 5API: API is short for application programming interface, which is an official way to write Minecraft plugins using a guide. Players and regular users of software dont need to care about APIs, but they are essential for programmers because they make it easier to develop plugins. An API is like a list of recipes; you probably crafted your first pick-axe by referring to an online guidehow much more difficult would it be to have tried creating one without knowing where all the materials should go in the crafting grid? Similarly, programmers need APIs to provide help and guidance in building plugins. The API you will use in this book is the CanaryMod API.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «A Beginners Guide to Writing Minecraft Plugins in JavaScript»

Look at similar books to A Beginners Guide to Writing Minecraft Plugins in JavaScript. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «A Beginners Guide to Writing Minecraft Plugins in JavaScript»

Discussion, reviews of the book A Beginners Guide to Writing Minecraft Plugins in JavaScript and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.