Skip to content

Commit

Permalink
this bug has been fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlyhj committed Dec 15, 2021
1 parent 0371c97 commit cc86de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contenttweaker/material-system/base-usage/material.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var mBuilder as MaterialBuilder = MaterialSystem.getMaterialBuilder();
| :--- | :--- | :--- |
| setName\(id\) | id 为 字符串 | 设定材料的ID(貌似能用中文,但极不推荐,因为这个ID会影响所注册的材料部件的矿辞名,待会出个`gear铜`矿辞就过草) |
| setColor\(color\) | color为int或CTColor对象 | 设定材料的颜色\(int代表RGB颜色\) |
| setHasEffect\(hasEffect\) | hasEffect为布尔值 | 设定其将来所创建的材料部件是否有附魔光芒(这个方法有bug,只要你调用了这个方法,不管你的参数是什么,所创建的材料部件都会有光芒) |
| setHasEffect\(hasEffect\) | hasEffect为布尔值 | 设定其将来所创建的材料部件是否有附魔光芒 |

## 构建

Expand Down

0 comments on commit cc86de7

Please sign in to comment.