23    use GetTypeIdFromConstTrait;
 
   24    use IntegerishMetadataProperty;
 
   26    public const ID = EntityMetadataTypes::INT;
 
   28    protected function min() : 
int{
 
   32    protected function max() : 
int{
 
   36    public static function read(ByteBufferReader $in) : 
self{
 
   37        return new self(VarInt::readSignedInt($in));
 
   40    public function write(ByteBufferWriter $out) : 
void{
 
   41        VarInt::writeSignedInt($out, $this->value);