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
| View | |
| TextView | |
| ImageView | |
| Layout | |
| LayoutParams | |
| MarginLayoutParams | |
| Window | |
| Frame |
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
| // standard | |
| const timer = new java.util.Timer(); | |
| timer.schedule(new JavaAdapter(java.util.TimerTask, { | |
| run: function () { | |
| alert('timer test'); | |
| } | |
| }), 100, 5000); | |
| // ExtraScript |
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
| isTech -> falseでクリエイティブに追加する | |
| // アイテムID登録 | |
| IDRegistry.genItemID("testItem") | |
| // 普通のアイテム追加 | |
| Item.createItem("item_id", "item_name", {name: "texture_name", meta: 0}, {isTech: false, stack: 64}) | |
| // 食べられるアイテム追加 | |
| Item.createFoodItem("item_id", "item_name", {name: "texture_name", meta: 0}, {isTech: false, stack: 64, food: 1}) |
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
| dependencies { | |
| implementation 'com.sorrowblue.library:supportruntimepermission:1.0.0' | |
| } | |
| repositories { | |
| maven { url 'https://raw.githubusercontent.com/SorrowBlue/Android-Library/master/' } | |
| } |
NewerOlder