| Modifier and Type | Class and Description |
|---|---|
static interface |
BlockEntityProvider.BlockEntityHandler |
| Constructor and Description |
|---|
BlockEntityProvider() |
| Modifier and Type | Method and Description |
|---|---|
int |
transform(UserConnection user,
Position position,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
boolean sendUpdate)
Transforms the BlockEntities to blocks!
|
public int transform(UserConnection user, Position position, com.github.steveice10.opennbt.tag.builtin.CompoundTag tag, boolean sendUpdate) throws Exception
user - UserConnection instanceposition - Block Position - WARNING: Position is null when called from a chunktag - BlockEntity NBTsendUpdate - send a block change updateException - Gotta throw that exceptionCopyright © 2016–2021. All rights reserved.