类 AddPackFindersEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.AddPackFindersEvent
- 所有已实现的接口:
IModBusEvent
public class AddPackFindersEvent
extends net.minecraftforge.eventbus.api.Event
implements IModBusEvent
Fired on
PackRepository
creation to allow mods to add new pack finders.-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addRepositorySource
(RepositorySource source) Adds a new source to the list of pack finders.从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
packType
-
sources
-
-
构造器详细资料
-
AddPackFindersEvent
-
-
方法详细资料
-
addRepositorySource
Adds a new source to the list of pack finders.- 参数:
source
- the pack finder
-
getPackType
- 返回:
- the
PackType
of the pack repository being constructed.
-