public class GlobalTagAccessor<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
GlobalTagAccessor.CachedTag<T> |
| Modifier and Type | Field and Description |
|---|---|
private TagContainer<T> |
currentContainer |
private TagContainer<T> |
emptyContainer |
private List<GlobalTagAccessor.CachedTag<T>> |
tags |
| Constructor and Description |
|---|
GlobalTagAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Tag.Identified<T> |
get(String id) |
TagContainer<T> |
getContainer() |
void |
markReady() |
void |
setContainer(TagContainer<T> container) |
private final TagContainer<T> emptyContainer
private TagContainer<T> currentContainer
private final List<GlobalTagAccessor.CachedTag<T>> tags
public Tag.Identified<T> get(String id)
@Environment(value=CLIENT) public void markReady()
public void setContainer(TagContainer<T> container)
public TagContainer<T> getContainer()