Class StaticComponentMap
java.lang.Object
com.github.retrooper.packetevents.protocol.component.StaticComponentMap
- All Implemented Interfaces:
IComponentMap
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StaticComponentMap.Builderbuilder()<T> Tget(ComponentType<T> type) Map<ComponentType<?>,?> booleanhas(ComponentType<?> type) booleanisEmpty()merge(StaticComponentMap prioritizedMap) <T> voidset(ComponentType<T> type, Optional<T> value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.component.IComponentMap
getOptional, getOr, set, set, unset
-
Field Details
-
EMPTY
-
SHARED_ITEM_COMPONENTS
-
-
Constructor Details
-
StaticComponentMap
-
-
Method Details
-
builder
-
has
- Specified by:
hasin interfaceIComponentMap
-
get
- Specified by:
getin interfaceIComponentMap
-
set
- Specified by:
setin interfaceIComponentMap
-
merge
-
getDelegate
-
isEmpty
public boolean isEmpty()
-