Contents
Class ContextMap
java.lang.Object
com.hypixel.hytale.builtin.adventure.worldevents.context.ContextMap
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclear(CommandBuffer<EntityStore> buffer, WorldEvent event) <T extends Context>
Tconsume(ContextKey key, Class<T> type) <T extends Context, U, V>
voidforEach(Class<T> type, U obj1, V obj2, TriConsumer<T, U, V> consumer) voidfromEntries(ContextEntry[] entries) <T extends Context>
Tget(ContextKey key, Class<T> type) booleanhas(ContextKey key, Class<? extends Context> type) <T extends Context>
voidput(ContextKey key, T value) voidputAll(ContextMap other) <T extends Context>
voidremove(ContextKey key, Class<T> type)
-
Constructor Details
-
ContextMap
public ContextMap()
-
-
Method Details
-
clear
public void clear() -
putAll
-
put
-
has
-
get
-
consume
-
remove
-
clear
-
forEach
public <T extends Context, U, V> void forEach(@Nonnull Class<T> type, @Nullable U obj1, @Nullable V obj2, @Nonnull TriConsumer<T, U, V> consumer) -
toEntries
-
fromEntries
-