Package | Description |
---|---|
net.tridentsdk.util |
Utilities used primarily within the API and available to plugins and the implementation
|
Modifier and Type | Method and Description |
---|---|
static <T extends Entity> |
WeakEntity.empty()
Obtains a WeakEntity which holds a
null referenced entity |
static <T extends Entity> |
WeakEntity.of(T referencedEntity)
Obtains a WeakEntity which holds the specified entity
|
static <T extends Entity> |
WeakEntity.orEmpty(T referencedEntity)
Obtains a WeakEntity which is either a
empty() reference or a reference
of(net.tridentsdk.entity.Entity) , depending on if the specified entity is null or
non-null , respectively |
Copyright © 2016. All rights reserved.