stateData = $stateData; } protected function describeType(RuntimeDataReader|RuntimeDataWriter $w) : void{ //use type instead of state, so we don't lose any information like colour //this might be an improperly registered plugin block $w->int(Block::INTERNAL_STATE_DATA_BITS, $this->stateData); } public function canBePlaced() : bool{ return false; } public function getDrops(Item $item) : array{ return []; } }