- Ponder for KubeJS
- +前提Mod
- 動作確認したバージョンは
ponderjs-1.18.2-1.1.8.jar
- Minecraftの言語設定を日本語にする
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
$WindowTitle = "PrincessConnectReDive" | |
Add-Type -Namespace "WinApi" -Name "NativeMethods" -MemberDefinition @" | |
[DllImport("user32.dll", SetLastError = true)] | |
public static extern int GetWindowLong(IntPtr hWnd, int nIndex); | |
[DllImport("user32.dll")] | |
public static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong); | |
[DllImport("user32.dll")] |
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
class Connector: | |
def __init__(self, account): | |
self.account = account | |
def __enter__(self): | |
import mysql.connector | |
self.connect = mysql.connector.connect( | |
db = self.account["db"], | |
host = self.account["host"], |