Modifier and Type | Field and Description |
---|---|
private Identifier |
id |
Constructor and Description |
---|
OptionalObjectEntry(Identifier id) |
Modifier and Type | Method and Description |
---|---|
void |
addToJson(JsonArray json) |
<T> boolean |
resolve(Function<Identifier,Tag<T>> tagGetter,
Function<Identifier,T> objectGetter,
Consumer<T> collector) |
String |
toString() |
private final Identifier id
public OptionalObjectEntry(Identifier id)
public <T> boolean resolve(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter, Consumer<T> collector)