oc2_hlapi_v2 0.2.0

A client for the new version of OpenComputers II's HLAPI
Documentation
//! Base HLAPI device wrappers
//!
//! Note about time handling:
//!
//! Several device wrappers return elapsed/remaining time values for various actions. This is
//! returned as a [`Duration`], but is encoded on the wire as raw game ticks, so every tick is
//! assumed to take the standard time of 50ms, or in other words, the server is assumed not to lag.
//! Base OC2 makes this assumption already in a few places, mainly the special RTC that reports the
//! time passed in game since the world started, so we make it as well.
//!
//! [`Duration`]: std::time::Duration

mod beacon;
mod beehive;
pub mod block_operations;
mod brewing_stand;
mod charger;
mod color;
pub mod comparator;
mod composter;
pub mod crafter;
pub mod crafting;
mod energy_storage;
pub mod file_import_export;
pub mod fluid_handler;
mod furnace;
mod generic_device;
mod inventory_operations;
pub mod item_handler;
mod item_stack;
mod jukebox;
mod lectern;
pub mod note_block;
pub mod redstone;
pub mod robot;
pub mod scanner;
mod serial;
mod side;
pub mod sign;
mod spawner;
mod tank_content_info;
mod tank_operations;
mod transposer;

pub use beacon::Beacon;
pub use beehive::Beehive;
pub use brewing_stand::BrewingStand;
pub use charger::Charger;
pub use color::Color;
pub use composter::Composter;
pub use energy_storage::EnergyStorage;
pub use furnace::Furnace;
pub use generic_device::GenericDevice;
pub use inventory_operations::InventoryOperations;
pub use item_stack::ItemStack;
pub use jukebox::Jukebox;
pub use lectern::Lectern;
pub use note_block::NoteBlock;
pub use serial::Serial;
pub use side::Side;
pub use spawner::Spawner;
pub use tank_content_info::TankContentInfo;
pub use tank_operations::TankOperations;
pub use transposer::Transposer;