public abstract class FieldHolder extends Object
FieldValues| Modifier | Constructor and Description |
|---|---|
protected |
FieldHolder(FieldValue<?>... fields) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFields(FieldValue<?>... fields) |
void |
load(CompoundTag tag) |
void |
load(File file,
boolean compressed) |
void |
load(InputStream stream,
boolean compressed) |
CompoundMap |
save() |
void |
save(File file,
boolean compressed) |
void |
save(OutputStream stream,
boolean compressed) |
protected FieldHolder(FieldValue<?>... fields)
protected void addFields(FieldValue<?>... fields)
public CompoundMap save()
public void load(CompoundTag tag)
public void save(File file, boolean compressed) throws IOException
IOExceptionpublic void save(OutputStream stream, boolean compressed) throws IOException
IOExceptionpublic void load(File file, boolean compressed) throws IOException
IOExceptionpublic void load(InputStream stream, boolean compressed) throws IOException
IOExceptionCopyright © 2011–2014 Flow Powered. All rights reserved.