}
// Add +1 to change direction
if (cause instanceof EntityCause) {
// set data using direction
Vector3f direction = block.getPosition().sub((((EntityCause) cause).getSource()).getPhysics().getPosition());
direction = direction.abs();
if (direction.getX() > direction.getZ()) {
data++;
}
} else {
data += (int) Math.round(Math.random());