2014-06-01ãã1ã¶æéã®è¨äºä¸è¦§
å ¥ãã¦ããMODãªã¹ã Minecraft1.7.2ç°å¢ãä½ãããã«MODã®æ å ±ãéããåã®ã¡ã¢å¸³ã§ãã å 容ã®æ£ããã«ã¤ãã¦ä¿è¨¼ã¯ãã¾ããã äºåãªãå 容ãæ¸ãæãããã¨ãããã¾ãã æéè¦ Minecraft å ¬å¼Launcherã§æ°ããProfileä½ã£ã¦ãMinecraft1.7.2ãã¤ã³ã¹ãâ¦
ã¯ããã« ååã¯ãlogging API version0.4ãå®æããã¾ããã FS API ã使ãããªãã(11): 移åå±¥æ´ã使ã£ã¦å ã®ä½ç½®ã«æ»ãæ©è½ãå®ç¾ ï¼logging API version 0.4ï¼ http://pastebin.com/xLwUS6Y5 主ãªæ©è½ã¨ãã¦ã¯ã以ä¸ã®ã¨ããã ãã°ããã¡ã¤ã«ã«åºåãâ¦
ã¯ããã« ä»åã¯CCããé¢ãã¦ãããã°ã©ãã³ã°è¨èªLuaã«ã¤ãã¦ã話ãã¾ãããã ãé¡ã¯ãã¡ãã以åã®è¨äºã§èª¬æãçãã¦ãã¾ã£ãã®ã§ããã®èª¬æåã¨ãªãã¾ãã function defaultPrint(x) local x = x or "world" print("Hello ",x) end x = x or "world"ã¨â¦
ååã®å¾©ç¿ ååã¾ã§ã§ãlogging APIã«ããã¿ã¼ãã«ç§»åå±¥æ´æ©è½ãå®æããã¾ããã FS API ã使ãããªãã(10): é¢æ°ã®å¼æ°ãæè»ã«åãæ±ã logging.forward()ãªã©ã使ã£ã¦ç§»åããããã°ãã¡ã¤ã«ã«ç§»åãããã¨ãæ¸ãè¾¼ãã§ããã¾ãã ä»åã¯ããã®ãã°ãâ¦
Vineé¢ç½ãã§ã 以ä¸ã®ãããªäººã«ã¯ãå§ãã®ãµã¼ãã¹ã§ããã 6ç§ç¨åº¦ã®çãåç»ãæ稿ãããï¼ç¸¦æ¨ªæ¯1:1ãã«ã¼ãæ åï¼ Twitterã®ã¢ã«ã¦ã³ããæã£ã¦ãã¦ããã¤ã¼ãã«çãåç»ãè²¼ããã ä»ã®åç»ãµã¼ãã¹ã¨ç°ãªãããã¤ã¼ãä¸ã§èªååçï¼ åèãã¼ã¸ãhttâ¦
ååã®ã話 ååï¼FS API ã使ãããªãã(9): ãè£è¶³ãé¢æ°ãå®ç¾©ããé¢æ°ãå®ç¾©ããï¼è§£èª¬ç·¨ï¼ ååç´¹ä»ããlogging API (ver. 0.2)ã使ããã¨ã§ãä»»æã®é¢æ°ã«ãã°è¨é²æ©è½ãç°¡åã«ã¤ããããããã«ãªãã¾ããã åé¡ç¹ ã§ã使ã£ã¦ã¿ã¦æ°ã¥ãã¾ããã§ããâ¦
ååã¾ã§ã®ã話 ååï¼FS API ã使ãããªããï¼8ï¼: ãè£è¶³ãé¢æ°ãå®ç¾©ããé¢æ°ãå®ç¾©ããï¼å¿ç¨ç·¨ï¼ é¢æ°ãå®ç¾©ããé¢æ°ãå®ç¾©ãã¾ãããï¼ ãã®é¢æ°ãcreateLoggedFunc()ã使ã£ã¦ããã°ã©ã ãç°¡ç¥åã§ãã¾ããã logging APIãã¨ããããã®å®æã§ãã logâ¦
ååã®ã話 é¢æ°åããã°ã©ãã³ã°ï¼åºæ¬ç·¨ï¼ï¼ FS API ã使ãããªããï¼7ï¼: ãè£è¶³ãé¢æ°ãå®ç¾©ããé¢æ°ãå®ç¾©ããï¼åºç¤ç·¨ï¼ ååã¯é¢æ°åããã°ã©ãã³ã°ã®åºæ¬ã¨ãããã¨ã§ãLuaã®é¢æ°ããã¡ã¼ã¹ãã¯ã©ã¹ãªãã¸ã§ã¯ãã§ãããã¨ã説æãã¾ããã ã»ã»ã»ãâ¦
移åå±¥æ´ãæ®ãããã°ã©ã ããªãéãéãã¾ããããååã®ç¶ããé²ãã¾ãããã ååï¼ FS API ã使ãããªãã(6): ã¿ã¼ãã«ã®ç§»åå±¥æ´ããã¡ã¤ã«ã«æ¸ãæ®ãããã°ã©ã ã¾ãæåã«ãååã¯éè¦ãªé¨åãããè¦ãããªãã£ãããã°ã©ã ã®å®å ¨çãæ²è¼ãã¾ãã â¦
移åå±¥æ´ããªãéè¦ããã²ã¼ã ä¸æã»åéåé¡ã ã¿ã¼ãã«ããã°ã©ãã³ã°ã«æ £ããããã誰ããæ©ãã®ãã²ã¼ã ä¸æã«ä¼´ã£ã¦ã¿ã¼ãã«ã®ããã°ã©ã ãä¸æãã¦ãã¾ãã¨ããåé¡ã§ãã ã¿ã¼ãã«ãä½ãã®ä½æ¥ãã¦ããéä¸ã§ã²ã¼ã ãä¸æããã¨ãLuaããã°ã©ã ãæ¢ã¾â¦
ã¯ããã« ããã¾ã§ã¯FS APIã®è§£èª¬ããã¦ãã¾ããããä»åããããå®è·µçãªå©ç¨æ¹æ³ãç´¹ä»ãã¾ãããã ã¾ãã¯ãpastebinãµã¤ãããã®APIãã¡ã¤ã«èªåãã¦ã³ãã¼ãæ©è½ã§ãã ã©ã®ãããªã±ã¼ã¹ãæ³å®ãã¦ããã®ã ããLuaããã°ã©ã ãããã¤ãã®ãã¡ã¤ã«ããâ¦