提供: Minecraft Modding Wiki
移動先: 案内検索
5行目: 5行目:
  
 
[http://www.minecraftforge.net/wiki/Forge_Events 翻訳元]
 
[http://www.minecraftforge.net/wiki/Forge_Events 翻訳元]
== Forge Event ==
+
 
 +
 
 +
== Forge Events ==
 +
 
 +
 
 +
With the new Forge Event Bus system, everything is done using events. For an introduction on how to use the event system, read AtomicStryker's guide on How To Use Forge Events
 +
The @ForgeSubscribe annotation subscribes a method to the event system, and the parameters of the method determines which events it receives.
 +
A super class parameter will make the method also receive all subclass events. This is a list of events currently available.
 +
Notice that all sub classes will of course have access to the properties of their super class, thus this page will not list those as fields for the sub class.
 +
----
 +
新しいForge Event Bus systemなら、あらゆるイベントを扱うことが出来る。このイベントシステムの導入は、AtomicStryker's guide on How To Use Forge Events

2012年10月20日 (土) 20:22時点における版

このページは投稿・編集の練習用です。
自由に変更して頂いて構いませんが、不定期に内容は削除されますのでメモ代わりには使用しないで下さい。


翻訳元


Forge Events

With the new Forge Event Bus system, everything is done using events. For an introduction on how to use the event system, read AtomicStryker's guide on How To Use Forge Events The @ForgeSubscribe annotation subscribes a method to the event system, and the parameters of the method determines which events it receives. A super class parameter will make the method also receive all subclass events. This is a list of events currently available. Notice that all sub classes will of course have access to the properties of their super class, thus this page will not list those as fields for the sub class.


新しいForge Event Bus systemなら、あらゆるイベントを扱うことが出来る。このイベントシステムの導入は、AtomicStryker's guide on How To Use Forge Events