Package org.spongepowered.api.event
Interface EventContextKey.Builder<T>
-
- All Superinterfaces:
AbstractBuilder<EventContextKey<T>>
,Buildable.Builder<EventContextKey<T>>
,Builder<EventContextKey<T>,EventContextKey.Builder<T>>
,ResettableBuilder<EventContextKey<T>,EventContextKey.Builder<T>>
,ResourceKeyedBuilder<EventContextKey<T>,EventContextKey.Builder<T>>
- Enclosing interface:
- EventContextKey<T>
public static interface EventContextKey.Builder<T> extends ResourceKeyedBuilder<EventContextKey<T>,EventContextKey.Builder<T>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <N> EventContextKey.Builder<N>
type(io.leangen.geantyref.TypeToken<N> allowedType)
<N> EventContextKey.Builder<N>
type(java.lang.Class<N> allowedType)
-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
-
-
-
Method Detail
-
type
<N> EventContextKey.Builder<N> type(java.lang.Class<N> allowedType)
-
type
<N> EventContextKey.Builder<N> type(io.leangen.geantyref.TypeToken<N> allowedType)
-
-