Learn to Program with Minecraft Plugins, 2nd Edition

0
(0)

Learn to Program with Minecraft Plugins, 2nd Edition
 

  • Author:Andy Hunt
  • Length: 285 pages
  • Edition: 2
  • Publisher: Pragmatic Bookshelf
  • Publication Date: 2014-11-08
  • ISBN-10: 1941222943
  • ISBN-13: 9781941222942
  • Sales Rank: #984080 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Learn to Program with Minecraft Plugins: Create Flaming Cows in Java Using CanaryMod

    The first edition of this book used the Bukkit modding server and library, which was taken down due to a legal dispute in September 2014. This new edition has been completely revised to replace Bukkit with the CanaryMod library.

    The bestselling, kid-tested book for Minecraft is now updated for CanaryMod! Write your own Minecraft plugins and watch your code come to life with flaming cows, flying creepers, teleportation, and interactivity. Add your own features to the Minecraft game by developing Java code that “plugs in” to the server. You’ll manipulate and control elements in the 3D graphical game environment without having to write tons of code or learn huge frameworks. No previous programming experience necessary.

    Expand your Minecraft experience! You’ll learn how to write Java code and build plugins for your own Minecraft servers using the popular Java programming language. This new edition has been completely revised to use the freely-available CanaryMod library.

    You’ll create plugins that can change blocks from air to stone, or spawn cows and creepers. You’ll write plugins that react to game events, and even schedule tasks that will run later in the game. Readers from age 9 to 99 will learn how to use variables and functions to build plugins that fling players into the sky, create flying creepers, and of course, shoot flaming cows.

    Along the way you’ll learn real programming using Java, from classes, objects, and data structures (including arrays and hashes) to exception handling and threads. You’ll even learn how to back up your code (and go back in time!) using Git, and run your own server at home or in the cloud. A progress bar shows you how far you’ve come in each chapter, and by the end of the book you’ll be able to design and code your own plugins.

    Put your gaming to good use, and learn real programming skills today.

    What You Need:

    A modern PC running the Windows, Mac OS X, or Linux operating systems. The book explains how to download Java, the CanaryMod server and API, and all the tools you’ll need.

    Table of Contents

    Chapter 1. Command Your Computer
    Chapter 2. Add an Editor and Java
    Chapter 3. Build and Install a Plugin
    Chapter 4. Plugins Have Variables, Functions, and Keywords
    Chapter 5. Plugins Have Objects
    Chapter 6. Add a Chat Command, Locations, and Targets
    Chapter 7. Use Piles of Variables: Arrays
    Chapter 8. Use Piles of Variables: HashMap
    Chapter 9. Modify, Spawn, and Listen in Minecraft
    Chapter 10. Schedule Tasks for Later
    Chapter 11. Use Configuration Files and Store Game Data
    Chapter 12. Keep Your Code Safe
    Chapter 13. Design Your Own Plugin

    中文:

    书名:学习使用我的世界插件编程,第二版

    学习使用Main Wift插件编程:使用CanaryMod在Java中创建燃烧的奶牛

    这本书的第一版使用了Bukkit修改服务器和图书馆,该服务器和图书馆在2014年9月因一场法律纠纷而被拆除。这个新版本已经完全修订,用CanaryMod库取代了Bukkit。

    最畅销的,儿童测试的我的世界的书现在更新为金丝雀模式!编写你自己的《我的世界》插件,看着你的代码变得栩栩如生,有燃烧的奶牛,飞行的爬行者,心灵传输和互动。通过开发可插入服务器的Java代码,在《我的世界》游戏中添加您自己的功能。您将在3D图形游戏环境中操纵和控制元素,而不必编写大量代码或学习大型框架。不需要以前的编程经验。

    扩展您的《我的世界》体验!您将学习如何编写Java代码,并使用流行的Java编程语言为您自己的“我的世界”服务器构建插件。这个新版本已经完全修改为使用免费提供的CanaryMod库。

    您将创建可以将块从空气变成石头,或者繁殖奶牛和爬行动物的插件。您将编写对游戏事件做出反应的插件,甚至安排稍后在游戏中运行的任务。从9岁到99岁的读者将学习如何使用变量和函数来构建插件,这些插件可以将玩家抛向天空,创建飞行爬行动物,当然还有射击燃烧的奶牛。

    在此过程中,您将学习使用Java进行真正的编程,从类、对象和数据结构(包括数组和散列)到异常处理和线程。您甚至将学习如何备份您的代码(并回到过去!)使用Git,并在家中或云中运行您自己的服务器。进度条显示您在每一章中读到了多远,在本书结束时,您将能够设计和编写您自己的插件。

    好好利用你的游戏,学习 真实 programming skills today.

    What You Need:

    运行Windows、Mac OS X或Linux操作系统的现代PC。这本书解释了如何下载Java、CanaryMod服务器和API,以及您需要的所有工具。

    Table of Contents

    Chapter 1. Command Your Computer
    Chapter 2. Add an Editor and Java
    第3章.构建和安装插件
    第4章.插件具有变量、函数和关键字
    Chapter 5. Plugins Have Objects
    Chapter 6. Add a Chat Command, Locations, and Targets
    第7章.使用成堆的变量:数组
    第8章.使用成堆的变量:HashMap
    第9章.在《我的世界》中修改、生成和监听
    Chapter 10. Schedule Tasks for Later
    第11章:使用配置文件和存储游戏数据
    Chapter 12. Keep Your Code Safe
    Chapter 13. Design Your Own Plugin

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册