This repository was archived by the owner on Mar 2, 2018. It is now read-only.
Open
Conversation
支持換行符號 忽略空的nbt tag或是javascript返回值
修正註解....
增加了可以直接取得物品名稱的方法findNameByID 稱加了可以將NBT物件轉換成的字串轉換回物件的方法convertNbtSrtingToObj 治療殭屍村民時會出現治療進度條 動物發情時會出現倒數進度條 有主人的實體會顯示主人名或是野生的 馬會顯示主人名或是野生的 熔爐顯示目前處理物品的進度條還有燃料值用盡倒數秒數 釀造台顯示目前的進度條 針對所有怪物顯示目前身上的裝備(會標註有無附魔)還有手持的物品名稱 顯示畫名 ps.javascript在scriptEngine裡面幾乎可以做到java的功能,甚至可以直接和遊戲裡的static方法互動...基於此可以寫出了可以直接獲取目標實體的NBTTagCompound的javascript function還有取得物品id名稱的function
|
Zh_CN有没有 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本來想針對其他玩家寫配置文件,才發現Mod根本不會處理玩家實體,希望可以支持玩家實體。