Learn to Program with Minecraft Plugins: Create Flaming Cows in Java Using CanaryMod, 2/e (Paperback)
暫譯: 使用 Minecraft 插件學習程式設計:使用 CanaryMod 在 Java 中創建火焰牛,第二版 (平裝本)

Andy Hunt

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2014-11-08
  • 售價: $1,310
  • 貴賓價: 9.5$1,245
  • 語言: 英文
  • 頁數: 284
  • 裝訂: Paperback
  • ISBN: 1941222943
  • ISBN-13: 9781941222942
  • 相關分類: Java 程式語言
  • 已絕版

買這商品的人也買了...

商品描述

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.

Write your own Minecraft plugins with CanaryMod and watch your code come to life with flaming cows, flying creepers, teleportation, and interactivity. Follow along with the book and 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.

商品描述(中文翻譯)

本書的第一版使用了 Bukkit 模組伺服器和庫,該伺服器因法律糾紛於 2014 年 9 月被下架。這一新版已完全修訂,將 Bukkit 替換為 CanaryMod 庫。



使用 CanaryMod 編寫自己的 Minecraft 插件,並觀察您的代碼如何變得生動,出現火焰牛、飛行的爬行者、傳送和互動。跟隨本書的步驟,通過開發可以「插入」伺服器的 Java 代碼,為 Minecraft 遊戲添加自己的功能。您將在 3D 圖形遊戲環境中操控和控制元素,而無需編寫大量代碼或學習龐大的框架。不需要任何先前的編程經驗。



擴展您的 Minecraft 體驗!您將學會如何使用流行的 Java 編程語言編寫 Java 代碼並為自己的 Minecraft 伺服器構建插件。這一新版已完全修訂,使用免費提供的 CanaryMod 庫。



您將創建可以將方塊從空氣變為石頭,或生成牛和爬行者的插件。您將編寫對遊戲事件做出反應的插件,甚至安排在遊戲中稍後運行的任務。年齡從 9 到 99 的讀者將學會如何使用變量和函數來構建將玩家彈射到空中的插件,創建飛行的爬行者,當然,還有發射火焰牛。



在此過程中,您將學習使用 Java 進行真正的編程,從類、對象和數據結構(包括數組和哈希)到異常處理和線程。您甚至將學會如何使用 Git 備份您的代碼(並回到過去!),以及在家中或雲端運行自己的伺服器。進度條顯示您在每一章中取得的進展,到書的結尾,您將能夠設計和編寫自己的插件。



好好利用您的遊戲時間,今天就學習真正的編程技能。



您需要的:



一台運行 Windows、Mac OS X 或 Linux 操作系統的現代 PC。本書解釋了如何下載 Java、CanaryMod 伺服器和 API,以及您所需的所有工具。