內容簡介
查看其他注釋標籤以獲得更詳細的說明。
注意:在屏幕截圖標籤上載問題,希望它們不久就能上線。
此外掛程式新增了創建 Minecraft 物品/方塊/配方/怪物等庫的功能。
可選擇自動插入物品資訊,或使用簡碼。
[mcitem-recipe] – 插入一個製作桌,將顯示當前物品製作所需的物品。
[mcitem-stats] – 插入一個表格,列出物品的統計數據,例如防護點、生命值、耐久度等等。
[mcitem-sources] – 插入一個表格,顯示當前物品/怪物來源的迷你物品圖像。
在自訂文章類型編輯頁面上,有三個方塊:
1) Minecraft 統計資料 – 可用以下欄位:
方塊/物品 ID:Minecraft 物品或方塊 ID。
堆疊計數:如果可堆疊,每堆有多少?
生命值:怪物或小動物擁有多少生命值?
治癒:使用時恢復多少生命值?
傷害:使用時造成多少傷害?
防護點:物品提供多少防護點?(最高10)
攻擊力:攻擊力有多強?
耐久度:物品有多少耐久度?
飢餓恢復:恢復多少飢餓值?(通常最多為6)
2) 來源選項 – 提供已指定為來源的物品/怪物的下拉方塊。
3) 可製作選項
物品下拉選擇,指定為製作站(例如製作桌、爐子)。
一次製作的物品數量。
最多可使用9個插槽,包括指定為材料的下拉菜單。
配方表格格式,有三種可供選擇:製作桌、爐子和釀造。
啟用插件時,會自動創建28個MC Item(自訂分類)類別。這些用於像文章類別一樣的排序,可以在 WordPress 內置的菜單系統中添加到菜單中。
插件需求至少4個分類才能正常運作。
可製作
材料
製作站
來源
其他類別可以按需添加/創建/刪除。
注意:在啟用插件時,僅有5個父分類會顯示在 Minecraft Item > MC Categories 中,其他23個會在該位置上不顯示。要修復該問題,只需添加另一個 MC Category,然後返回 MC Categories(因為通過 ajax 添加新分類),子分類就會顯示。然後就可以刪除所創建的新分類。不確定這是 WordPress 的錯誤還是我的錯誤。
使用說明
注意:若要在查看物品時顯示製作桌、物品統計數據和來源表格,請選擇啟用自動插入選項,或在物品頁面上輸入簡碼。
如果您只是想建立一個項目庫,而不使用可製作選項或顯示項目的來源,那麼您只需創建一個新的 MC Item,輸入標題、描述和節錄(如果您的佈景主題支持節錄),並分類它。您亦可僅使用統計區塊。
但如果您想使用完整功能,顯示如何創建物品、原始材料的來源等,您需要從來源開始,然後逐步構建到最終物品。我強烈建議您首先添加的三個物品是製作站 - 製作桌子、爐子和釀造台。
外掛標籤
開發者團隊
原文外掛簡介
View the Other Notes tab for more detailed instructions.
Note Having issues getting screenshots to load on the screenshots tab, hopefully they’ll be up soon.
This plugin adds the ability to create a library of Minecraft items/blocks/recipes/monsters etc.
Option to auto insert item information, or shortcodes are available.
[mcitem-recipe] – Inserts a crafting table that will display what items are needed to craft the current item.
[mcitem-stats] – Inserts a table listing the stats of the item such as Points of Protection, Health, Durability, etc…
[mcitem-sources] – Inserts a table with mini-item images of the item/monster that the current item comes from.
On the custom post type edit page, there are 3 boxes:
1) Minecraft Stats – The following fields are available:
Block/Item ID: Minecraft Item or Block ID
Stack Count: If stackable, how many per stack?
Health: How much health does the monster or critter have?
Heals For: How much health is returned when used?
Damages For: How much damage is done when used?
Points of Protection: How many points of protection does the item give? (Max 10)
Attack Strength: How much is the attack strength?
Durability: How much durability does the item have?
Hunger Restoration: How much hunger is restored? (Usually a max of 6)
2) Source Options – Provides drop down boxes of items/monsters that have been assigned as a Source.
3) Craftable Options
Drop down selection of items assigned as a Crafting Station (ie. Crafting Table, Furnace)
# of items that are crafted at a time.
Up to 9 slots used with drop downs of items assigned as a Material.
Format of recipe table of which 3 are available, Crafting Table, Furnace and Brewing.
28 MC Item (a custom taxonomy) Categories are automatically created when the plugin is activated. These are used for sorting just like post categories and can be added to menus in WordPress’s built in menu system.
Only 4 of these are required for the plugin to work.
Craftable
Material
Crafting Station
Source
The others you can create/add/delete as you see fit.
Note When the plugin is first activated, the 5 parent categories will show up in Minecraft Item > MC Categories. The other 23 will be there, but for some reason they will not show up there. To fix this, simply add another MC Category then go back to the MC Categories (since new ones are added via ajax) and the children will show up. Then you can just delete the new one you created. Not sure if this is a bug in WordPress or if it’s something I am doing wrong.
Instructions
Note To get the crafting table, item stats, and sources table to display when viewing the item, you need to either turn on the Auto Insert options, or enter the shortcodes on the item page.
If you just wanted to have a library of items without using the craftable options, or displaying the source of items, then all you need to do is create a new MC Item, enter the title, description, excerpt if your theme supports excerpts, and categorize it. You could also just use the stats block.
However, if you want to use the full functionality, displaying the recipes for how to create items, the source of raw materials, etc… you need to start with the sources and then build up to the final item. I highly suggest the first 3 items you add are the Crafting Stations… Crafting Table, Furnace, and the Brewing stand. You don’t need to add their recipe to make them yet, but they are required for crafting all of the craftable items. Just enter the title, description, add a featured image, and assign them to the Crafting Station category. You can come back later to add their recipe for how to build them.
On to the cake!
Cake requires Milk which comes from a Cow, Sugar which comes from Sugar Cane, an Egg from a Chicken, and Wheat which can be grown.
Note Once you’ve added an item you can reuse it in other recipes, so once you get more and more of the raw materials entered, this process becomes easier since you’re not entering every single item anew.
So for creating a cake, we would first enter the Cow. Add a new MC Item, Cow as title, description as you see fit, add the Cow to the Source category and to the Critters category. We add it to the Source category to mark it is as useable in other items as a source… such as Milk and Leather. You can then scroll down and also enter the Health of the cow, which is 10. For the icons to display, add a featured image. The icon sizes used are 50 x 50 px, you can add any size image and a 50 x 50 px image will automatically be generated via WordPress’s built in cropping/thumbnail system.
Now we are done with the cow, go ahead and publish.
Next we will add Milk, follow the same steps as above except for the following… For categories we want to add it to Material. We add it to Material so that it can be used as a material in the crafting options and will display in the drop downs for the slots. Then if you keep the categories that are default, enter it into the Food child category under the Item Library parent category.
(Optional) Scroll down and enter the minecraft item ID if you’d like. You can obtain the item ID from minecraftwiki.net or mincraftopia.com
Now in the Source option block, choose Cow from the drop down menu. You can add more sources by clicking the link below the drop down.
We are done with the milk, so you can Publish.
Do the same for the rest of the ingredients, adding thier sources and information. Some items have stats which you can enter into the Minecraft Stats.
Now for the cake! The entry is the same as above with a couple differences. For the cake we use the Crafting Options. Add the Cake to the Craftable category, then scroll down to the Craftable Options block.
Here you will see a drop down of the crafting stations, an input box to mark how many of an item are crafted, and up to 9 slots to enter items. Since in Minecraft you need to put certain items in certain slots in order for the outcome to be what you expect. If you added all of the materials used for crafting a cake, you can select them in each slot. The format options to the right are for the different crafting formats available. By choosing which format, the recipe on the item page will display using that format. For a cake, it uses a crafting table, so you would use format 1.
After all of the options are set, you can publish your cake and view it to see how it looks.
You can view screenshots of what was just gone over on the Screenshots tab.
