contEdit.setVisible(!isCreate);
btnCreate.setText(isCreate ? "gui.door_factory.create_door" : "gui.door_factory.edit_door");
selDoorMovement.setSelectedOption(DoorRegistry.getId(tileEntity.getDoorMovement()));
tfOpenTime.setText(Integer.toString(tileEntity.getOpeningTime()));
tfAutoCloseTime.setText(Integer.toString(tileEntity.getAutoCloseTime()));
<BUG>cbRedstone.setChecked(tileEntity.requireRedstone());
cbDoubleDoor.setChecked(tileEntity.isDoubleDoor());</BUG>
selDoorSound.setSelectedOption(DoorRegistry.getId(tileEntity.getDoorSound()));
}
@Subscribe

contEdit.setVisible(!isCreate);
btnCreate.setText(isCreate ? "gui.door_factory.create_door" : "gui.door_factory.edit_door");
selDoorMovement.setSelectedOption(DoorRegistry.getId(tileEntity.getDoorMovement()));
tfOpenTime.setText(Integer.toString(tileEntity.getOpeningTime()));
tfAutoCloseTime.setText(Integer.toString(tileEntity.getAutoCloseTime()));
selRedstone.select(tileEntity.getRedstoneBehavior());
cbDoubleDoor.setChecked(tileEntity.isDoubleDoor());
selDoorSound.setSelectedOption(DoorRegistry.getId(tileEntity.getDoorSound()));
}
@Subscribe
