Base of ui complete
This commit is contained in:
parent
2d10d38e4c
commit
b9d7063099
|
@ -1,5 +1,5 @@
|
|||
extern crate serde_json;
|
||||
|
||||
use serde_json;
|
||||
use std::fmt;
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
extern crate byteorder;
|
||||
|
||||
use nbt;
|
||||
use protocol::{Serializable};
|
||||
use std::io;
|
||||
use std::io::{Read, Write};
|
||||
use self::byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
|
||||
use byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Stack {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
extern crate byteorder;
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::io;
|
||||
|
@ -6,7 +5,7 @@ use std::io::{Read, Write};
|
|||
|
||||
use super::protocol::{Serializable};
|
||||
use super::protocol;
|
||||
use self::byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
|
||||
use byteorder::{BigEndian, WriteBytesExt, ReadBytesExt};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Tag {
|
||||
|
|
|
@ -15,6 +15,7 @@ pub struct MetadataKey<T: MetaValue> {
|
|||
}
|
||||
|
||||
impl <T: MetaValue> MetadataKey<T> {
|
||||
#[allow(dead_code)]
|
||||
// TODO: Make const later when possible
|
||||
/*const*/ fn new(index: i32) -> MetadataKey<T> {
|
||||
MetadataKey {
|
||||
|
|
Loading…
Reference in New Issue